summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKexin Sun <kexinsun@smail.nju.edu.cn>2026-03-21 13:57:17 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-03-24 20:33:15 +0300
commit94c7e9669be1a29b8e44fa6ca3d2d8943b60a91e (patch)
tree2bee2df5027011526fb5141d441e591c75c8aca8
parent392848cdd0aa16e262387c46102eeec821ae866b (diff)
downloadlinux-94c7e9669be1a29b8e44fa6ca3d2d8943b60a91e.tar.xz
drm/amd/display: update outdated comments for renamed vblank_control_worker()
The function vblank_control_worker() was renamed to amdgpu_dm_crtc_vblank_control_worker() by commit 6ce4f9ee25ff ("drm/amd/display: Add prefix to amdgpu crtc functions"). Update the two stale references in amdgpu_dm.c. Assisted-by: unnamed:deepseek-v3.2 coccinelle Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 9e967007d677..1e304c9d2030 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -9899,7 +9899,8 @@ static void amdgpu_dm_enable_self_refresh(struct amdgpu_crtc *acrtc_attach,
* a vblank event disable request to enable PSR/RP. PSR SU/RP
* can be enabled immediately once OS demonstrates an
* adequate number of fast atomic commits to notify KMD
- * of update events. See `vblank_control_worker()`.
+ * of update events.
+ * See `amdgpu_dm_crtc_vblank_control_worker()`.
*/
if (!vrr_active &&
acrtc_attach->dm_irq_params.allow_sr_entry &&
@@ -10067,8 +10068,9 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
/*
* If the dirty regions changed, PSR-SU need to be disabled temporarily
* and enabled it again after dirty regions are stable to avoid video glitch.
- * PSR-SU will be enabled in vblank_control_worker() if user pause the video
- * during the PSR-SU was disabled.
+ * PSR-SU will be enabled in
+ * amdgpu_dm_crtc_vblank_control_worker() if user
+ * pause the video during the PSR-SU was disabled.
*/
if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 &&
acrtc_attach->dm_irq_params.allow_sr_entry &&