OSDN Git Service

drm/amdgpu: Use PSP to program IH_RB_CNTL_RING1/2 on SRIOV
authorRohit Khaire <rohit.khaire@amd.com>
Tue, 8 Jun 2021 14:19:18 +0000 (10:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Jun 2021 16:24:26 +0000 (12:24 -0400)
commit2b9ced5a964fc6c36a3d893c428d5c3c9ccf6dd9
treed9771b165348d4bf2867a65378216276cc313bba
parentea5267994e9e280d48a9089202bf5740b658717b
drm/amdgpu: Use PSP to program IH_RB_CNTL_RING1/2 on SRIOV

This is similar to IH_RB_CNTL programming in
navi10_ih_toggle_ring_interrupts

Signed-off-by: Rohit Khaire <rohit.khaire@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Horace Chen <horace.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/navi10_ih.c