diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2018-11-06 22:08:41 +0300 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2018-11-09 21:49:38 +0300 |
commit | b2fc2252ce41d004a23be7dd90ab3b88394df4d6 (patch) | |
tree | 0b719c7bca96ee27b2f63bc1818171cba547e140 /tools/perf/scripts/python/sched-migration.py | |
parent | 26f9ec9a9a4a2d97a86f6bd0084dcda4d88b89ef (diff) | |
download | linux-b2fc2252ce41d004a23be7dd90ab3b88394df4d6.tar.xz |
drm/i915/psr: Always wait for idle state when disabling PSR
It should always wait for idle state when disabling PSR because PSR
could be inactive due a call to intel_psr_exit() and while PSR is
still being disabled asynchronously userspace could change the
modeset causing a call to psr_disable() that will not wait for PSR
idle and then PSR will be enabled again while PSR is still not idle.
v2: rebased on top of the patch reusing psr_exit()
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181106190843.18009-2-jose.souza@intel.com
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions