From: Sonny Jiang <[email protected]>

Each VCN 5.0.2 instance has 1 VCN ring and 10 JPEG rings, requiring 11
consecutive doorbells. Increase the NBIO doorbell range size from 8
to 11 to cover the full ring set.


Signed-off-by: Sonny Jiang <[email protected]>
Reviewed-by: Boyuan Zhang <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c 
b/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c
index 5e8f466f23ad..d249011b2cf7 100644
--- a/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c
@@ -266,7 +266,7 @@ static void nbio_v6_3_2_vcn_doorbell_range(struct 
amdgpu_device *adev,
                doorbell_range = REG_SET_FIELD(doorbell_range,
                                               
GDC_S2A0_S2A_DOORBELL_ENTRY_2_CTRL,
                                               S2A_DOORBELL_PORT2_RANGE_SIZE,
-                                              8);
+                                              11);
                doorbell_range = REG_SET_FIELD(doorbell_range,
                                               
GDC_S2A0_S2A_DOORBELL_ENTRY_2_CTRL,
                                               
S2A_DOORBELL_PORT2_AWADDR_31_28_VALUE,
-- 
2.43.0

Reply via email to