aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAlexandru Gheorghe <[email protected]>2018-08-04 17:15:29 +0100
committerAlexandru Gheorghe <[email protected]>2018-08-08 19:07:58 +0100
commit42da633809c1d76078c313a5bd35a9cb93a6f447 (patch)
tree44ad297b4fcb591953d7b8587a7bb527808f6031 /scripts/gcc-plugins/sancov_plugin.c
parente750218d26c3648698bfe9e2858012443f08c734 (diff)
drm/vc4: Use __drm_atomic_helper_plane_reset instead of copying the logic
A new helper function(__drm_atomic_helper_plane_reset) has been added for linking a plane with its state and resetting the core properties(alpha, rotation, etc.) to their default values. Use that instead of duplicating the logic. __drm_atomic_helper_plane_reset initializes the alpha property to its max value, which is defined by the drm core as DRM_BLEND_ALPHA_OPAQUE, so nothing changes regarding the alpha value. Signed-off-by: Alexandru Gheorghe <[email protected]> Acked-by: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions