diff options
author | Rodrigo Vivi <[email protected]> | 2018-07-19 17:31:55 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2018-08-06 11:17:52 -0700 |
commit | 656921a51244b72cd1105df61b0af15825bddb72 (patch) | |
tree | 35ea7e685cae3074bfe0243ad261966c2fe2974a /tools/perf/util/trace-event-scripting.c | |
parent | 15da09500a7053612e4ab049ff998e99a77a8df0 (diff) |
drm/i915: Fix psr sink status report.
First of all don't try to read dpcd if PSR is not even supported.
But also, if read failed return -EIO instead of reporting via a
backchannel.
v2: fix dev_priv: At this level m->private is the connector. (CI/DK)
don't convert dpcd read errors to EIO. (DK)
Fixes: 5b7b30864d1d ("drm/i915/psr: Split sink status into a separate debugfs node")
Cc: Chris Wilson <[email protected]>
Cc: Dhinakaran Pandiyan <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Dhinakaran Pandiyan <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 7a72c78bdd0a1ea1d879610542679cc680398220)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions