diff options
author | Chris Wilson <[email protected]> | 2018-04-05 12:49:15 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-04-10 11:38:42 +0100 |
commit | daeb725e919c0d2d4b628aeaa1fa053125f888b2 (patch) | |
tree | 50e2a2fbe5b61fe7dd7d96add9709e08985310b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1b85147b4b8fb90da51b6e94a3e6c30469bf1de1 (diff) |
drm/i915/psr: Chase psr.enabled only under the psr.lock
Inside the psr work function, we want to wait for PSR to idle first and
wish to do so without blocking the normal modeset path, so we do so
without holding the PSR lock. However, we first have to find which pipe
PSR was enabled on, which requires chasing into the PSR struct and
requires locking to prevent intel_psr_disable() from concurrently
setting our pointer to NULL.
Fixes: 995d30477496 ("drm/i915: VLV/CHV PSR Software timer mode")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Durgadoss R <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: <[email protected]> # v4.0+
Reviewed-by: Jose Roberto de Souza <[email protected]>
Acked-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions