Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/: add doorbell assignment for 2nd vcn instance

add doorbell assignment for 2nd vcn instance

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

James Zhu and committed by
Alex Deucher
6da061dc a07d163c

+7 -2
+7 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h
··· 130 130 AMDGPU_VEGA20_DOORBELL_IH = 0x178, 131 131 /* MMSCH: 392~407 132 132 * overlap the doorbell assignment with VCN as they are mutually exclusive 133 - * VCE engine's doorbell is 32 bit and two VCE ring share one QWORD 133 + * VCN engine's doorbell is 32 bit and two VCN ring share one QWORD 134 134 */ 135 - AMDGPU_VEGA20_DOORBELL64_VCN0_1 = 0x188, /* lower 32 bits for VNC0 and upper 32 bits for VNC1 */ 135 + AMDGPU_VEGA20_DOORBELL64_VCN0_1 = 0x188, /* VNC0 */ 136 136 AMDGPU_VEGA20_DOORBELL64_VCN2_3 = 0x189, 137 137 AMDGPU_VEGA20_DOORBELL64_VCN4_5 = 0x18A, 138 138 AMDGPU_VEGA20_DOORBELL64_VCN6_7 = 0x18B, 139 + 140 + AMDGPU_VEGA20_DOORBELL64_VCN8_9 = 0x18C, /* VNC1 */ 141 + AMDGPU_VEGA20_DOORBELL64_VCNa_b = 0x18D, 142 + AMDGPU_VEGA20_DOORBELL64_VCNc_d = 0x18E, 143 + AMDGPU_VEGA20_DOORBELL64_VCNe_f = 0x18F, 139 144 140 145 AMDGPU_VEGA20_DOORBELL64_UVD_RING0_1 = 0x188, 141 146 AMDGPU_VEGA20_DOORBELL64_UVD_RING2_3 = 0x189,