summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
authorPeter Rosin2017-07-13 18:25:38 +0200
committerDaniel Vetter2017-08-07 11:20:36 +0200
commit2cd575aabd4db9b22f68847fcb0e3d88cc2d0fb1 (patch)
treef7c024ae658ad43128af908d8c8c8aa3fa10096c /include/drm/drm_crtc.h
parentstaging: vboxvideo: remove dead gamma lut code (diff)
downloadkernel-qcow2-linux-2cd575aabd4db9b22f68847fcb0e3d88cc2d0fb1.tar.gz
kernel-qcow2-linux-2cd575aabd4db9b22f68847fcb0e3d88cc2d0fb1.tar.xz
kernel-qcow2-linux-2cd575aabd4db9b22f68847fcb0e3d88cc2d0fb1.zip
drm: remove unused and redundant callbacks
Drivers no longer have any need for these callbacks, and there are no users. Zap. Zap-zap-zzzap-p-pp-p. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20170713162538.22788-15-peda@axentia.se
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r--include/drm/drm_crtc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 3a911a64c257..0cc89623abe6 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -358,14 +358,6 @@ struct drm_crtc_funcs {
* drm_crtc_enable_color_mgmt(), which then supports the legacy gamma
* interface through the drm_atomic_helper_legacy_gamma_set()
* compatibility implementation.
- *
- * NOTE:
- *
- * Drivers that support gamma tables and also fbdev emulation through
- * the provided helper library need to take care to fill out the gamma
- * hooks for both. Currently there's a bit an unfortunate duplication
- * going on, which should eventually be unified to just one set of
- * hooks.
*/
int (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
uint32_t size,