]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: pass 0 to drm_fbdev_generic_setup()
authorJohn Keeping <john@metanate.com>
Mon, 1 Nov 2021 11:46:22 +0000 (11:46 +0000)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Dec 2021 12:57:29 +0000 (13:57 +0100)
commitf07c4cd582327c6d2668d4216592a9f898bae667
tree434c1986520e6da88a546e475aeaae021c29a039
parent0e43343f404eed6ce6c6d940e895f8d0658e855b
drm/rockchip: pass 0 to drm_fbdev_generic_setup()

Allow drm_fbdev_generic_setup() to pick the default bpp value for the
framebuffer.

This has no functional impact because the default is 32, given that
mode_config.preferred_depth is not set for Rockchip.

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211101114622.813536-1-john@metanate.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.c