drm/amd: Add per-ring reset for vcn v5.0.0 use
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 6 May 2025 20:49:48 +0000 (15:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:48:24 +0000 (17:48 -0400)
commitb54695dae995590fa5db899234871ce49fd077a8
treef3d90618f885b2c3b2ccf2a2511f9179a21a900f
parentb8b6e6f1654dee77064167ec4ebed0d64935baef
drm/amd: Add per-ring reset for vcn v5.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.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250506204948.12048-4-mario.limonciello@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_v5_0_0.c