diff options
author | Ville Syrjälä <[email protected]> | 2016-08-08 10:55:10 +0300 |
---|---|---|
committer | Sean Paul <[email protected]> | 2016-08-08 14:19:45 -0400 |
commit | df86af9133b4958a04c44828d29617eb1a6ff31c (patch) | |
tree | 780d449387d54ad0a8bc09fc4d390d7f4fc7d56f /tools/perf/scripts/python/bin | |
parent | d7da824d9edeb7d83676c11d800b8243d87eafbf (diff) |
drm/plane-helper: Add drm_plane_helper_check_state()
Add a version of drm_plane_helper_check_update() which takes a plane
state instead of having the caller pass in everything.
And to reduce code duplication, let's reimplement
drm_plane_helper_check_update() in terms of the new function, by
having a tempororary plane state on the stack.
v2: Add a note that the functions modifies the state (Chris)
v3: Fix drm_plane_helper_check_update() y coordinates (Daniel Kurtz)
Cc: Daniel Kurtz <[email protected]>
Cc: Chris Wilson <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Sean Paul <[email protected]> (v2)
Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions