mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: hal: disable TU104 HAL if FUSA enabled
When FUSA is enabled, TU104 support must be disabled. This patch ensures this requirement is fulfilled. JIRA NVGPU-3690 Change-Id: Iaf2a6d826073155ec7b53b615b9dc9d264a535a1 Signed-off-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2143425 GVS: Gerrit_Virtual_Submit Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8b1822e4c1
commit
283899bda3
@@ -67,7 +67,7 @@ int nvgpu_init_hal(struct gk20a *g)
|
||||
}
|
||||
break;
|
||||
|
||||
#ifdef CONFIG_NVGPU_DGPU
|
||||
#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) {
|
||||
|
||||
Reference in New Issue
Block a user