summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDaniel Vetter2013-02-14 16:54:22 +0100
committerDaniel Vetter2013-04-29 21:51:14 +0200
commitca3a0ff80faa7ee043fd615c9d9394757e2acb09 (patch)
treec5ed6450b737dd5aaf44e0125b30b422c489cd1d /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915: hw state readout support for pipe_config->fdi_lanes (diff)
downloadkernel-qcow2-linux-ca3a0ff80faa7ee043fd615c9d9394757e2acb09.tar.gz
kernel-qcow2-linux-ca3a0ff80faa7ee043fd615c9d9394757e2acb09.tar.xz
kernel-qcow2-linux-ca3a0ff80faa7ee043fd615c9d9394757e2acb09.zip
drm/i915: split up fdi_set_m_n into computation and hw setup
And also move the computed m_n values into the pipe_config. This is a prep step to move the fdi state computation completely into the prepare phase of the modeset sequence. Which will allow us to handle fdi link bw constraints in a better way. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index cc075a312ea3..48f309eaf7aa 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -250,8 +250,9 @@ struct intel_crtc_config {
u32 size;
} pch_pfit;
- /* FDI lanes used, only valid if has_pch_encoder is set. */
+ /* FDI configuration, only valid if has_pch_encoder is set. */
int fdi_lanes;
+ struct intel_link_m_n fdi_m_n;
};
struct intel_crtc {