diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-07-20 15:40:40 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-07-20 15:40:40 +0200 |
commit | 685bca02fe6b7406bb157a1a4e0f147b47ba28f8 (patch) | |
tree | b43a7644a3c59f374c7a758e39078ad7620d0770 /linux-core/nv50_crtc.h | |
parent | e51cd78cac24df15e32e23d8db73614524e6ff0d (diff) |
NV50: delay changing gpu<->non-gpu scaling modes until next modeset
Diffstat (limited to 'linux-core/nv50_crtc.h')
-rw-r--r-- | linux-core/nv50_crtc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/nv50_crtc.h b/linux-core/nv50_crtc.h index 8235c9d6..b4b83584 100644 --- a/linux-core/nv50_crtc.h +++ b/linux-core/nv50_crtc.h @@ -46,6 +46,10 @@ struct nv50_crtc { bool use_native_mode; bool use_dithering; + + /* Changing scaling modes requires a modeset sometimes. */ + /* We need to know the currently active hw mode, as well as the requested one by the user. */ + int requested_scaling_mode; int scaling_mode; struct nv50_cursor *cursor; |