Commit 14e591a
drm/i915: Populate encoder->devdata for DSI on icl+
We now have some eDP+DSI dual panel systems floating around
where the DSI panel is the secondary LFP and thus needs to
consult "panel type 2" in VBT in order to locate all the
other panel type dependant stuff correctly.
To that end we need to pass in the devdata to
intel_bios_init_panel_late(), otherwise it'll just assume
we want the primary panel type. So let's try to just populate
the vbt.ports[] stuff and encoder->devdata for icl+ DSI
panels as well.
We can't do this on older platforms as there we risk a DSI
port aliasing with a HDMI/DP port, which is a totally legal
thing as the DSI ports live in their own little parallel
universe.
Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8016
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230207064337.18697-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit ba00eb6)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>1 parent 8f9f5fb commit 14e591a
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
2046 | | - | |
| 2046 | + | |
| 2047 | + | |
2047 | 2048 | | |
2048 | 2049 | | |
2049 | 2050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2593 | 2593 | | |
2594 | 2594 | | |
2595 | 2595 | | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
2596 | 2602 | | |
2597 | 2603 | | |
2598 | 2604 | | |
| |||
2643 | 2649 | | |
2644 | 2650 | | |
2645 | 2651 | | |
2646 | | - | |
| 2652 | + | |
2647 | 2653 | | |
2648 | 2654 | | |
2649 | 2655 | | |
2650 | 2656 | | |
2651 | 2657 | | |
2652 | 2658 | | |
2653 | 2659 | | |
| 2660 | + | |
2654 | 2661 | | |
2655 | 2662 | | |
2656 | 2663 | | |
2657 | 2664 | | |
2658 | 2665 | | |
2659 | | - | |
2660 | | - | |
| 2666 | + | |
| 2667 | + | |
2661 | 2668 | | |
2662 | 2669 | | |
2663 | 2670 | | |
| |||
2710 | 2717 | | |
2711 | 2718 | | |
2712 | 2719 | | |
| 2720 | + | |
| 2721 | + | |
2713 | 2722 | | |
2714 | 2723 | | |
2715 | 2724 | | |
| |||
0 commit comments