OSDN Git Service

drm/amd/amdgpu: psp program IH_RB_CTRL on sienna_cichlid
authorYuBiao Wang <YuBiao.Wang@amd.com>
Tue, 11 May 2021 10:13:02 +0000 (18:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:43:40 +0000 (22:43 -0400)
commit4aa7e6e07b6baf9834b85dc64bb2c2c20781c300
tree692229d8130774749a34c93c7f9ac3148b276dd2
parent49da4c2be53ecc0885d02a80cc1255acb5823057
drm/amd/amdgpu: psp program IH_RB_CTRL on sienna_cichlid

[Why]
IH_RB_CNTL is blocked by PSP so we need to ask psp to help config it.

[How]
Move psp ip block before ih, and use psp to program IH_RB_CNTL under sriov.

Reviewed-by: Chen, Horace <Horace.Chen@amd.com>
Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/navi10_ih.c
drivers/gpu/drm/amd/amdgpu/nv.c