drm/i915/skl: Enable DDI-E
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Sat, 8 Aug 2015 00:35:21 +0000 (17:35 -0700)
committerJani Nikula <jani.nikula@intel.com>
Mon, 31 Aug 2015 15:28:09 +0000 (18:28 +0300)
commit2800e4c228b8961c4da1a4925cc20c16e623851b
treef3addbbeb1e3dca02e4d08efbfec4a33cf683f3c
parent11c1b657c42f65c43f866b611956ef0a10bedafc
drm/i915/skl: Enable DDI-E

There are OEMs using DDI-E out there,
so let's enable it.

Unfortunately there is no detection bit for DDI-E
So we need to rely on VBT for that.

I also need to give credits to Xiong since before seing
his approach to check info->support_* I was creating an ugly
vbt->ddie_sfuse_strap in order to propagate the ddi presence info

v2: Rebased as last patch in the series. since all other patches
in this series are needed for anything working propperly on DDI-E.

Credits-to: "Zhang, Xiong Y" <xiong.y.zhang@intel.com>
Cc: "Zhang, Xiong Y" <xiong.y.zhang@intel.com>
Reviewed-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h
drivers/gpu/drm/i915/intel_display.c