mesa-drm/tests
Tobias Jakobi b1d19de764 modetest: initialize handles/pitches in set_plane()
Only the 'offsets' array was initialized to zero.
Since bo_create only sets the handles which are
necessary, were we passing garbage data to the
kernel when calling drmModeAddFB2 later.

The issue only seems to appear when passing e.g.
NV12 data to the kernel, a case where not only
handles[0] is used. I therefore also removed the
corresponding comment.

v2: Do the same for set_mode(), set_cursors()
    and test_page_flip().

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-04-28 11:23:14 +01:00
..
exynos tests/exynos: Fix missing static keyword 2015-03-20 18:17:34 -04:00
kmstest tests: add rockchip to modetest, kmstest, vbltest and proptest 2015-03-20 17:18:01 +00:00
modeprint mode: Retrieve only the current information for a Connector 2015-04-14 15:58:26 +01:00
modetest modetest: initialize handles/pitches in set_plane() 2015-04-28 11:23:14 +01:00
nouveau nouveau: make nouveau importing global buffers completely thread-safe, with tests 2015-03-13 20:26:33 +01:00
proptest tests: add rockchip to modetest, kmstest, vbltest and proptest 2015-03-20 17:18:01 +00:00
radeon Add static qualifier to local functions 2015-03-15 14:17:02 -04:00
tegra autotools: add WARN_CFLAGS to all targets 2015-02-27 15:51:24 +00:00
ttmtest Purge macro NEED_REPLIES 2010-07-01 13:12:55 -06:00
vbltest tests: add rockchip to modetest, kmstest, vbltest and proptest 2015-03-20 17:18:01 +00:00
Android.mk android: simplify the including rule of subdirs 2015-03-20 17:07:21 +00:00
auth.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
dristat.c dristat: Handle DRM_CONSISTENT 2015-03-14 17:02:06 -04:00
drmsl.c tests/drmsl: Extract tests out of xf86drmSL.c 2015-04-04 13:48:54 -04:00
drmstat.c drm: use c99 __func__ over __FUNCTION__ 2015-04-28 11:21:02 +01:00
drmtest.c drmtest: make check should fail so hard on unable to open device 2011-09-26 16:03:20 +01:00
drmtest.h Use libudev in test case to only run gem tests for intel devices. 2009-04-06 17:13:01 -04:00
getclient.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
getstats.c Fix type-limits, pointer-arith and sign-compare warnings 2015-03-14 17:02:06 -04:00
getversion.c tests: Use drmFreeVersion() instead of drmFree() 2014-04-17 16:21:47 +02:00
hash.c tests/hash: return non-zero on failure 2015-04-05 15:33:06 +01:00
lock.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
Makefile.am tests/random: return non-zero on test failure 2015-04-05 15:33:33 +01:00
name_from_fd.c tests: remove unused variables 2015-02-27 15:51:28 +00:00
openclose.c Add some trivial regression tests, one of which fails. 2007-07-19 04:59:59 -07:00
random.c tests/random: return non-zero on test failure 2015-04-05 15:33:33 +01:00
setversion.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
updatedraw.c tests: remove unused variables 2015-02-27 15:51:28 +00:00