From ec54b8b2add6b7130c2a0c6760b6de859c7be099 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Thu, 2 Apr 2020 20:16:52 -0700 Subject: [PATCH] gpu: nvgpu: sim: set remove_support hal to NULL Found issues with removing sim support for igpu. Set sim->remove_support to NULL until JIRA NVGPU-5281 is fixed. JIRA NVGPU-5257 Change-Id: I2c8af7a0d05f963233378bdb3aa2afcfc4f32b6e Signed-off-by: Seshendra Gadagottu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2322987 Reviewed-by: automaticguardword Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-misra Reviewed-by: svc-mobile-cert Reviewed-by: Alex Waterman Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/sim/sim.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/common/sim/sim.c b/drivers/gpu/nvgpu/common/sim/sim.c index 2987e0711..ebf8ec8c1 100644 --- a/drivers/gpu/nvgpu/common/sim/sim.c +++ b/drivers/gpu/nvgpu/common/sim/sim.c @@ -277,7 +277,12 @@ int nvgpu_init_sim_support(struct gk20a *g) } g->sim->sim_init_late = nvgpu_sim_init_late; - g->sim->remove_support = nvgpu_remove_sim_support; + /* + * Found issues with removing sim support for igpu. + * Remove sim->remove_support until JIRA NVGPU-5281 is fixed. + * g->sim->remove_support = nvgpu_remove_sim_support; + */ + g->sim->remove_support = NULL; g->sim->esc_readl = nvgpu_sim_esc_readl; return 0;