[PATCH v3 09/10] drm/vc4: Use __drm_atomic_helper_plane_reset instead of copying the logic
Alexandru-Cosmin Gheorghe
Alexandru-Cosmin.Gheorghe at arm.com
Wed Aug 8 18:16:23 UTC 2018
Hi Eric,
On Mon, Aug 06, 2018 at 12:58:20PM -0700, Eric Anholt wrote:
> Alexandru Gheorghe <alexandru-cosmin.gheorghe at arm.com> writes:
>
> > 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 at arm.com>
>
> Acked-by: Eric Anholt <eric at anholt.net>
Pushed to drmi-misc-next.
--
Cheers,
Alex G
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the dri-devel
mailing list