diff options
| author | Imre Deak <[email protected]> | 2017-05-10 12:21:51 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2017-05-10 13:47:49 +0300 |
| commit | 0290cf3f9f77b7d31691b21cfe505e4804aa4bbb (patch) | |
| tree | d578b15aab614a26d1c01a04d3c3957c5b99d45a /tools/perf/scripts/python | |
| parent | 4519290aec0e93e2832f77db3437c332bba6506c (diff) | |
drm/i915: Check error return when converting pipe to connector
An error from intel_get_pipe_from_connector() would mean a bug somewhere
else, but we still should check for it to prevent some other more
obscure bug later.
v2:
- Fall back to a reasonable default instead of bailing out in case of
error. (Jani)
v3:
- Fix s/PIPE_INVALID/INVALID_PIPE/ typo. (Jani)
v4:
- Fix bogus bracing around WARN() condition. (Ville)
Cc: Jani Nikula <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions