diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-01-19 11:01:35 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-02-01 14:19:43 +0100 |
commit | 01ef9f810fef948fd2e17af20d5ee2d08ec5f05d (patch) | |
tree | eae0cfc4ccde79910a9a6dcb3bae98910cca9a55 /lib/intel_batchbuffer.c | |
parent | e9277a3b6c44ae81c2e6f403e75e7612ce750c1f (diff) |
lib/fb: Handle planar formats in igt_calc_fb_size and create_bo_for_fb
By adding support for planar formats to igt_calc_fb_size and create_bo_for_fb,
we can calculate dimensions and create backing storage for planar framebuffers.
This is required for adding support to create planar framebuffers in the next patch.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[mlankhorst: Use plane < ARRAY_SIZE(format->plane_bpp) instead of < 4.]
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions