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>
This commit is contained in:

committed by
Marge Bot

parent
91e41181f6
commit
f4de4453cf
@@ -632,7 +632,7 @@ bool r600_common_context_init(struct r600_common_context *rctx,
|
||||
if (!rctx->b.const_uploader)
|
||||
return false;
|
||||
|
||||
rctx->ctx = rctx->ws->ctx_create(rctx->ws);
|
||||
rctx->ctx = rctx->ws->ctx_create(rctx->ws, RADEON_CTX_PRIORITY_MEDIUM);
|
||||
if (!rctx->ctx)
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user