History log of /external/mesa3d/src/intel/vulkan/anv_query.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c6fcdfe4549c8184f6c990505da3db6a9c95f94 15-Mar-2017 Jason Ekstrand <jason.ekstrand@intel.com> anv/GetQueryPoolResults: Actually implement the spec

The Vulkan spec is fairly clear about when we should and should not
write query pool results. We're also supposed to return VK_NOT_READY if
VK_QUERY_RESULT_PARTIAL_BIT is not set and we come across any queries
which are not yet finished. This fixes rendering corruptions on The
Talos Principle where geometry flickers in and out due to bogus query
results being returned by the driver. These issues are most noticable
on Sky Lake GT4 2hen running on "ultra" settings.

Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100182
Cc: "17.0 13.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 08df015b9de8ccb16ce6db93890910f8a02be4c6)
[Andres Gomez: use anv_query.c instead of genX_query.c]
Signed-off-by: Andres Gomez <agomez@igalia.com>

Conflicts:
src/intel/vulkan/genX_query.c
/external/mesa3d/src/intel/vulkan/anv_query.c
6e2fb0cbcf5da43357741ddab7fa501ae8236ae3 15-Mar-2017 Jason Ekstrand <jason.ekstrand@intel.com> anv/query: Invalidate the correct range

Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: "17.0 13.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 81840130c0f147ed6ae4c26872c2f04a2167bc54)
[Andres Gomez: use anv_query.c instead of genX_query.c]
Signed-off-by: Andres Gomez <agomez@igalia.com>

Conflicts:
src/intel/vulkan/genX_query.c
/external/mesa3d/src/intel/vulkan/anv_query.c
c23c6db9aa232de6934ec654d815e808a9895fe2 19-Feb-2017 Jason Ekstrand <jason.ekstrand@intel.com> anv/query: Perform CmdResetQueryPool on the GPU

This fixes a some rendering corruption in The Talos Principle

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 40087bcb517bda60e666428a7a8f85dfdcbd9a56)
/external/mesa3d/src/intel/vulkan/anv_query.c
fafffc64a2f613f77fca4ae51cb092b58aa95769 18-Feb-2017 Jason Ekstrand <jason.ekstrand@intel.com> anv/query: clflush the bo map on non-LLC platforms

Found by inspection

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 3788cd32391d6d7eea3af3c40f952325caea5360)
/external/mesa3d/src/intel/vulkan/anv_query.c
49f08ad77f51cc344e4bfe60ba9f8d9fccfbd753 11-Nov-2016 Jason Ekstrand <jason.ekstrand@intel.com> anv: Handle null in all destructors

This fixes a bunch of new CTS tests which look for exactly this. Even in
the cases where we just call vk_free to free a CPU data structure, we still
handle NULL explicitly. This way we're less likely to forget to handle
NULL later should we actually do something less trivial.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/intel/vulkan/anv_query.c
1ae6ece9802e77ede97722c0f7cdd0c24e6fbd04 14-Oct-2016 Dave Airlie <airlied@redhat.com> anv: move to using vk_alloc helpers.

This moves all the alloc/free in anv to the generic helpers.

Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/intel/vulkan/anv_query.c
9851c8285f7bf70a6cb4bede2ee94110c14acc19 18-Feb-2016 Jason Ekstrand <jason.ekstrand@intel.com> Move the intel vulkan driver to src/intel/vulkan
/external/mesa3d/src/intel/vulkan/anv_query.c