[PATCH] drm/format-helper: Update tests after BT601 changes

Javier Martinez Canillas javierm at redhat.com
Fri Jun 13 11:29:51 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Commit a979a54165c2 ("drm/format-helper: Normalize BT.601 factors
> to 256") improved rounding precicion of the BT601 calculation, which
> impacts the results of soem of the format-helper tests. Adapt the test
> to the new results.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Fixes: a979a54165c2 ("drm/format-helper: Normalize BT.601 factors to 256")
> Cc: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Javier Martinez Canillas <javierm at redhat.com>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Maxime Ripard <mripard at kernel.org>
> ---
>  drivers/gpu/drm/tests/drm_format_helper_test.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>

Acked-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list