winsys/amdgpu-radeon: Allow specifying context priority
authorVlad Zahorodnii <vlad.zahorodnii@kde.org>
Wed, 18 May 2022 19:14:00 +0000 (22:14 +0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 25 May 2022 14:15:30 +0000 (14:15 +0000)
commitf4de4453cfd2be2fc97ac08562cf8fcf20ddda02
tree4d0f998684cc141c13de75b8830e71ba88059cf0
parent91e41181f6f43761dd2e9ee9c45161d489205d7d
winsys/amdgpu-radeon: Allow specifying context priority

This is needed to implement EGL_IMG_context_priority in radeonsi.

Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16594>
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/radeonsi/radeon_vcn_dec.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/include/winsys/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.c