]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Implement insert_end for VCE 3
authorDavid Rosca <david.rosca@amd.com>
Mon, 10 Aug 2026 09:11:35 +0000 (11:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Aug 2026 14:22:31 +0000 (10:22 -0400)
commitd5ab4c6a64efef2d143a96df5357f59703cd703d
treec3c24beecc418977ecd0470a7380feb0cc3ab165
parent18727670b44753865b81c56a9338c0d7bd102c54
drm/amdgpu: Implement insert_end for VCE 3

After a recent change VCE now hangs when VCE_CMD_END is emitted
after a pipeline sync without VM flush.
Implement insert_end to correctly insert only one VCE_CMD_END per job.

Fixes: bc639a9eadc7 ("drm/amdgpu: always emit the job vm fence")
Signed-off-by: David Rosca <david.rosca@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8897ea8c761b856f02061848a7908040a1fe5e68)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c