summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDamien Lespiau2014-08-04 23:01:33 +0200
committerDaniel Vetter2015-04-16 11:42:38 +0200
commitb403745c84592b26a0713e6944c2b109f6df5c82 (patch)
tree2a9637db41a186834ebc78e0fcea9ffe1a953bd9 /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915: suppress false PLL state warnings on non-GMCH platforms (diff)
downloadkernel-qcow2-linux-b403745c84592b26a0713e6944c2b109f6df5c82.tar.gz
kernel-qcow2-linux-b403745c84592b26a0713e6944c2b109f6df5c82.tar.xz
kernel-qcow2-linux-b403745c84592b26a0713e6944c2b109f6df5c82.zip
drm/i915: Iterate through the initialized DDIs to prepare their buffers
Not every DDIs is necessarily connected can be strapped off and, in the future, we'll have platforms with a different number of default DDI ports. So, let's only call intel_prepare_ddi_buffers() on DDI ports that are actually detected. We also use the opportunity to give a struct intel_digital_port to intel_prepare_ddi_buffers() as we'll need it in a following patch to query if the port supports HMDI or not. On my HSW machine this removes the initialization of a couple of (unused) DDIs. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
0 files changed, 0 insertions, 0 deletions