]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't write the HDMI buffer translation entry when not needed
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Aug 2014 14:04:43 +0000 (15:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Apr 2015 09:42:39 +0000 (11:42 +0200)
commit60b45006cdbc7c811ffdfe88bf77fcdada0b1d1f
tree578d349352c0151617a403678818b6da8e2717ab
parent1407c2c719afae802550f5579ec394ae28e02d0d
drm/i915: Don't write the HDMI buffer translation entry when not needed

We don't actually need to write the HDMI entry on DDIs that have no
chance to be used as HDMI ports.

While this patch shouldn't change the current behaviour, it makes
further enabling work easier as we'll have an eDP table filling the full
10 entries.

v2: Rely on the logic from intel_ddi_init() to figure out if the DDI port
    supports HDMI or not (Paulo).

Suggested-by: Satheeshakrishna M <satheeshakrishna.m@intel.com>
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>
drivers/gpu/drm/i915/intel_ddi.c