diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-05-27 20:19:58 +0300 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-06-17 19:42:47 +1000 |
commit | fb85ac4da8d202f89e0635e4ac2ac680d662be98 (patch) | |
tree | a6d54a330b8e6198dd7e303f53e98505918af024 /drivers/staging | |
parent | 04c0c569d4358d0e2f9c78ca9fc0ddeb68ae4872 (diff) | |
download | blackbird-op-linux-fb85ac4da8d202f89e0635e4ac2ac680d662be98.tar.gz blackbird-op-linux-fb85ac4da8d202f89e0635e4ac2ac680d662be98.zip |
drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers
Many of the drivers didn't implement palette/gamma handling, but were forced
to provide stubs for the hooks to avoid drm_fb_helper from oopsing. Now that
the hooks are optional, we can eliminate all the stubs.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/imx-drm/ipuv3-crtc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index ff5c63350932..b2730b1af5b4 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/staging/imx-drm/ipuv3-crtc.c @@ -364,17 +364,12 @@ static void ipu_crtc_commit(struct drm_crtc *crtc) ipu_fb_enable(ipu_crtc); } -static void ipu_crtc_load_lut(struct drm_crtc *crtc) -{ -} - static struct drm_crtc_helper_funcs ipu_helper_funcs = { .dpms = ipu_crtc_dpms, .mode_fixup = ipu_crtc_mode_fixup, .mode_set = ipu_crtc_mode_set, .prepare = ipu_crtc_prepare, .commit = ipu_crtc_commit, - .load_lut = ipu_crtc_load_lut, }; static int ipu_enable_vblank(struct drm_crtc *crtc) |