Question about per process GPU context global priority enforcement

Yiwei Zhang zzyiwei at google.com
Tue Aug 4 18:20:02 UTC 2020


Hi friends,

For Vulkan/EGL, upon creating gpu contexts, applications can ask for a
system-wide higher priority levels via VK_EXT_global_priority or
EGL_IMG_context_priority extensions.

I'm curious if we have certain rules(some form of process privilege
check) in the kernel to limit non-privileged ones to never go beyond
default system-wide gpu scheduling priority. (e.g. not allow random
app processes to contend the GPU queues repeatedly/infinitely with
high/realtime priorities)

Many thanks,
Yiwei - from Android Platform Graphics Team


More information about the dri-devel mailing list