From 64076b4b214b45fe8367e467dd6796a9bcc058a4 Mon Sep 17 00:00:00 2001 From: Sunny He Date: Wed, 28 Jun 2017 15:59:14 -0700 Subject: gpu: nvgpu: Reorg misc HAL initialization Reorganize HAL initialization to remove inheritance and construct the gpu_ops struct at compile time. This patch covers the lone function pointers of the gpu_ops struct. Perform HAL function assignments in hal_gxxxx.c through the population of a chip-specific copy of gpu_ops. Jira NVGPU-74 Change-Id: I30d379bf52709c8382c9d7aa87f1672ca0f89c6f Signed-off-by: Sunny He Reviewed-on: https://git-master/r/1510386 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm206/bios_gm206.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/gpu/nvgpu/gm206/bios_gm206.c') diff --git a/drivers/gpu/nvgpu/gm206/bios_gm206.c b/drivers/gpu/nvgpu/gm206/bios_gm206.c index 13f5023a..bcc46c83 100644 --- a/drivers/gpu/nvgpu/gm206/bios_gm206.c +++ b/drivers/gpu/nvgpu/gm206/bios_gm206.c @@ -266,8 +266,3 @@ free_firmware: nvgpu_release_firmware(g, bios_fw); return err; } - -void gm206_init_bios_ops(struct gpu_ops *gops) -{ - gops->bios_init = gm206_bios_init; -} -- cgit v1.2.2