aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDhinakaran Pandiyan <[email protected]>2018-01-03 13:38:23 -0800
committerRodrigo Vivi <[email protected]>2018-01-12 15:34:11 -0800
commit4371d89601c301fdbbdb9616c887ae77b38f6404 (patch)
tree4d81d00595eac31d369e8626f7d19e1cc7b718bd /tools/perf/scripts/python/syscall-counts.py
parent457f1e5f47024793c7b4095e6647ce48ea0bf697 (diff)
drm/i915/psr: CAN_PSR() macro to check for PSR source and sink support.
The global variable dev_priv->psr.sink_support is set if an eDP sink supports PSR. Use this instead of redoing the check with is_edp_psr(). Combine source and sink support checks into a macro that can be used to return early from psr_{invalidate, single_frame_update, flush}. Cc: Rodrigo Vivi <[email protected]> Signed-off-by: Dhinakaran Pandiyan <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Rodrigo Vivi <[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