drm/cirrus: Load lut in crtc_commit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 31 Jan 2018 11:04:50 +0000 (12:04 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 31 Jan 2018 12:14:33 +0000 (13:14 +0100)
commit745fd50f3b044db6a3922e1718306555613164b0
treef189465714896c0ab6f2df6bf35ba5496fecbd8e
parent17b11b76b87afe9f8be199d7a5f442497133e2b0
drm/cirrus: Load lut in crtc_commit

In the past the ast driver relied upon the fbdev emulation helpers to
call ->load_lut at boot-up. But since

commit b8e2b0199cc377617dc238f5106352c06dcd3fa2
Author: Peter Rosin <peda@axentia.se>
Date:   Tue Jul 4 12:36:57 2017 +0200

drm/fb-helper: factor out pseudo-palette

that's cleaned up and drivers are expected to boot into a consistent
lut state. This patch fixes that.

Fixes: b8e2b0199cc3 ("drm/fb-helper: factor out pseudo-palette")
Cc: Peter Rosin <peda@axenita.se>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: <stable@vger.kernel.org> # v4.14+
References: https://bugzilla.kernel.org/show_bug.cgi?id=198123
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180131110450.22153-1-daniel.vetter@ffwll.ch
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/cirrus/cirrus_mode.c