OSDN Git Service

drm/ast: Split ast_set_ext_reg() into color and threshold function
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 7 Nov 2019 08:33:59 +0000 (09:33 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 8 Nov 2019 10:03:10 +0000 (11:03 +0100)
commit0d45ad989d0262e4f289600d39d765df0c8871af
tree012c43a3dc3c3aeed6df78ada485aa083bb5a643
parenta21fdd7a4cd6952f39a2e2b0695f62c376bb28f4
drm/ast: Split ast_set_ext_reg() into color and threshold function

In ast_set_ext_reg() sets several framebuffer options and CRT threshold
parameters. The former is mostly state of the primary plane; the latter
is constant. Hence, split the function in two and make it work with
atomic modesetting.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107083404.6852-5-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c