]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/cirrus: add plane setup
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 4 Feb 2019 11:01:31 +0000 (12:01 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 5 Feb 2019 09:28:13 +0000 (10:28 +0100)
commitdb97dd0eef3af860a7e9886e271709590feafee7
tree36dc1610aa354e779fdd768b48042a96778975d1
parent1e55a53a28d3e52a68e11917dd25a216c3e7c182
drm/cirrus: add plane setup

Commit "f4bd542bca drm/fb-helper: Scale back depth to supported maximum"
uncovered a bug in the cirrus driver.  It must create its own primary
plane, using the correct format list, depending on the bpp module
parameter, so it is consistent with mode_config->preferred_depth.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190204110131.21467-1-kraxel@redhat.com
drivers/gpu/drm/cirrus/cirrus_mode.c