drm/drm_debugfs_crc.c: Document that .verify_crc_source vfunc is required for enablin...
authorLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 3 Jul 2019 14:56:03 +0000 (15:56 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 2 Aug 2019 16:28:22 +0000 (17:28 +0100)
commit84a68104193efd0e11dd9284e5be9070dde3fdd1
tree4cc04bb1b5ad5f3db3d80746de796f6388b90bdb
parent28ba1b1da49a20ba8fb767d6ddd7c521ec79a119
drm/drm_debugfs_crc.c: Document that .verify_crc_source vfunc is required for enabling CRC support.

drm_debugfs_crtc_crc_add() function checks that both .set_crc_source and
.verify_crc_source hooks are provided before enabling debugfs support for
reading per-frame CRC data. Make that explicit in the documentation.

Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703150330.21992-1-Liviu.Dudau@arm.com
drivers/gpu/drm/drm_debugfs_crc.c