Commit 945355c9 authored by Samir Dhume's avatar Samir Dhume Committed by Alex Deucher
Browse files

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: default avatarSamir Dhume <samir.dhume@amd.com>
Acked-by: default avatarLeo Liu <leo.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3831989d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -334,14 +334,14 @@ enum AMDGPU_DOORBELL_ASSIGNMENT_LAYOUT1 {
	AMDGPU_DOORBELL_LAYOUT1_sDMA_ENGINE_END		= 0x19F,
	/* IH: 0x1A0 ~ 0x1AF */
	AMDGPU_DOORBELL_LAYOUT1_IH                      = 0x1A0,
	/* VCN: 0x1B0 ~ 0x1D4 */
	/* VCN: 0x1B0 ~ 0x1E8 */
	AMDGPU_DOORBELL_LAYOUT1_VCN_START               = 0x1B0,
	AMDGPU_DOORBELL_LAYOUT1_VCN_END                 = 0x1D4,
	AMDGPU_DOORBELL_LAYOUT1_VCN_END                 = 0x1E8,

	AMDGPU_DOORBELL_LAYOUT1_FIRST_NON_CP		= AMDGPU_DOORBELL_LAYOUT1_sDMA_ENGINE_START,
	AMDGPU_DOORBELL_LAYOUT1_LAST_NON_CP		= AMDGPU_DOORBELL_LAYOUT1_VCN_END,

	AMDGPU_DOORBELL_LAYOUT1_MAX_ASSIGNMENT          = 0x1D4,
	AMDGPU_DOORBELL_LAYOUT1_MAX_ASSIGNMENT          = 0x1E8,
	AMDGPU_DOORBELL_LAYOUT1_INVALID                 = 0xFFFF
};