aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-04 16:41:29 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-06 02:01:07 -0400
commit5e2b584ed1563c4c5199510710df6eaa1a36f3b1 (patch)
tree1d7afbb8988c4f1639d37ca2dbc33f37221958d5 /drivers/gpu/drm/i915/intel_drv.h
parent85f9eb71fec3322dc3670207ca5c1706467e701c (diff)
drm/i915: extract intel_set_config_compute_mode_changes
This computes what exactly changed in the modeset configuration, i.e. whether a full modeset is required or only an update of the framebuffer base address or no change at all. In the future we might add more checks for e.g. when only the output mode changed, so that we could do a minimal modeset for outputs that support this. Like the lvds/eDP panels where we only need to update the panel fitter. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 1cb64dd9c7f0..fad11c83ba40 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -427,6 +427,9 @@ struct intel_set_config {
427 struct drm_connector *save_connectors; 427 struct drm_connector *save_connectors;
428 struct drm_encoder *save_encoders; 428 struct drm_encoder *save_encoders;
429 struct drm_crtc *save_crtcs; 429 struct drm_crtc *save_crtcs;
430
431 bool fb_changed;
432 bool mode_changed;
430}; 433};
431 434
432extern bool intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode, 435extern bool intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,