drm: Make the CRTC gamma_set operation optional
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 17 May 2012 11:27:24 +0000 (13:27 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 22 May 2012 09:35:15 +0000 (10:35 +0100)
commitebe0f2442cc4c5493a85c875d2d8a44ffecc1175
treef9ce0f9183ee558c766916f9b0709e8220242b37
parente6ecefaadfcdb03db8ac9e739b4ba7a93a8811b3
drm: Make the CRTC gamma_set operation optional

Drivers for hardware without gamma support should not be forced to
implement a no-op gamma set operation.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Rob Clark <rob.clark@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_fb_helper.c
drivers/staging/omapdrm/omap_crtc.c