]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vcn4: Fix IB parsing with multiple engine info packages
authorDavid Rosca <david.rosca@amd.com>
Mon, 18 Aug 2025 07:06:58 +0000 (09:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Sep 2025 20:18:22 +0000 (16:18 -0400)
commitdc8f9f0f45166a6b37864e7a031c726981d6e5fc
treeb0b8cd6521ebcd22b22376c70edbb8d2edd597ca
parentd426a5b6da2bba04566acfad94b6921141a2bf85
drm/amdgpu/vcn4: Fix IB parsing with multiple engine info packages

There can be multiple engine info packages in one IB and the first one
may be common engine, not decode/encode.
We need to parse the entire IB instead of stopping after finding first
engine info.

Signed-off-by: David Rosca <david.rosca@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c