diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-05-27 13:19:58 -0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-06-17 05:42:47 -0400 |
commit | fb85ac4da8d202f89e0635e4ac2ac680d662be98 (patch) | |
tree | a6d54a330b8e6198dd7e303f53e98505918af024 /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | 04c0c569d4358d0e2f9c78ca9fc0ddeb68ae4872 (diff) |
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/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 79b200aee18a..ef161ea982e6 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
@@ -253,10 +253,6 @@ static int omap_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, | |||
253 | NULL, NULL); | 253 | NULL, NULL); |
254 | } | 254 | } |
255 | 255 | ||
256 | static void omap_crtc_load_lut(struct drm_crtc *crtc) | ||
257 | { | ||
258 | } | ||
259 | |||
260 | static void vblank_cb(void *arg) | 256 | static void vblank_cb(void *arg) |
261 | { | 257 | { |
262 | struct drm_crtc *crtc = arg; | 258 | struct drm_crtc *crtc = arg; |
@@ -366,7 +362,6 @@ static const struct drm_crtc_helper_funcs omap_crtc_helper_funcs = { | |||
366 | .prepare = omap_crtc_prepare, | 362 | .prepare = omap_crtc_prepare, |
367 | .commit = omap_crtc_commit, | 363 | .commit = omap_crtc_commit, |
368 | .mode_set_base = omap_crtc_mode_set_base, | 364 | .mode_set_base = omap_crtc_mode_set_base, |
369 | .load_lut = omap_crtc_load_lut, | ||
370 | }; | 365 | }; |
371 | 366 | ||
372 | const struct omap_video_timings *omap_crtc_timings(struct drm_crtc *crtc) | 367 | const struct omap_video_timings *omap_crtc_timings(struct drm_crtc *crtc) |