diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-03-19 11:24:43 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-03-26 15:04:13 +0200 |
commit | 1965dbd535eec6064803484eb014a2d9a0cf6a30 (patch) | |
tree | 84db5b83be8beaf1ed70dcea476ece254e8b5479 /scripts/bpf_doc.py | |
parent | 26410896206342c8a80d2b027923e9ee7d33b733 (diff) |
drm/i915/bios: Use the platform's port_mask when there is no VBT
When we have no VBT we currently assume ports A-F are
all pontially valid for every platform. That is nonsense.
Grab the bitmask of valid ports from the runtime info
instead.
Although the defaults we actually fill here look semi-sensible
only for hsw-skl era hardware. Dunno if we should try to do
something more appropriate here for other platforms,
or just try to nuke the whole thing?
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240319092443.15769-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions