diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-01-16 17:48:35 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-02-06 15:28:59 +0200 |
| commit | 97e9179cf5b48cb21d33a70a23be3991303afdd6 (patch) | |
| tree | 88705ce4152d566fd089bac3a2101c41d13f9e91 /lib/igt_collection.c | |
| parent | ba03ad7cd403ff1b44f3a2a2b7d723ec43470763 (diff) | |
lib/igt_kms: Add igt_reduce_format()
Add a helper to reduce a pixel format to a "base" format.
Ie. group all formats to some idea of classes based on the
bits per pixel + component sizes etc. ignoring any component ordering.
Let's us skip potentially redundant tests when all we might care
about is testing each format "class" the once.
v2: Add some docs (Chris)
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> #irc
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/igt_collection.c')
0 files changed, 0 insertions, 0 deletions
