diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-01-10 11:28:07 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-24 17:22:41 +0100 |
commit | 50741abcd1b022c6555925837601624ca5a238cd (patch) | |
tree | 1a23f14c215bd15280628650f466af5093ef0cf2 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 7668851fec5c207d1d62c4c9311e083edf940bcc (diff) | |
download | talos-op-linux-50741abcd1b022c6555925837601624ca5a238cd.tar.gz talos-op-linux-50741abcd1b022c6555925837601624ca5a238cd.zip |
drm/i915: Prepare to track new pipe config per pipe
Add a new_config pointer to intel_crtc which will point to the new pipe
config for said crtc while intel_crtc.config will still contain the old
config during first parts of the modeset operation. This is a step
towards having the entire new state available during the compute phase,
so that we can make accurate decisions about global resource usage.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 718befff98e8..02dadef3479c 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -359,6 +359,7 @@ struct intel_crtc { bool cursor_visible; struct intel_crtc_config config; + struct intel_crtc_config *new_config; bool new_enabled; uint32_t ddi_pll_sel; |