radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit
commitff773714dd30b802c336064109c535d8b2774e2f
authorJason Wessel <jason.wessel@windriver.com>
Sun, 26 Sep 2010 11:47:26 +0000 (26 06:47 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:50:37 +0000 (6 11:50 +1000)
treed040dbf8cff59f984dc1d1773c804e52d4c49010
parent413d45d3627be4748058dea697718ed6fb88bd01
radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit

When changing VTs non-atomically the kernel works in conjunction with
the Xserver in user space and receives the LUT information from the
Xserver via a system call.  When changing modes atomically for kdb,
this information must be saved and restored without disturbing user
space as if nothing ever happened.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: David Airlie <airlied@linux.ie>
CC: dri-devel@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
drivers/gpu/drm/radeon/radeon_mode.h