]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd: Fix unbind/rebind for VCN 4.0.5
authorMario Limonciello (AMD) <superm1@kernel.org>
Tue, 9 Dec 2025 04:46:46 +0000 (22:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:17:17 +0000 (10:17 +0100)
commit355d4d4ffaf853200149faf6d1da9d9b2ddfbe92
tree1d5591fda89829a1b2aa23e6d6b12396aa2e72bc
parentfa6cd92304447571813df840323855a7e0f95953
drm/amd: Fix unbind/rebind for VCN 4.0.5

commit 93a01629c8bfd30906c76921ec986802d76920c6 upstream.

Unbinding amdgpu has no problems, but binding it again leads to an
error of sysfs file already existing.  This is because it wasn't
actually cleaned up on unbind.  Add the missing cleanup step.

Fixes: 547aad32edac ("drm/amdgpu: add VCN4 ip block support")
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d717e62e9b6ccff0e3cec78a58dfbd00858448b3)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c