[PATCH] drm/komeda: Adds internal bpp computing for arm afbc only format YU08 YU10

2019-08-05 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" The drm_format_info doesn't have any cpp or block_size (both are zero) information for arm only afbc format YU08/YU10. we need to compute it by ourselves. Changes since v1: 1. Removed redundant warning check in komeda_get_afbc_format_bpp(); 2. Removed a re

Re: [PATCH] drm/komeda: Adds internal bpp computing for arm afbc only format YU08 YU10

2019-08-05 Thread Lowry Li (Arm Technology China)
Hi Liviu, On Fri, Jul 26, 2019 at 01:08:23PM +, Liviu Dudau wrote: > Hi Lowry, > > On Fri, Jul 26, 2019 at 07:51:02AM +, Lowry Li (Arm Technology China) > wrote: > > The drm_format_info doesn't have any cpp or block_size (both are zero) > > information for arm only afbc format YU08/YU10.

Re: [PATCH] drm/komeda: Adds internal bpp computing for arm afbc only format YU08 YU10

2019-07-26 Thread Liviu Dudau
Hi Lowry, On Fri, Jul 26, 2019 at 07:51:02AM +, Lowry Li (Arm Technology China) wrote: > The drm_format_info doesn't have any cpp or block_size (both are zero) > information for arm only afbc format YU08/YU10. we need to compute it > by ourselves. > > Signed-off-by: Lowry Li (Arm Technology C

[PATCH] drm/komeda: Adds internal bpp computing for arm afbc only format YU08 YU10

2019-07-26 Thread Lowry Li (Arm Technology China)
The drm_format_info doesn't have any cpp or block_size (both are zero) information for arm only afbc format YU08/YU10. we need to compute it by ourselves. Signed-off-by: Lowry Li (Arm Technology China) --- .../drm/arm/display/komeda/komeda_format_caps.c| 23 ++ .../drm/ar