]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Introduce custom CRTC state
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 14 Jul 2021 14:22:39 +0000 (16:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:14:12 +0000 (20:14 +0200)
commit51b569394b47018132edde01b50e77a4e5f3919d
tree4037e2369b8a7d4a482c15ea779afea47ac058ac
parent38c5af44a75ac1c76da8f8eec578670ff65471c0
drm/mgag200: Introduce custom CRTC state

Inherit from struct drm_crtc_state by embeding it and providing the
rsp callbacks for simple-kms helpers. No functional changes.

The new state struct mgag200_crtc_state will hold PLL values for modeset
operations.

v2:
* move the simple-kms changes into a separate patch (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210714142240.21979-13-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_mode.c