diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-10-13 14:09:43 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-19 14:13:26 +1000 |
commit | 99231028ff713820829b798d056c08a584281c25 (patch) | |
tree | 3fb4eb0c99c545c21c9d8e317ce34763248ec705 /include/drm/drm_crtc_helper.h | |
parent | 38ed0fcacd6176cdadd070df42c29f94c546aec5 (diff) | |
download | kernel_samsung_crespo-99231028ff713820829b798d056c08a584281c25.zip kernel_samsung_crespo-99231028ff713820829b798d056c08a584281c25.tar.gz kernel_samsung_crespo-99231028ff713820829b798d056c08a584281c25.tar.bz2 |
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.
There is a short cut used by this patch where gamma_store is used as
the save space. If this turns out to be a problem in the future a
pre-allocated chunk of memory will be required for each crtc to save
and restore the LUT information.
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>
Diffstat (limited to 'include/drm/drm_crtc_helper.h')
0 files changed, 0 insertions, 0 deletions