diff options
author | José Roberto de Souza <[email protected]> | 2022-06-08 13:33:44 -0700 |
---|---|---|
committer | José Roberto de Souza <[email protected]> | 2022-06-09 12:22:39 -0700 |
commit | 5c57c099f442acab13129c9e15ad2a0c31151c98 (patch) | |
tree | c88b2e0d8cff1d083bbb5cfc0357a63c0d35b4f6 /tools/perf/scripts/python/sched-migration.py | |
parent | 24b8b74eb2eb578fee046c70681000f61afa5680 (diff) |
drm/i915/display: Fix handling of enable_psr parameter
Commit 3cf050762534 ("drm/i915/bios: Split VBT data into per-panel vs.
global parts") cause PSR to be disabled when enable_psr has the
default value and there is at least one DP port that do not supports
PSR.
That was happening because intel_psr_init() is called for every DP
port and then enable_psr is globaly set to 0 based on the PSR support
of the DP port.
Here dropping the enable_psr overwritten and using the VBT PSR value
when enable_psr is set as default.
Fixes: 3cf050762534 ("drm/i915/bios: Split VBT data into per-panel vs. global parts")
Cc: Ville Syrjälä <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Jouni Högander <[email protected]>
Cc: Mika Kahola <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Reviewed-by: Jouni Högander <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions