diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2010-05-09 14:49:52 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-05-28 08:06:17 +0200 |
commit | b334f2b3b68c35fd86a0cbc90ecee40e63ba2f37 (patch) | |
tree | 75ba9d0586e32904632e8964da4d1f04223dae1a /drivers/gpu/drm/nouveau/nouveau_crtc.h | |
parent | drm/nouveau: fix i2c-related init table handlers (diff) | |
download | linux-b334f2b3b68c35fd86a0cbc90ecee40e63ba2f37.tar.xz linux-b334f2b3b68c35fd86a0cbc90ecee40e63ba2f37.zip |
drm/nouveau: allow cursor image and position to survive suspend
- This isn't triggered yet on a normal kernel, because it still does a VT
switch, but it seemed like a good idea to fix this now.
Tested-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_crtc.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_crtc.h b/drivers/gpu/drm/nouveau/nouveau_crtc.h index 49fa7b2d257e..cb1ce2a09162 100644 --- a/drivers/gpu/drm/nouveau/nouveau_crtc.h +++ b/drivers/gpu/drm/nouveau/nouveau_crtc.h @@ -40,6 +40,8 @@ struct nouveau_crtc { int sharpness; int last_dpms; + int cursor_saved_x, cursor_saved_y; + struct { int cpp; bool blanked; |