virgl/video: Add support for hevc10bit decoding.

Add P010 CONV_FORMAT to support virgl hevc10bit decoding.

Signed-off-by: Honglei Huang <honglei1.huang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Feng Jiang <jiangfeng@kylinos.cn>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22108>
This commit is contained in:
Honglei Huang 2022-12-15 16:02:09 +08:00 committed by Marge Bot
parent e1b8e4d7fc
commit 2b6301e870

View file

@ -312,6 +312,7 @@ static const enum virgl_formats virgl_formats_conv_table[PIPE_FORMAT_COUNT] = {
CONV_FORMAT(ASTC_10x10_SRGB)
CONV_FORMAT(ASTC_12x10_SRGB)
CONV_FORMAT(ASTC_12x12_SRGB)
CONV_FORMAT(P010)
};
enum virgl_formats pipe_to_virgl_format(enum pipe_format format)