Re: Question about per process GPU context global priority enforcement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't think we have a uniform mechanism, currently each driver
decides on their own.

For the amdgpu driver we check that the process either has
CAP_SYS_NICE or is the DRM master.

On Wed, Aug 5, 2020 at 9:14 AM Yiwei Zhang <zzyiwei@xxxxxxxxxx> wrote:
>
> 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
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux