Re: [PATCH 2/2] drm/rockchip: Add support for afbc

2019-10-11 Thread Daniel Stone
Hi Andrzej, On Fri, 11 Oct 2019 at 12:18, Andrzej Pietrasiewicz wrote: > @@ -32,6 +35,46 @@ rockchip_fb_alloc(struct drm_device *dev, const struct > drm_mode_fb_cmd2 *mode_cm > int ret; > int i; > > + if (mode_cmd->modifier[0]) { > + const struct drm_format_in

[PATCH 2/2] drm/rockchip: Add support for afbc

2019-10-11 Thread Andrzej Pietrasiewicz
This patch adds support for afbc handling. afbc is a compressed format which reduces the necessary memory bandwidth. Co-developed-by: Mark Yao Signed-off-by: Mark Yao Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/Kconfig| 1 + drivers/gpu/drm/rockchip/rockchip