diff options
author | Lionel Landwerlin <[email protected]> | 2019-06-29 14:13:50 +0100 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2019-07-29 15:28:21 +0300 |
commit | c270cac40828eca4fb8d7c27cab1d0ac7765ff3d (patch) | |
tree | cf52e8673ce8861cd3353628222a250cb84c5cd2 /lib/mpi/mpi-internal.h | |
parent | 7d3cd66261665da491d0ee582beabe23df60f983 (diff) |
drm/i915: fix whitelist selftests with readonly registers
When a register is readonly there is not much we can tell about its
value (apart from its default value?). This can be covered by tests
exercising the value of the register from userspace.
For PS_INVOCATION_COUNT we've got the following piglit tests :
KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations
Vulkan CTS tests :
dEQP-VK.query_pool.statistics_query.fragment_shader_invocations.*
v2: Use a local to shrink under 80cols.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 86554f48e511 ("drm/i915/selftests: Verify whitelist of context registers")
Tested-by: Anuj Phogat <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 361b69051326ed0e07553315227678d00d651a9e)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions