drm/rockchip: pass 0 to drm_fbdev_generic_setup()
Subsystems (4)
PATCH 1/1 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]>
---
This needs [1] to be applied first.
[1] https://lore.kernel.org/all/[email protected]
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/rockchip/rockchip_drm_drv.c +1 -1
@@ -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:
Signature · 1 line
2.33.1