19 Commits

Author SHA1 Message Date
Vijay Purushothaman
4fc76adf31 tools: Added intel_dpio_read and intel_dpio_write
In Valleyview the DPLL and lane control registers are accessible only
through side band fabric called DPIO. Added two tools to read and write
registers residing in this space.

v2: Moved the core read/write functions to lib/intel_dpio.c based on
Ben's feedback

Signed-off-by: Vijay Purushothaman <vijay.a.purushothaman@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-08-21 09:30:29 +02:00
Paulo Zanoni
5ba39da67e lib: add more Haswell PCI IDs
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2012-08-07 10:43:32 -03:00
Jesse Barnes
34240176c1 add VLV PCI ID
This allows the tests to run on the prototype boards.
2012-06-11 12:08:32 -07:00
Ben Widawsky
43fda53199 chipset: accidentally left the old IS_GEN7 macro
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-04-28 20:07:40 -07:00
Ben Widawsky
4d053f97db chipset updates
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-04-25 13:33:17 -07:00
Daniel Vetter
ff409c537f tests/gem_partial_pwrite_pread: don't trash gtt unnecessarily
On chips that don't have a unmappable gtt part it's utterly pointless.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-06 16:57:53 +01:00
Daniel Vetter
61b9806f4e tests: basic ring<->cpu and ring<->ring tests
Using a dummy reloc that doesn't matter to trick the kernel into
synchroizing the rings.

v2: properly apply MI_NOOP workaround to MI_FLUSH_DW and
switch to MI_COND_BATCH_BUFFER_END as a dummy command on the
render ring to avoid PIPE_CONTROL errata.

v3: somebody clever decided that in C, you cound from 1,
i.e. I915_EXEC_RENDER == 1. It works now ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-12 09:39:16 +02:00
Ben Widawsky
abd7038e5a intel-gpu-tools/range handling: register range handling
Hooks to allow safe accesses from userspace. Can revert to old behavior
by using unsafe access.
2011-07-28 13:48:51 -07:00
Eric Anholt
d73cdde45a Add Ivybridge support to intel_gpu_dump and the BLT tests. 2011-05-17 17:54:26 -07:00
Jesse Barnes
a09dd09e00 Add Ivybridge device IDs
Makes the reg dumper work better.
2011-05-10 17:21:12 -07:00
Chris Wilson
41570d9bf5 Remove confusing use of IS_9XX
... and test for what we mean instead.

Reported-by: Diego Celix <dcelix@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-14 15:57:40 +00:00
Chris Wilson
0e50b972de Fix typo excluding Ironlake from IS_INTEL
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-06 10:12:42 +00:00
Chris Wilson
3c5c8ba71c Search for the first Intel dri device.
This is vital in a multi-GPU system so that we only test the Intel card
and not the discrete GPUs.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01 13:37:04 +00:00
Zhenyu Wang
b95893820f Add all sandybridge device ids
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-09-27 13:35:36 +08:00
Jesse Barnes
b1e839d026 intel_reg_dumper: add some 945 MI reg dumping 2010-06-30 02:02:49 -07:00
Eric Anholt
67736dbc94 Add support for Sandybridge mobile chipset. 2010-02-25 10:41:49 -08:00
Eric Anholt
613d1c4896 Add some initial definitions for Sandybridge. 2010-02-25 10:41:49 -08:00
Xiang, Haihao
bbebf6b1c9 Add support for new chips
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2009-09-08 09:41:48 +08:00
Eric Anholt
29777a542b Add intel_stepping from the 2D driver. 2009-03-27 11:01:14 -07:00