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>
This commit is contained in:

committed by
Dave Airlie

parent
04c0c569d4
commit
fb85ac4da8
@@ -253,10 +253,6 @@ static int omap_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
|
||||
NULL, NULL);
|
||||
}
|
||||
|
||||
static void omap_crtc_load_lut(struct drm_crtc *crtc)
|
||||
{
|
||||
}
|
||||
|
||||
static void vblank_cb(void *arg)
|
||||
{
|
||||
struct drm_crtc *crtc = arg;
|
||||
@@ -366,7 +362,6 @@ static const struct drm_crtc_helper_funcs omap_crtc_helper_funcs = {
|
||||
.prepare = omap_crtc_prepare,
|
||||
.commit = omap_crtc_commit,
|
||||
.mode_set_base = omap_crtc_mode_set_base,
|
||||
.load_lut = omap_crtc_load_lut,
|
||||
};
|
||||
|
||||
const struct omap_video_timings *omap_crtc_timings(struct drm_crtc *crtc)
|
||||
|
Reference in New Issue
Block a user