summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-22Update intel_chipset.h with kernel hsw/vlv pci idsHEADmasterDaniel Vetter1-20/+14
2012-07-21shut up the compiler a bitDaniel Vetter4-9/+8
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-07-18reg_read: skip older kernelsBen Widawsky1-13/+20
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-07-18reg_read: basic register read ioctl testBen Widawsky2-0/+90
This will need to get modified when the ioctl expands, and so is only here for reference/to make Daniel happy. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-07-13tests: improve concurrent blit testsDaniel Vetter2-2/+24
By adding another testcase that follows up with a gpu read. This checks whether the kernel properly tracks the pending write and doesn't lose it (or sync up to the wrong seqno). For some odd reason only the cpu mmap variant blows up, the gtt one works here. I need to look into that some more. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-07-03gem_ctx_basic: fixesBen Widawsky1-6/+18
I must have checked in the wrong version the first time. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-07-03ctx_basic: we stopped using rendercopyBen Widawsky1-4/+0
so get rid of the remants. perhaps we'll use it again someday. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-30rendercopy_gen7: add support for haswellBen Widawsky2-3/+17
Only compile tested. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-29context_basic: the most stressful context test to date.Ben Widawsky2-0/+161
this context test requiring libdrm updates Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-29context: libdrm wrappersBen Widawsky2-4/+38
This wraps libdrm functionality to exec with contexts. This patch shouldn't be applied until libdrm for contexts is updated. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-29intel: update libdrm requirementBen Widawsky1-1/+1
We want context APIs in order to use our super context test. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-28gem_stress: use the gen7 rendercopyBen Widawsky1-0/+5
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-28lib: add a gen7 rendercopyBen Widawsky7-0/+1091
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-27ctx_bad_destroy: danvet changed to ENOENTBen Widawsky1-3/+3
In all fairness if the test worked, he would have found this earlier Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-27ctx_bad_destroy - ioctl is 2e, not 23Ben Widawsky1-1/+1
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-27ctx_bad_destroy: a little more description is niceBen Widawsky1-7/+8
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-26tests/gem_wait_rendering_timeout: needs more fudgeDaniel Vetter1-2/+4
Due to the way we calculate the workload by doubling it each time we might end up with almost twice as much as we want. Hence increase our fudge by 1.5 to account for that. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50666
2012-06-21intel_reg_dumper: use intel_register_access_init/finiEugeni Dodonov1-1/+3
We need to hold forcewake lock in order to be able to read GT registers. Otherwise, when the GPU is in RC6 mode, we'll read all zeros. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2012-06-18context tests not requiring libdrmBen Widawsky5-0/+439
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-14context: update for new execbuf2 elementBen Widawsky12-12/+26
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-06-13intel_reg_dumper: dump more PM registersEugeni Dodonov2-0/+18
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2012-06-11add VLV PCI IDJesse Barnes1-1/+4
This allows the tests to run on the prototype boards.
2012-06-08tests/debgufs_emon_crash: make it quietDaniel Vetter1-1/+1
2012-06-07intel_reg_dumper: dump pre-pch-split blc regsDaniel Vetter1-0/+3
2012-06-04test/gem_gtt_speed: Add a baseline test for the performance of a CPU mmapChris Wilson4-21/+94
When looking at the pwrite/pread/wc performance, it is useful to judge that against the performance of an ordinary CPU mmap. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-05-31test/sysfs_l3_parity: skip test if the sysfs interface doesn't existDaniel Vetter1-2/+5
2012-05-31test/sysfs_l3_parity: fixup logicDaniel Vetter1-5/+14
It didn't fail properly.
2012-05-31cleanups after l3_parity mergeDaniel Vetter3-1/+2
- call it sysfs_l3_parity for more consistency - add .gitignore for intel_l3_parity
2012-05-31tests/dpf: simple dpf testBen Widawsky2-1/+9
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-05-31tools/dpf: Tool to read and write l3 remap registers.Ben Widawsky3-1/+169
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-05-30tests/gem_wait_rendering_timeout: check polling behaviourDaniel Vetter1-2/+11
... with timeout=0. We have special code in the kernel to optimize that one.
2012-05-29lib/gem_wait_rendering_timeout: sprinkle busy_ioctl checksDaniel Vetter1-0/+14
While we have that testcase, let's cross-check the busy ioctl.
2012-05-29lib: fix gen5 workaround emissionDaniel Vetter2-5/+6
Using BEGIN_BATCH can lead to a nice inf recursion through require_space -> flush_batch -> BEGIN_BATCH. Also fix things up to always require BATCH_RESERVED. We need 2 dwords for the gen5 workaround and 2 dwords for MI_BB_END.
2012-05-29tests/gem_wait_rendering_timeout: test the timeout caseDaniel Vetter1-2/+14
When I've first tried this it somehow failed, but I can't reproduce this any more. I guess I've hunted a ghost.
2012-05-29tests/gem_wait_rendering_timeout: fix up the autotunerDaniel Vetter1-1/+1
duuh
2012-05-29tests/gem_wait_rendering_timout: adjust .gitignoreDaniel Vetter1-0/+1
2012-05-29tests/get_wait_rendering_timeout: fixup the auto-tunerDaniel Vetter1-2/+3
- start at 1 iterations - actually adjust the number of iterations like the comment claims
2012-05-29tests/gem_wait_rendering_timeout: some fixes for the blt functionDaniel Vetter1-2/+2
- widht/height are in pixel, and the cmd uses 32bit, so we need to adjust this. - we write to the buffer, set the right reloc domain.
2012-05-29tests/gem_wait_rendering_timeout: properly skip testDaniel Vetter1-4/+7
also assign the timeout value unconditionally, we want to know it even when we've timeout out.
2012-05-29tests/gem_wait_rendering_timeout: make it compileDaniel Vetter1-1/+31
... we need to do this libdrm depency dance. Or just copy&paste it.
2012-05-25tests/wait render timeout testBen Widawsky2-0/+158
Assures that signals interrupting the wait works properly. Because of the scheduling around signals, interrupted waits will *seem* faster as the GPU continues to work while all the CPU scheduling stuff happens. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-05-25tests: fixup type in module_reloadDaniel Vetter1-1/+1
Oops, I've frobbed this to test the check but committed the wrong version.
2012-05-25tests: add some help to module_reloadroot1-1/+5
... so that it's easier to get the kernel configuration right.
2012-05-25tests: add module reload testcaseroot2-0/+38
We've broken this way too often in the past.
2012-05-23tests/hangman: fix when run with absolute pathDaniel Vetter1-1/+1
QA's test rig does that.
2012-05-22test/flip_test: fail harderDaniel Vetter1-18/+10
We want testcase to return non-zero if they fail ...
2012-05-22lib: extract kmstest_dump_modeDaniel Vetter5-49/+25
2012-05-22test/flip_test: use kmstest_create_fbDaniel Vetter1-176/+17
And bring back some frame indication that actually works.
2012-05-22lib: extract kmstest_create_fbDaniel Vetter8-225/+272
We should get more kms tests soon, and not needing to copy-paste a nice test pattern should be useful. That establishes a firm depency of i-g-t on cairo over everything, but I don't care so much about that. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-05-22tests: use drm_open_any moreDaniel Vetter3-39/+8
And fix it up to not leak open fds, which kills all the master only stuff.