diff options
| author | José Roberto de Souza <[email protected]> | 2022-04-06 14:05:40 -0700 |
|---|---|---|
| committer | José Roberto de Souza <[email protected]> | 2022-04-08 10:20:31 -0700 |
| commit | ce21211b4d6b992bd727fb8338bf2a8319288503 (patch) | |
| tree | 2917399111c5590d54a2be5e099d2047a7f75d01 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4b276ed3c7ace7ca41e8963b199358fd55f493af (diff) | |
drm/i915/display: Fix warnings about PSR lock not held
Commit 3b6f409547fb ("drm/i915/display/psr: Lock and unlock PSR around
pipe updates") did not took into account async flips with PSR1 and
PSR2 HW tracking, causing PSR lock not be held and causing warnings
when intel_psr2_program_trans_man_trk_ctl() is executed.
So here taking the PSR lock before the earlier return in
intel_pipe_update_start/end().
Cc: Jouni Högander <[email protected]>
Reported-by: Imre Deak <[email protected]>
Fixes: 3b6f409547fb ("drm/i915/display/psr: Lock and unlock PSR around pipe updates")
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions