drm/mgag200: Implement struct drm_plane_helper_funcs.atomic_enable
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 9 Feb 2023 15:41:05 +0000 (16:41 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Feb 2023 14:20:41 +0000 (15:20 +0100)
commit2a742fd1640574b80682669825274122e71141e7
tree832c7e6416be997f1005683188921cace9425014
parentb712b3830a327b171f0a00512aee5e84d45f6d36
drm/mgag200: Implement struct drm_plane_helper_funcs.atomic_enable

Enable the primary plane for mgag200 hardware via atomic_enable.
Atomic helpers invoke this callback only when the plane becomes
active.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230209154107.30680-5-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_mode.c