]> git.baikalelectronics.ru Git - kernel.git/commit
drm/crc-debugfs: Add notes about CRC<->commit interactions
authorBrian Starkey <brian.starkey@arm.com>
Tue, 6 Aug 2019 12:46:22 +0000 (13:46 +0100)
committerAyan kumar halder <ayan.halder@arm.com>
Tue, 6 Aug 2019 17:27:53 +0000 (18:27 +0100)
commit05f4202b02ebea8d1f430d779358dcb3a6afd6f6
tree6654323f7a0310d5a99d42aedb1612059972abb4
parentd13269130db0408b395226e1a3120ce1a6b5c4fd
drm/crc-debugfs: Add notes about CRC<->commit interactions

CRC generation can be impacted by commits coming from userspace, and
enabling CRC generation may itself trigger a commit. Add notes about
this to the kerneldoc.

Changes since v1:
 - Clarified that anything that would disable CRCs counts as a full
   modeset, and so userspace needs to reconfigure after full modesets

Changes since v2:
 - Add these notes
 - Rebase onto drm-misc-next (trivial conflict in comment)

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Ayan Kumar Halder <ayan.halder@arm.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:- https://patchwork.freedesktop.org/patch/321974/
drivers/gpu/drm/drm_debugfs_crc.c
include/drm/drm_crtc.h