diff options
author | Dhinakaran Pandiyan <[email protected]> | 2018-06-18 15:02:07 -0700 |
---|---|---|
committer | Dhinakaran Pandiyan <[email protected]> | 2018-06-20 10:48:15 -0700 |
commit | 98fa2aecb5096bbeb18f6509ffd181aafe4d267d (patch) | |
tree | 4553475595086e222a380dc7d0e4aa10d91d3b09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f648661bc7de497634c474a38608a715a0af4bbd (diff) |
drm/i915/psr: Fix warning in intel_psr_activate()
commit 5422b37c907e ("drm/i915/psr: Kill delays when activating psr
back.") removed the call to cancel a scheduled psr_work from
psr_disable() and instead added an early return in the work function. But,
if the scheduled work item is executed after psr_enable(), we end up
printing warnings as PSR is already enabled and active. So, put the
cancel_work call back in psr_disable().
Cc: Rodrigo Vivi <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Fixes: 5422b37c907e ("drm/i915/psr: Kill delays when activating psr back.")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106948
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[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