OSDN Git Service

drm/mgag200: Remove disable handling from atomic_update
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 9 Feb 2023 15:41:04 +0000 (16:41 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Feb 2023 14:20:30 +0000 (15:20 +0100)
commitb712b3830a327b171f0a00512aee5e84d45f6d36
treef8f352a207a11b06d743a57ee7f20e30cd53e0d9
parent8f85e4a1667fb12a2f0f83876ec68a75554ed5b3
drm/mgag200: Remove disable handling from atomic_update

The primary plane has the atomic_disable helper set, so atomic_update
won't be called if the plane gets disabled. Remove the respective branch
from the helper.

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-4-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c