summaryrefslogtreecommitdiff
path: root/linux-core/nv50_crtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/nv50_crtc.h')
-rw-r--r--linux-core/nv50_crtc.h4
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;