diff options
| author | Matt Atwood <[email protected]> | 2021-09-01 21:33:58 +0530 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2021-09-02 15:42:48 +0300 |
| commit | 6fd5a7c92eae512c6760391731ed1b4a9de1c4a6 (patch) | |
| tree | 32a4ec3cbc01a5f96f1b4c3c57136cfca3014e71 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 344c32783044e75be56cbc6e34719cb0852f0af9 (diff) | |
drm/i915/dp: Fix eDP max rate for display 11+
intel_dp_set_source_rates() calls intel_dp_is_edp(), which is unsafe to
use before intel_encoder->type is set. This causes incorrect max source
rate to be used for display 11+. On EHL and JSL, HBR3 is used instead of
HBR2, and on the other affected platforms, HBR2 is used instead of HBR3.
Move intel_dp_set_source_rates() to after intel_encoder->type is
set. Add comment to intel_dp_is_edp() describing unsafe usages. Cleanup
intel_dp_init_connector() while at it.
Note: The same change was originally added as commit 680c45c767f6
("drm/i915/dp: Correctly advertise HBR3 for GEN11+"), but later reverted
due to issues in CI in commit d3913019602e ("Revert "drm/i915/dp:
Correctly advertise HBR3 for GEN11+"").
Cc: Uma Shankar <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Matt Atwood <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Signed-off-by: Animesh Manna <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions