This short series addresses the way bpp value is made available for drm_gem_afbc_min_size(). It can be inferred from the format if a driver hasn't set anything in cpp[0] (patch 2/2).
While at it, use proper debugging macro (patch 1/2). Andrzej Pietrasiewicz (2): drm/core: Use proper debugging macro drm/core: Calculate bpp in afbc helper Documentation/gpu/todo.rst | 15 ------- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 45 +++++++++++++++----- include/drm/drm_framebuffer.h | 7 --- 3 files changed, 35 insertions(+), 32 deletions(-) -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel