diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/pmu/pmu_ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c index d1058864..a00c2a5e 100644 --- a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c +++ b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c | |||
@@ -1148,7 +1148,7 @@ int nvgpu_pmu_rpc_execute(struct nvgpu_pmu *pmu, struct nv_pmu_rpc_header *rpc, | |||
1148 | */ | 1148 | */ |
1149 | if (is_copy_back) { | 1149 | if (is_copy_back) { |
1150 | /* clear buff */ | 1150 | /* clear buff */ |
1151 | memset(rpc_buff, 0, size_rpc); | 1151 | memset(rpc_buff, 0xFF, size_rpc); |
1152 | /* wait till RPC execute in PMU & ACK */ | 1152 | /* wait till RPC execute in PMU & ACK */ |
1153 | pmu_wait_message_cond(pmu, gk20a_get_gr_idle_timeout(g), | 1153 | pmu_wait_message_cond(pmu, gk20a_get_gr_idle_timeout(g), |
1154 | &((struct nv_pmu_rpc_header *)rpc_buff)->function, | 1154 | &((struct nv_pmu_rpc_header *)rpc_buff)->function, |