]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move amdgpu_gmc_tmz_set after ip_version populated
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 17 May 2022 05:57:11 +0000 (11:27 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:32 +0000 (14:56 -0400)
commita15c98686f1f6cb85db14190d499ea963fa8b5ed
treee8b6ae66e9a29022a490bfb95793e8904543c9a6
parentc78c90aba25acc1fa3bf023bf9417743f934f119
drm/amdgpu: move amdgpu_gmc_tmz_set after ip_version populated

To enable TMZ feature based on IP version needs adev->ip_version
populated but its empty. Move amdgpu_gmc_tmz_set to a place where
ip_version is populated.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c