[igt-dev] [PATCH i-g-t] tests/kms_ccs: Use correct CCS plane for semiplanar formats
Kahola, Mika
mika.kahola at intel.com
Thu Feb 13 14:05:00 UTC 2020
On Thu, 2020-02-13 at 14:03 +0200, Petri Latvala wrote:
> On Thu, Feb 13, 2020 at 11:30:41AM +0200, Mika Kahola wrote:
> > In case with semiplanar formats, we should use correct CCS plane
> > when these formats are under a test.
> >
> > Signed-off-by: Mika Kahola <mika.kahola at intel.com>
> > ---
> > lib/igt_fb.c | 2 +-
> > lib/igt_fb.h | 1 +
> > tests/kms_ccs.c | 27 ++++++++++++++++++++-------
> > 3 files changed, 22 insertions(+), 8 deletions(-)
> >
> > diff --git a/lib/igt_fb.c b/lib/igt_fb.c
> > index 8bdb0a09..0f8435a5 100644
> > --- a/lib/igt_fb.c
> > +++ b/lib/igt_fb.c
> > @@ -359,7 +359,7 @@ static const struct format_desc_struct
> > *lookup_drm_format(uint32_t drm_format)
> > return NULL;
> > }
> >
> > -static bool igt_format_is_yuv_semiplanar(uint32_t format)
> > +bool igt_format_is_yuv_semiplanar(uint32_t format)
>
>
> New exported library function could use some docs if you don't mind!
Agreed. Some documentation would be nice to have. I'll fix that.
-Mika-
>
>
More information about the igt-dev
mailing list