aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <[email protected]>2015-04-21 17:13:07 +0300
committerDaniel Vetter <[email protected]>2015-05-08 13:04:02 +0200
commit9eb45f228f24a2d1d98cb526e149aa18ba1f5ef5 (patch)
tree4c19b406f32b8ce56d82a74d99247bc72490c641 /tools/perf/scripts/python
parent054518ddff87565022bf1eb1578fcb00e42cc847 (diff)
drm/i915: Simplify error handling in __intel_set_mode()
The remaining parts of the failure path could only be reached if the allocation of crtc_state_copy would fail. In that case, there is nothing to undo, so just get rid of the label for error handling and return an error code immediately. We also always allocate a pipe_config, even if the pipe is being disabled, so the remaining part of what was the error/done case can be simplified a little too. v2: Ignore return value from drm_plane_helper_update(). (Ander) Signed-off-by: Ander Conselvan de Oliveira <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions