[Mesa-dev] [PATCH v3 2/2] anv: Query the kernel for reset status

Kenneth Graunke kenneth at whitecape.org
Tue Apr 4 22:29:37 UTC 2017


On Wednesday, March 29, 2017 12:37:50 PM PDT Jason Ekstrand wrote:
> When a client causes a GPU hang (or experiences issues due to a hang in
> another client) we want to let it know as soon as possible.  In
> particular, if it submits work with a fence and calls vkWaitForFences or
> vkQueueQaitIdle and it returns VK_SUCCESS, then the client should be
> able to trust the results of that rendering.  In order to provide this
> guarantee, we have to ask the kernel for context status in a few key
> locations.
> ---
>  src/intel/vulkan/anv_device.c  | 114 +++++++++++++++++++++++++++++------------
>  src/intel/vulkan/anv_gem.c     |  17 ++++++
>  src/intel/vulkan/anv_private.h |   5 ++
>  src/intel/vulkan/genX_query.c  |  11 ++--
>  4 files changed, 107 insertions(+), 40 deletions(-)

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170404/8af04af5/attachment.sig>


More information about the mesa-dev mailing list