]> git.baikalelectronics.ru Git - kernel.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)
commit4c8b74a2fc1148d9be99c6a7e38e99750427b0c2
tree36dc1610aa354e779fdd768b48042a96778975d1
parentf8ba0a853c0904e95726c124db805a6ff8bbebdb
drm/cirrus: add plane setup

Commit "39c4a78dc1 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