From: Jordan Crouse
Add the capability to query information from a submit queue.
The first available parameter is for querying the number of GPU faults
(hangs) that can be attributed to the queue.
This is useful for implementing context robustness. A user context can
regularly query the number o
From: Rob Clark
For now it always returns '0' (false), but once the iommu work is in
place to enable per-process pagetables we can update the value returned.
Userspace needs to know this to make an informed decision about exposing
KHR_robustness.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/m
From: Rob Clark
For KHR_robustness, userspace wants to know two things, the count of GPU
faults globally, and the count of faults attributed to a given context.
This patch providees the former, and the next patch provides the latter.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/adreno/adre
Collection of a few small UABI updates from Jordan and myself to enable
userspace support for robustness[1]. The userspace side of this is at:
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/673/commits
[1] it doesn't *quite* enable it yet, since we don't have per-context
pagetable