pipe: Add PIPE_VIDEO_SLICE_MODE_AUTO for gallium driver auto-partition

Reviewed-By: Pohsiang Hsu <pohhsu@microsoft.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34844>
This commit is contained in:
Sil Vilerino 2025-02-03 16:40:28 -05:00 committed by Marge Bot
parent 7dfc7e1b1d
commit 0ee4b77ec9

View file

@ -492,6 +492,10 @@ enum pipe_video_slice_mode
* Partitions the frame using max slice size per coded slice
*/
PIPE_VIDEO_SLICE_MODE_MAX_SLICE_SIZE = 1,
/*
* Partitions the frame are decided by gallium driver
*/
PIPE_VIDEO_SLICE_MODE_AUTO = 2,
};
enum pipe_video_entrypoint