drm: mgag200: remove dead code and pointless local lut storage
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Acked-by:Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by:
Peter Rosin <peda@axentia.se> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20170713162538.22788-11-peda@axentia.se
Showing
- drivers/gpu/drm/mgag200/mgag200_drv.h 0 additions, 5 deletionsdrivers/gpu/drm/mgag200/mgag200_drv.h
- drivers/gpu/drm/mgag200/mgag200_fb.c 0 additions, 2 deletionsdrivers/gpu/drm/mgag200/mgag200_fb.c
- drivers/gpu/drm/mgag200/mgag200_mode.c 15 additions, 47 deletionsdrivers/gpu/drm/mgag200/mgag200_mode.c
Loading
Please register or sign in to comment