[Mesa-dev] [PATCH v2] anv: implement VK_EXT_global_priority extension
Emil Velikov
emil.l.velikov at gmail.com
Fri Jan 19 15:11:24 UTC 2018
On 19 January 2018 at 11:36, Tapani Pälli <tapani.palli at intel.com> wrote:
> +#define ANV_CONTEXT_LOW_PRIORITY ((I915_CONTEXT_MIN_USER_PRIORITY-1)/2)
> +#define ANV_CONTEXT_MEDIUM_PRIORITY (I915_CONTEXT_DEFAULT_PRIORITY)
> +#define ANV_CONTEXT_HIGH_PRIORITY ((I915_CONTEXT_MAX_USER_PRIORITY+1)/2)
You want to document why the current values are picked and not, say PRIO*3/4.
Ideally the i965 code will be updated as well, but that can happen as follow-up.
Don't we need anv_gem_has_context_priority and
anv_gem_set_context_priority stubs in anv_gem_stubs.c?
Quick looks suggests so, admittedly I haven't run make check to verify.
-Emil
More information about the mesa-dev
mailing list