Skip to contentSkip to conversation

lxfb: Maintain video processor palette through suspend/resume

PATCH Paul Mundt 1 participant 1 message Dec 1, 2010 Framebuffer layer

lore
Share & tools
lore

Paul Mundt

author Applied
#0 lore raw
Quoted 7 lines · Daniel Drake

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.

Quoted 5 lines

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

Applied, thanks.