linux/drivers/gpu/drm/atmel-hlcdc
Alexandru Gheorghe e2512172d1 drm: atmel-hlcdc: 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.

Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180804161530.12275-5-alexandru-cosmin.gheorghe@arm.com
2018-08-06 11:41:49 +01:00
..
atmel_hlcdc_crtc.c drm: Nuke drm_atomic_helper_crtc_set_property 2017-08-08 14:45:16 +02:00
atmel_hlcdc_dc.c drm/atmel-hlcdc: Stop using plane->fb 2018-05-25 21:21:39 +03:00
atmel_hlcdc_dc.h drm/atmel-hclcdc: Convert to the new generic alpha property 2018-04-16 21:20:40 +02:00
atmel_hlcdc_output.c Merge tag 'drm-misc-next-2017-06-15' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-06-16 09:33:43 +10:00
atmel_hlcdc_plane.c drm: atmel-hlcdc: Use __drm_atomic_helper_plane_reset instead of copying the logic 2018-08-06 11:41:49 +01:00
Kconfig drm/atmel-hlcdc: make fbdev support really optional 2016-07-15 10:28:33 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00