amd/vpelib: Remove support for non-linear FP16

- Remove support for non-linear FP16

Reviewed-by: Roy Chan <Roy.Chan@amd.com>
Acked-by: Jack Chih <chiachih@amd.com>
Signed-off-by: Navid Assadian <navid.assadian@amd.com>
---

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28972>
This commit is contained in:
chiachih 2024-04-27 11:09:42 +08:00 committed by Marge Bot
parent acad1328a1
commit 0e6df4d458

View file

@ -408,6 +408,9 @@ bool vpe10_check_output_color_space(struct vpe_priv *vpe_priv, enum vpe_surface_
if (cs == COLOR_SPACE_UNKNOWN || tf == TRANSFER_FUNC_UNKNOWN)
return false;
if (vpe_is_fp16(format) && tf != TRANSFER_FUNC_LINEAR)
return false;
return true;
}