diff options
author | Ville Syrjälä <[email protected]> | 2016-05-04 14:45:22 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-05-23 11:10:48 +0300 |
commit | 55d7f30ee1096474cb5bdbca46b60f23ce8b1f83 (patch) | |
tree | 4b33186d639781e4181b38a14895070f86e6dc64 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 0c2fb7c6c8fef2092051192095a7788231ba9a42 (diff) |
drm/i915: Determine DP++ type 1 DVI adaptor presence based on VBT
DP dual mode type 1 DVI adaptors aren't required to implement any
registers, so it's a bit hard to detect them. The best way would
be to check the state of the CONFIG1 pin, but we have no way to
do that. So as a last resort, check the VBT to see if the HDMI
port is in fact a dual mode capable DP port.
v2: Deal with VBT code reorganization
Deal with DRM_DP_DUAL_MODE_UNKNOWN
Reduce DEVICE_TYPE_DP_DUAL_MODE_BITS a bit
Accept both DP and HDMI dvo_port in VBT as my BSW
at least declare its DP port as HDMI :(
v3: Ignore DEVICE_TYPE_NOT_HDMI_OUTPUT (Shashank)
Cc: [email protected]
Cc: Tore Anderson <[email protected]>
Reported-by: Tore Anderson <[email protected]>
Fixes: 7a0baa623446 ("Revert "drm/i915: Disable 12bpc hdmi for now"")
Cc: Paulo Zanoni <[email protected]>
Cc: Shashank Sharma <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Shashank Sharma <[email protected]>
(cherry picked from commit d61992565bd3cc5b66d74ed2e96df043c2a207e2)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions