mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: replace CONFIG_NVGPU_SUPPORT_TURING usage with CONFIG_NVGPU_DGPU
Also update the config check in pci_power.c for definitions of stubs for pcie_attach|detach_controller callbacks. Bug 200658918 Bug 200609273 Change-Id: Ie3f3b4de4cbcd520e54a3eb0590699c1a433e82d Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2414959 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
a6e5c54882
commit
df4d5f3c57
@@ -82,13 +82,11 @@ int nvgpu_init_hal(struct gk20a *g)
|
||||
break;
|
||||
|
||||
#if defined(CONFIG_NVGPU_DGPU) && defined(CONFIG_NVGPU_HAL_NON_FUSA)
|
||||
#if defined(CONFIG_NVGPU_SUPPORT_TURING)
|
||||
case NVGPU_GPUID_TU104:
|
||||
if (tu104_init_hal(g) != 0) {
|
||||
return -ENODEV;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#if defined(CONFIG_NVGPU_NEXT) && defined(CONFIG_NVGPU_DGPU)
|
||||
case NVGPU_NEXT_DGPU_GPUID:
|
||||
if (NVGPU_NEXT_DGPU_INIT_HAL(g) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user