Skip to content

Commit 945355c

Browse files
Samir Dhumealexdeucher
authored andcommitted
drm/amdgpu/vcn: change end doorbell index for vcn_v4_0_3
For sriov, doorbell index for vcn0 for AID needs to be on 32 byte boundary so we need to move the vcn end doorbell Signed-off-by: Samir Dhume <samir.dhume@amd.com> Acked-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 3831989 commit 945355c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ enum AMDGPU_DOORBELL_ASSIGNMENT_LAYOUT1 {
334334
AMDGPU_DOORBELL_LAYOUT1_sDMA_ENGINE_END = 0x19F,
335335
/* IH: 0x1A0 ~ 0x1AF */
336336
AMDGPU_DOORBELL_LAYOUT1_IH = 0x1A0,
337-
/* VCN: 0x1B0 ~ 0x1D4 */
337+
/* VCN: 0x1B0 ~ 0x1E8 */
338338
AMDGPU_DOORBELL_LAYOUT1_VCN_START = 0x1B0,
339-
AMDGPU_DOORBELL_LAYOUT1_VCN_END = 0x1D4,
339+
AMDGPU_DOORBELL_LAYOUT1_VCN_END = 0x1E8,
340340

341341
AMDGPU_DOORBELL_LAYOUT1_FIRST_NON_CP = AMDGPU_DOORBELL_LAYOUT1_sDMA_ENGINE_START,
342342
AMDGPU_DOORBELL_LAYOUT1_LAST_NON_CP = AMDGPU_DOORBELL_LAYOUT1_VCN_END,
343343

344-
AMDGPU_DOORBELL_LAYOUT1_MAX_ASSIGNMENT = 0x1D4,
344+
AMDGPU_DOORBELL_LAYOUT1_MAX_ASSIGNMENT = 0x1E8,
345345
AMDGPU_DOORBELL_LAYOUT1_INVALID = 0xFFFF
346346
};
347347

0 commit comments

Comments
 (0)