OSDN Git Service

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)
commit2a4021ccb8fee543fec96a34bf962a7318779779
tree0f7ac921abedd9d0610fe1f848a91ddbee152fbc
parent713305570aebdf049db9660f186a8e406cfc5fcf
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