gpu: nvgpu: hal: remove .fb.mem_unlock for ga10b

.fb.mem_unlock is specific to dGPU.

Jira GVSCI-9976

Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Change-Id: Id1a52becaa5c2b0a00899c3bc92aa18058a1f97d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2708394
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Richard Zhao
2022-05-05 15:52:02 -07:00
committed by mobile promotions
parent db4a1713cb
commit 7a39d8e9ce

View File

@@ -936,9 +936,6 @@ static const struct gops_fb ga10b_ops_fb = {
#ifdef CONFIG_NVGPU_REPLAYABLE_FAULT
.handle_replayable_fault = gv11b_fb_handle_replayable_mmu_fault,
.mmu_invalidate_replay = gv11b_fb_mmu_invalidate_replay,
#endif
#ifdef CONFIG_NVGPU_DGPU
.mem_unlock = NULL,
#endif
.write_mmu_fault_buffer_lo_hi = gv11b_fb_write_mmu_fault_buffer_lo_hi,
.write_mmu_fault_buffer_get = fb_gv11b_write_mmu_fault_buffer_get,
@@ -1996,11 +1993,6 @@ int ga10b_init_hal(struct gk20a *g)
#ifdef CONFIG_NVGPU_SIM
/* SIM specific overrides for ga10b */
nvgpu_init_sim_support_ga10b(g);
if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)){
/* Disable fb mem_unlock */
gops->fb.mem_unlock = NULL;
}
#endif
#ifdef CONFIG_NVGPU_HAL_NON_FUSA