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)
commit178e5f3a5bc1d67d1248a74c0abab41040abe7c4
tree6654323f7a0310d5a99d42aedb1612059972abb4
parentbc0380b9e5587d0c3fd207f16c53a101a9ea81dd
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