diff options
author | Sunny He <suhe@nvidia.com> | 2017-06-28 18:59:14 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-06 13:54:57 -0400 |
commit | 64076b4b214b45fe8367e467dd6796a9bcc058a4 (patch) | |
tree | 4d0fa3536fa188ec1f12f4349440b998cb608b77 /drivers/gpu/nvgpu/gm206/bios_gm206.c | |
parent | 75d7d6826dea130d5eb5ac86f1ca54bd9b05fbe1 (diff) |
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 <suhe@nvidia.com>
Reviewed-on: https://git-master/r/1510386
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/bios_gm206.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/bios_gm206.c | 5 |
1 files changed, 0 insertions, 5 deletions
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: | |||
266 | nvgpu_release_firmware(g, bios_fw); | 266 | nvgpu_release_firmware(g, bios_fw); |
267 | return err; | 267 | return err; |
268 | } | 268 | } |
269 | |||
270 | void gm206_init_bios_ops(struct gpu_ops *gops) | ||
271 | { | ||
272 | gops->bios_init = gm206_bios_init; | ||
273 | } | ||