summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaden Chien <chih-wei.chien@amd.com>2026-05-02 00:09:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 13:50:44 -0400
commit42631c2dd3ea5cad7f787c9985b383ea36c5b65d (patch)
tree4d5f384e5f1dd6d31b61b3473b2a28eb76f29bc2
parentc990c05eb6c74c98d1ff3acf67a19015312820b7 (diff)
downloadlinux-42631c2dd3ea5cad7f787c9985b383ea36c5b65d.tar.gz
linux-42631c2dd3ea5cad7f787c9985b383ea36c5b65d.zip
drm/amdgpu/nbio: enable doorbell range init for vpe on v7.11.5
This initializes doorbell entry 5 for vpe on v7.11.5 Signed-off-by: Caden Chien <chih-wei.chien@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c b/drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c
index d6c7234393a8..c78f0598637f 100644
--- a/drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c
@@ -282,10 +282,12 @@ static void nbif_v6_3_1_vpe_doorbell_range(struct amdgpu_device *adev,
0);
}
- if (amdgpu_ip_version(adev, NBIO_HWIP, 0) == IP_VERSION(7, 11, 4))
+ if (amdgpu_ip_version(adev, NBIO_HWIP, 0) == IP_VERSION(7, 11, 4) ||
+ amdgpu_ip_version(adev, NBIO_HWIP, 0) == IP_VERSION(7, 11, 5)) {
WREG32_SOC15(NBIO, 0, regGDC_S2A0_S2A_DOORBELL_ENTRY_5_CTRL_nbif_4_10, doorbell_range);
- else
+ } else {
WREG32_SOC15(NBIO, 0, regGDC_S2A0_S2A_DOORBELL_ENTRY_5_CTRL, doorbell_range);
+ }
}