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/tilcdc | |
| 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/tilcdc')
| -rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c index 5dd3c7d031d5..4de3fb4246fc 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c | |||
| @@ -384,10 +384,6 @@ static int tilcdc_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, | |||
| 384 | return 0; | 384 | return 0; |
| 385 | } | 385 | } |
| 386 | 386 | ||
| 387 | static void tilcdc_crtc_load_lut(struct drm_crtc *crtc) | ||
| 388 | { | ||
| 389 | } | ||
| 390 | |||
| 391 | static const struct drm_crtc_funcs tilcdc_crtc_funcs = { | 387 | static const struct drm_crtc_funcs tilcdc_crtc_funcs = { |
| 392 | .destroy = tilcdc_crtc_destroy, | 388 | .destroy = tilcdc_crtc_destroy, |
| 393 | .set_config = drm_crtc_helper_set_config, | 389 | .set_config = drm_crtc_helper_set_config, |
| @@ -401,7 +397,6 @@ static const struct drm_crtc_helper_funcs tilcdc_crtc_helper_funcs = { | |||
| 401 | .commit = tilcdc_crtc_commit, | 397 | .commit = tilcdc_crtc_commit, |
| 402 | .mode_set = tilcdc_crtc_mode_set, | 398 | .mode_set = tilcdc_crtc_mode_set, |
| 403 | .mode_set_base = tilcdc_crtc_mode_set_base, | 399 | .mode_set_base = tilcdc_crtc_mode_set_base, |
| 404 | .load_lut = tilcdc_crtc_load_lut, | ||
| 405 | }; | 400 | }; |
| 406 | 401 | ||
| 407 | int tilcdc_crtc_max_width(struct drm_crtc *crtc) | 402 | int tilcdc_crtc_max_width(struct drm_crtc *crtc) |
