diff options
author | Dhinakaran Pandiyan <[email protected]> | 2018-05-11 12:51:41 -0700 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2018-05-24 16:15:14 +0300 |
commit | 84bb2916a6835636fe28e8db192c3293f2d4df21 (patch) | |
tree | 1860c972135085094eca489a315dc6020e6b61c0 /tools/perf/scripts/python/syscall-counts.py | |
parent | 8cf6da7ef755c8e09094baae941134b771bd4344 (diff) |
drm/i915/psr: Check for SET_POWER_CAPABLE bit at PSR init time.
By moving the check from psr_compute_config() to psr_init_dpcd(), we get
to set the dev_priv->psr.sink_support flag only when the panel is
capable of changing power state. An additional benefit is that the check
will be performed only at init time instead of every atomic_check.
This should change the psr_basic IGT failures on HSW to skips.
v2: Return early when SET_POWER_CAPABLE bit is 0 (Jose)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106217
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106346
Cc: José Roberto de Souza <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions