tests: add test for unaligned tiled buffers
PATCH 1/1 tests: add test for unaligned tiled buffers
Signed-off-by Imre Deak <[email protected]>
--- tests/.gitignore | 1 + tests/Makefile.am | 1 + tests/unaligned_tiled_buf.c | 111 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+) create mode 100644 tests/unaligned_tiled_buf.c
tests/.gitignore +1 -0
@@ -80,6 +80,7 @@ prime_nv_pcopy prime_nv_test prime_self_import testdisplay +unaligned_tiled_buf sysfs_rc6_residency sysfs_rps # Please keep sorted alphabetically
tests/Makefile.am +1 -0
@@ -13,6 +13,7 @@ NOUVEAU_TESTS = \ endif TESTS_progs_M = \ + unaligned_tiled_buf \ gem_basic \ gem_cacheing \ gem_cpu_concurrent_blit \
tests/unaligned_tiled_buf.c new file +111 -0
111 lines not on this page · raw message
Signature · 6 lines
1.7.9.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 1/1 tests: add test for unaligned tiled buffers
In v2:
- set the unaligned buffer size properly for Gen5 HW, before it was exactly the size of a tile row and thus not catching the bug
- allocate only a tile row sized buffer to detect off-bound writes
Signed-off-by Imre Deak <[email protected]>
--- tests/.gitignore | 1 + tests/Makefile.am | 1 + tests/unaligned_tiled_buf.c | 113 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 tests/unaligned_tiled_buf.c
tests/.gitignore +1 -0
@@ -85,6 +85,7 @@ prime_nv_test prime_self_import prime_udl testdisplay +unaligned_tiled_buf sysfs_rc6_residency sysfs_rps # Please keep sorted alphabetically
tests/Makefile.am +1 -0
@@ -14,6 +14,7 @@ NOUVEAU_TESTS = \ endif TESTS_progs_M = \ + unaligned_tiled_buf \ gem_basic \ gem_cacheing \ gem_cpu_concurrent_blit \
tests/unaligned_tiled_buf.c new file +113 -0
113 lines not on this page · raw message
Signature · 6 lines
1.7.10.4 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx