commit | bcf6293d7ae931159fac4fbd9924b0276f1edabd | [log] [tgz] |
---|---|---|
author | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | Tue Mar 31 17:53:08 2020 +0200 |
committer | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | Wed Apr 01 14:11:22 2020 +0200 |
tree | d2cee9e3139ae3e4fa3dc9ed4d42383b67cf917d | |
parent | 88f1b29a44b197852828d3aba5fefa0082d377ff [diff] |
drm/core: Calculate bpp in afbc helper 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 <andrzej.p@collabora.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200331155308.6345-3-andrzej.p@collabora.com