]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Fix incorrect return of vblank enable on unconfigured crtc
authorIvan Lipski <ivan.lipski@amd.com>
Wed, 17 Sep 2025 15:00:02 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 15:05:47 +0000 (11:05 -0400)
commitb3656b355b5522cef1b52a7469010009c98156db
tree21f4080ae77c321b2fcf19797c443d94defb4f30
parent7d08c3b1731014dd1cfd0bf8b0cb1cef9dfd191e
drm/amd/display: Fix incorrect return of vblank enable on unconfigured crtc

[Why&How]
Return -EINVAL when userspace asks us to enable vblank on a crtc that is
not yet enabled.

Suggested-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1856
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit cb57b8cdb072dc37723b6906da1c37ff9cbc2da4)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c