]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Add per-ring reset for vcn v4.0.0 use
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 6 May 2025 20:49:47 +0000 (15:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:48:19 +0000 (17:48 -0400)
commitb8b6e6f1654dee77064167ec4ebed0d64935baef
tree3a9a07aa9e54a679ecd2abc68007a67baba20c88
parentd1a46cdd00539a573b7b7b67f7e5668344ac5231
drm/amd: Add per-ring reset for vcn v4.0.0 use

If there is a problem requiring a reset of the VCN engine, it is better to
reset the VCN engine rather than the entire GPU.

Add a reset callback for the ring which will stop and start VCN if an
issue happens.

Link: https://lore.kernel.org/r/20250506204948.12048-3-mario.limonciello@amd.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c