]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Dec 2025 22:32:51 +0000 (17:32 -0500)
commitd717e62e9b6ccff0e3cec78a58dfbd00858448b3
treebb7e4c4e16939ddc58641fa18ad72b4756f1e9bf
parent495b190480dc78ad2dd10f8b96dfb5747fa48c4d
drm/amd: Fix unbind/rebind for VCN 4.0.5

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>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c