drm/vkms: Update vkms_composer_worker documentation
authorAndré Almeida <andrealmeid@igalia.com>
Sat, 21 May 2022 19:13:42 +0000 (16:13 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 May 2022 15:40:44 +0000 (17:40 +0200)
Since commit ba420afab565 ("drm/vkms: Bugfix racing hrtimer vblank
handle") the work is scheduled at vkms_vblank_simulate() and since
commit 5ef8100a3919 ("drm/vkms: flush crc workers earlier in commit
flow") the work is flushed at vkms_atomic_commit_tail(). Update function
commment to reflect that.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220521191342.23520-1-andrealmeid@igalia.com
drivers/gpu/drm/vkms/vkms_composer.c

index c6a1036bf2ea7fd401912f0f6e60c25e73c5cb12..914c0ac7dc8b173ca6f3b9dfa3572874551fac8a 100644 (file)
@@ -213,7 +213,7 @@ static int compose_active_planes(void **vaddr_out,
  *
  * Work handler for composing and computing CRCs. work_struct scheduled in
  * an ordered workqueue that's periodically scheduled to run by
- * _vblank_handle() and flushed at vkms_atomic_crtc_destroy_state().
+ * vkms_vblank_simulate() and flushed at vkms_atomic_commit_tail().
  */
 void vkms_composer_worker(struct work_struct *work)
 {