diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-01-18 17:12:57 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-02-01 13:18:31 +0100 |
commit | e9277a3b6c44ae81c2e6f403e75e7612ce750c1f (patch) | |
tree | f362e0066871d62ba8223efa2d09ad23e3a7568f /tools | |
parent | be2f6fc1cba25372837daed6cec19107d44d3eb5 (diff) |
lib/igt_fb: Pass format to igt_calc_fb_size
bpp is only sufficient to calculate dimensions for packed formats, in
case of planar formats we need to pass the drm format fourcc, which
will give us better information.
This is required for supporting planar framebuffers.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions