summaryrefslogtreecommitdiff
path: root/samples/v4l
diff options
context:
space:
mode:
authorAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-08-04 19:15:29 +0300
committerAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-08-08 21:07:58 +0300
commit42da633809c1d76078c313a5bd35a9cb93a6f447 (patch)
tree44ad297b4fcb591953d7b8587a7bb527808f6031 /samples/v4l
parente750218d26c3648698bfe9e2858012443f08c734 (diff)
downloadlinux-42da633809c1d76078c313a5bd35a9cb93a6f447.tar.xz
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 <alexandru-cosmin.gheorghe@arm.com> Acked-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20180804161530.12275-10-alexandru-cosmin.gheorghe@arm.com
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions