aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2022-07-13 11:10:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-31 16:33:40 -0400
commit2f3916bedb72934ed67fb18ea0f7f77cc6156511 (patch)
tree601f8441607b57e5398082d2b0044f90d93d5338 /drivers/gpu/drm/amd/amdgpu/soc21.c
parentdrm/amdgpu: add irq src id definitions for VPE (diff)
downloadwireguard-linux-2f3916bedb72934ed67fb18ea0f7f77cc6156511.tar.xz
wireguard-linux-2f3916bedb72934ed67fb18ea0f7f77cc6156511.zip
drm/amdgpu: add doorbell index for VPE
Add doorbell index for Video Processing Engine. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc21.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index a920bcb9f5b3..cad57afa89e4 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -503,6 +503,7 @@ static void soc21_init_doorbell_index(struct amdgpu_device *adev)
adev->doorbell_index.vcn.vcn_ring2_3 = AMDGPU_NAVI10_DOORBELL64_VCN2_3;
adev->doorbell_index.vcn.vcn_ring4_5 = AMDGPU_NAVI10_DOORBELL64_VCN4_5;
adev->doorbell_index.vcn.vcn_ring6_7 = AMDGPU_NAVI10_DOORBELL64_VCN6_7;
+ adev->doorbell_index.vpe_ring = AMDGPU_NAVI10_DOORBELL64_VPE;
adev->doorbell_index.first_non_cp = AMDGPU_NAVI10_DOORBELL64_FIRST_NON_CP;
adev->doorbell_index.last_non_cp = AMDGPU_NAVI10_DOORBELL64_LAST_NON_CP;