diff options
| author | Thomas Hellstrom <[email protected]> | 2018-10-04 22:24:41 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2018-10-05 22:43:41 +0200 |
| commit | 40e3defd19cecb308c6e6441853766401864a75b (patch) | |
| tree | 2834f7525e90d293a067a8041df821ea0768e8a8 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 6b6fce62f65c19590bee8102f7946a26eaf0b054 (diff) | |
drm/vmwgfx: Fix vmw_du_cursor_plane_atomic_check
Use the correct helper and also return early on helper
success rather than on helper failure.
Also explicitly return 0 in the case of no fb.
v2: Check for !fb after updating state->visible (Ville).
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]> (v1)
Reported-by: Dan Carpenter <[email protected]>
Reported-by: Daniel Vetter <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: VMware Graphics <[email protected]>
Cc: Sinclair Yeh <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Acked-by: Thomas Hellstrom <[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