diff options
author | Imre Deak <[email protected]> | 2016-02-16 18:56:46 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-02-22 17:44:40 +0200 |
commit | 53188eb40121a135892881c5f61e41efce60b00a (patch) | |
tree | 3d05806cb97153d98dade972d6c48ea6cff3de6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 380bdff2d05b498227c80caedd125e8cfcdba00d (diff) |
drm/i915/skl: Ensure HW is powered during DDB HW state readout
The assumption when adding the intel_display_power_is_enabled() checks
was that if it returns success the power can't be turned off afterwards
during the HW access, which is guaranteed by modeset locks. This isn't
always true, so make sure we hold a dedicated reference for the time of
the access.
Spotted-by: Mika Kuoppala <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93441
CC: Chris Wilson <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 4d800030238878c1a98d1d3a37a3d673eea661ce)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions