Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kexin Sun and committed by
Alex Deucher
94c7e966 392848cd

+5 -3
+5 -3
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 9899 9899 * a vblank event disable request to enable PSR/RP. PSR SU/RP 9900 9900 * can be enabled immediately once OS demonstrates an 9901 9901 * adequate number of fast atomic commits to notify KMD 9902 - * of update events. See `vblank_control_worker()`. 9902 + * of update events. 9903 + * See `amdgpu_dm_crtc_vblank_control_worker()`. 9903 9904 */ 9904 9905 if (!vrr_active && 9905 9906 acrtc_attach->dm_irq_params.allow_sr_entry && ··· 10068 10067 /* 10069 10068 * If the dirty regions changed, PSR-SU need to be disabled temporarily 10070 10069 * and enabled it again after dirty regions are stable to avoid video glitch. 10071 - * PSR-SU will be enabled in vblank_control_worker() if user pause the video 10072 - * during the PSR-SU was disabled. 10070 + * PSR-SU will be enabled in 10071 + * amdgpu_dm_crtc_vblank_control_worker() if user 10072 + * pause the video during the PSR-SU was disabled. 10073 10073 */ 10074 10074 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && 10075 10075 acrtc_attach->dm_irq_params.allow_sr_entry &&