mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-15 10:24:44 +08:00
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
This commit is contained in:
parent
24af7c34b2
commit
f2ed93a4dc
@ -165,7 +165,7 @@ static int rockchip_drm_bind(struct device *dev)
|
||||
if (ret)
|
||||
goto err_kms_helper_poll_fini;
|
||||
|
||||
drm_fbdev_generic_setup(drm_dev, 32);
|
||||
drm_fbdev_generic_setup(drm_dev, 0);
|
||||
|
||||
return 0;
|
||||
err_kms_helper_poll_fini:
|
||||
|
Loading…
Reference in New Issue
Block a user