]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/ast: Load lut in crtc_commit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Jan 2018 15:40:16 +0000 (16:40 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Feb 2018 14:27:12 +0000 (08:27 -0600)
commit1e8dce0c21cbfa6a845711320160c67381db178f
treeac5ac419b322a02bd39f9d71bb545bfbbfe881f7
parent63cb8bacda19684eaf54a272779fb52c60e165ef
drm/ast: Load lut in crtc_commit

BugLink: http://bugs.launchpad.net/bugs/1751131
commit 24b8ef699e8221d2b7f813adaab13eec053e1507 upstream.

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+
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=198123
Cc: Bill Fraser <bill.fraser@gmail.com>
Reported-and-Tested-by: Bill Fraser <bill.fraser@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/ast/ast_mode.c