Skip to content

Commit f2ed93a

Browse files
johnkeepingThomas Zimmermann
authored andcommitted
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 <[email protected]> Signed-off-by: John Keeping <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 24af7c3 commit f2ed93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/rockchip/rockchip_drm_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static int rockchip_drm_bind(struct device *dev)
165165
if (ret)
166166
goto err_kms_helper_poll_fini;
167167

168-
drm_fbdev_generic_setup(drm_dev, 32);
168+
drm_fbdev_generic_setup(drm_dev, 0);
169169

170170
return 0;
171171
err_kms_helper_poll_fini:

0 commit comments

Comments
 (0)