]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vcn: Document IRQ per-instance irq behavior for VCN 4.0.3
authorRodrigo Siqueira <siqueira@igalia.com>
Mon, 25 Aug 2025 00:46:40 +0000 (18:46 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Sep 2025 20:18:41 +0000 (16:18 -0400)
commit3d9752f4f9319110896ee497e23b18897189eb14
tree6a2968975a1480a8f27d86a516cb63d7843e4e95
parent8b38bf38830a84de70d53ad388268cbbe677118d
drm/amdgpu/vcn: Document IRQ per-instance irq behavior for VCN 4.0.3

When examining the VCN function init, it is common to find a loop that
initializes VCN rings, which uses one IRQ per instance. However, VCN
4.0.3 deviates from this pattern, as it includes a distinct field to
differentiate instances, which results in a slightly different ring
init. This commit makes this difference explicit by using a fixed index
when initializing the ring buffer and also adds a comment.

Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c