]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove unnecessary amdgpu_irq_get/put
authorAlex Hung <alex.hung@amd.com>
Tue, 17 Dec 2024 21:03:50 +0000 (14:03 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 20:10:40 +0000 (15:10 -0500)
commit5009628d8509dbb90e1b88e01eda00430fa24b4b
tree91e4c4ccf80a24926fdb16784671336c20e36416
parent273b3eb600713a5e71c64b8b403b355dc580f167
drm/amd/display: Remove unnecessary amdgpu_irq_get/put

[WHY & HOW]
commit 7fb363c57522 ("drm/amd/display: Let drm_crtc_vblank_on/off manage interrupts")
lets drm_crtc_vblank_* to manage interrupts in amdgpu_dm_crtc_set_vblank,
and amdgpu_irq_get/put do not need to be called here.  Part of that
patch got lost somehow, so fix it up.

Fixes: 7fb363c57522 ("drm/amd/display: Let drm_crtc_vblank_on/off manage interrupts")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3782305ce5807c18fbf092124b9e8303cf1723ae)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c