]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Change IP init sequence to support PSP program IH_RB_CNTL on NV12 SRIOV
authorPeng Ju Zhou <PengJu.Zhou@amd.com>
Tue, 25 May 2021 10:21:38 +0000 (18:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 May 2021 03:47:03 +0000 (23:47 -0400)
commita163a9cf1595b8724c9da66063d1bc1ca9465ad5
tree0f7ac921abedd9d0610fe1f848a91ddbee152fbc
parent8c2c598964cb949963b2144a6b6708ee001fff17
drm/amdgpu: Change IP init sequence to support PSP program IH_RB_CNTL on NV12 SRIOV

To enable PSP program IH_RB_CNTL,
the PSP IP should be initialized before IH IP, otherwise,
it will hit psp NULL pointer.

Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c