diff options
author | Lucas De Marchi <[email protected]> | 2021-07-22 16:29:22 -0700 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2021-07-24 21:56:42 -0700 |
commit | ec387b8ff8d757561369be9a280cf63f23bbb926 (patch) | |
tree | 91b6b9d738b88f0989ab5f0684179a1cae10087b /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | 4fd177288a4ee046bd8590355a64de855dcf77e2 (diff) |
drm/i915/display: split DISPLAY_VER 9 and 10 in intel_setup_outputs()
Commit 5a9d38b20a5a ("drm/i915/display: hide workaround for broken vbt
in intel_bios.c") moved the workaround for broken or missing VBT to
intel_bios.c. However is_port_valid() only protects the handling of
different skus of the same display version. Since in
intel_setup_outputs() we share the code path with version 9, this would
also create port F for SKL/KBL, which does not exist.
Missing VBT can be reproduced when starting a headless QEMU with no
opregion available.
Avoid the issue by splitting versions 9 and 10 in intel_setup_outputs(),
which also makes it more clear what code path it's taking for each
version.
v2: move generic display version after Geminilake since that one has
a different set of outputs
Fixes: 5a9d38b20a5a ("drm/i915/display: hide workaround for broken vbt in intel_bios.c")
Cc: Jani Nikula <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Reported-by: Christoph Hellwig <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Tested-by: Christoph Hellwig <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions