Commit 525b4f75 authored by Chris Wilson's avatar Chris Wilson 🤔

i965: Accept CONTEXT_ATTRIB_PRIORITY for brwCreateContext

The forward port of commit 6d87500f ("dri: Change
__DriverApiRec::CreateContext to take a struct for attribs") failed to
adapt the set of allowed attributes for the earlier introduction of
context priorities (commit 1617fca6 "i965: Pass the EGL/DRI context
priority through to the kernel").

Fixes: 6d87500f ("dri: Change __DriverApiRec::CreateContext to take a struct for attribs")
Signed-off-by: Chris Wilson's avatarChris Wilson <>
Cc: Adam Jackson <>
Cc: Nicolai Hähnle <>
Cc: Emil Velikov <>
Cc: Kenneth Graunke <>
Reviewed-by: Tapani Pälli's avatarTapani Pälli <>
parent 00537571
......@@ -860,7 +860,9 @@ brwCreateContext(gl_api api,
return false;
if (ctx_config->attribute_mask & ~__DRIVER_CONTEXT_ATTRIB_RESET_STRATEGY) {
if (ctx_config->attribute_mask &
return false;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment