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_fbdev.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_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fbdev.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index b11ce609fcc2..002988d09021 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c | |||
@@ -281,21 +281,7 @@ fail: | |||
281 | return ret; | 281 | return ret; |
282 | } | 282 | } |
283 | 283 | ||
284 | static void omap_crtc_fb_gamma_set(struct drm_crtc *crtc, | ||
285 | u16 red, u16 green, u16 blue, int regno) | ||
286 | { | ||
287 | DBG("fbdev: set gamma"); | ||
288 | } | ||
289 | |||
290 | static void omap_crtc_fb_gamma_get(struct drm_crtc *crtc, | ||
291 | u16 *red, u16 *green, u16 *blue, int regno) | ||
292 | { | ||
293 | DBG("fbdev: get gamma"); | ||
294 | } | ||
295 | |||
296 | static struct drm_fb_helper_funcs omap_fb_helper_funcs = { | 284 | static struct drm_fb_helper_funcs omap_fb_helper_funcs = { |
297 | .gamma_set = omap_crtc_fb_gamma_set, | ||
298 | .gamma_get = omap_crtc_fb_gamma_get, | ||
299 | .fb_probe = omap_fbdev_create, | 285 | .fb_probe = omap_fbdev_create, |
300 | }; | 286 | }; |
301 | 287 | ||