amd/vpelib: Add RGB 601 Primaires to BG Color

[WHY]
RGB 601 Primaries are missing from vpe_is_limited_cs

[HOW]
Add 601 primaries to the switch statement

Acked-by: Chuanyu Tseng <Chuanyu.Tseng@amd.com>
Signed-Off-by: Jesse Agate <Jesse.Agate@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39848>
This commit is contained in:
Agate, Jesse 2025-11-27 04:13:27 -05:00 committed by Marge Bot
parent edf352a71a
commit 39187b36b5

View file

@ -382,6 +382,7 @@ bool vpe_is_limited_cs(enum color_space cs)
switch (cs)
{
case COLOR_SPACE_RGB601:
case COLOR_SPACE_SRGB:
case COLOR_SPACE_2020_RGB_FULLRANGE:
case COLOR_SPACE_MSREF_SCRGB:
@ -392,6 +393,7 @@ bool vpe_is_limited_cs(enum color_space cs)
case COLOR_SPACE_2020_YCBCR:
is_limited = false;
break;
case COLOR_SPACE_RGB601_LIMITED:
case COLOR_SPACE_SRGB_LIMITED:
case COLOR_SPACE_YCBCR601_LIMITED:
case COLOR_SPACE_YCBCR709_LIMITED: