Re: [PATCH 2/2] drm/core: Calculate bpp in afbc helper

2020-04-01 Thread Daniel Vetter
On Tue, Mar 31, 2020 at 05:53:08PM +0200, Andrzej Pietrasiewicz wrote: > Some drivers (komeda, malidp) don't set anything in cpp. If that is the > case the right value can be inferred from the format. Then the "bpp" member > can be eliminated from struct drm_afbc_framebuffer. > > Signed-off-by: An

[PATCH 2/2] drm/core: Calculate bpp in afbc helper

2020-03-31 Thread Andrzej Pietrasiewicz
Some drivers (komeda, malidp) don't set anything in cpp. If that is the case the right value can be inferred from the format. Then the "bpp" member can be eliminated from struct drm_afbc_framebuffer. Signed-off-by: Andrzej Pietrasiewicz --- Documentation/gpu/todo.rst | 15 -