android_kernel_xiaomi_sm8350/drivers/video/geode
Daniel Drake 16cdd4336f lxfb: Maintain video processor palette through suspend/resume
The Geode X driver uses both of the LX's palettes, one for gamma
correction and one for colormaps.

The kernel driver currently only backs up the one used for colormaps
during suspend/resume. If you mess with gamma settings and do a
suspend/resume, colors go funny.

Fix this by backing up the video proc palette during suspend/resume,
alongside the display controller one which is already handled.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-12-01 18:18:56 +09:00
..
display_gx1.c
display_gx1.h
display_gx.c
geodefb.h
gx1fb_core.c
gxfb_core.c
gxfb.h
Kconfig
lxfb_core.c
lxfb_ops.c lxfb: Maintain video processor palette through suspend/resume 2010-12-01 18:18:56 +09:00
lxfb.h lxfb: Maintain video processor palette through suspend/resume 2010-12-01 18:18:56 +09:00
Makefile
suspend_gx.c
video_cs5530.c
video_cs5530.h
video_gx.c