[PATCH 02/10] drm/fb-helper: Remove dead code in setcolreg

2016-05-31 Thread Daniel Vetter
On Tue, May 31, 2016 at 03:09:42PM +0200, Maarten Lankhorst wrote: > Op 30-03-16 om 11:51 schreef Daniel Vetter: > > DRM fbdev emulation only supports pallete_color with depth == 8, and > > truecolor with depth > 8. Handling depth == 16 for palettes is hence > > dead code, let's remove it. >

[PATCH 02/10] drm/fb-helper: Remove dead code in setcolreg

2016-05-31 Thread Maarten Lankhorst
Op 30-03-16 om 11:51 schreef Daniel Vetter: > DRM fbdev emulation only supports pallete_color with depth == 8, and > truecolor with depth > 8. Handling depth == 16 for palettes is hence > dead code, let's remove it. Hooray, less chance for failure! Reviewed-by: Maarten Lankhorst

[PATCH 02/10] drm/fb-helper: Remove dead code in setcolreg

2016-03-30 Thread Daniel Vetter
DRM fbdev emulation only supports pallete_color with depth == 8, and truecolor with depth > 8. Handling depth == 16 for palettes is hence dead code, let's remove it. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_fb_helper.c | 33 ++--- 1 file changed, 2