diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-10-18 14:36:00 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-20 13:05:35 -0400 |
commit | e492eb5bdd8b4e6484291954f57d1b8303e22eb1 (patch) | |
tree | c7a6e19278bf82bccc65f7fd1650eca77615e362 /drivers/gpu | |
parent | d7fe2fbacb06e95f921f27f99f457904a0c3a57a (diff) |
gpu: nvgpu: Remove HAL for restore_context_header
Remove unused HAL for restore_context_header.
This function pointer is not getting used since
no need for restoring context header during golden
context creation.
Change-Id: I0fb018226c7560fdb69f77a4f53387d39cc79e97
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1581431
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ba932df2..1efa920c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -396,7 +396,6 @@ struct gpu_ops { | |||
396 | int (*commit_global_timeslice)(struct gk20a *g, | 396 | int (*commit_global_timeslice)(struct gk20a *g, |
397 | struct channel_gk20a *c, bool patch); | 397 | struct channel_gk20a *c, bool patch); |
398 | int (*commit_inst)(struct channel_gk20a *c, u64 gpu_va); | 398 | int (*commit_inst)(struct channel_gk20a *c, u64 gpu_va); |
399 | void (*restore_context_header)(struct gk20a *g, struct nvgpu_mem *ctxheader); | ||
400 | void (*write_zcull_ptr)(struct gk20a *g, | 399 | void (*write_zcull_ptr)(struct gk20a *g, |
401 | struct nvgpu_mem *mem, u64 gpu_va); | 400 | struct nvgpu_mem *mem, u64 gpu_va); |
402 | void (*write_pm_ptr)(struct gk20a *g, | 401 | void (*write_pm_ptr)(struct gk20a *g, |