Commit f2ed93a4 authored by John Keeping's avatar John Keeping Committed by Thomas Zimmermann

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: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarJohn Keeping <john@metanate.com>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211101114622.813536-1-john@metanate.com
parent 24af7c34
...@@ -165,7 +165,7 @@ static int rockchip_drm_bind(struct device *dev) ...@@ -165,7 +165,7 @@ static int rockchip_drm_bind(struct device *dev)
if (ret) if (ret)
goto err_kms_helper_poll_fini; goto err_kms_helper_poll_fini;
drm_fbdev_generic_setup(drm_dev, 32); drm_fbdev_generic_setup(drm_dev, 0);
return 0; return 0;
err_kms_helper_poll_fini: err_kms_helper_poll_fini:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment