projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf5d10d
)
drm/i915/bios: ignore HDMI on port A
author
Jani Nikula
<
[email protected]
>
Thu, 21 Sep 2017 14:19:20 +0000
(17:19 +0300)
committer
Rodrigo Vivi
<
[email protected]
>
Tue, 26 Sep 2017 16:14:28 +0000
(09:14 -0700)
The hardware state readout oopses after several warnings when trying to
use HDMI on port A, if such a combination is configured in VBT. Filter
the combo out already at the VBT parsing phase.
v2: also ignore DVI (Ville)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102889
Cc:
[email protected]
Cc: Imre Deak <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Tested-by: Daniel Drake <
[email protected]
>
Signed-off-by: Jani Nikula <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
(cherry picked from commit
d27ffc1d00327c29b3aa97f941b42f0949f9e99f
)
Signed-off-by: Rodrigo Vivi <
[email protected]
>
drivers/gpu/drm/i915/intel_bios.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_bios.c
b/drivers/gpu/drm/i915/intel_bios.c
index 183e87e8ea319ee7b4c8cb67dadbe6aaf159f106..00c6aee0a9a1902978516cd08514fa9330b424c8 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_bios.c
+++ b/
drivers/gpu/drm/i915/intel_bios.c
@@
-1163,6
+1163,13
@@
static void parse_ddi_port(struct drm_i915_private *dev_priv, enum port port,
is_hdmi = is_dvi && (child->common.device_type & DEVICE_TYPE_NOT_HDMI_OUTPUT) == 0;
is_edp = is_dp && (child->common.device_type & DEVICE_TYPE_INTERNAL_CONNECTOR);
+ if (port == PORT_A && is_dvi) {
+ DRM_DEBUG_KMS("VBT claims port A supports DVI%s, ignoring\n",
+ is_hdmi ? "/HDMI" : "");
+ is_dvi = false;
+ is_hdmi = false;
+ }
+
info->supports_dvi = is_dvi;
info->supports_hdmi = is_hdmi;
info->supports_dp = is_dp;