Commit Graph

831 Commits

Author SHA1 Message Date
Chris Wilson d4d769a432 Prepare for split BLT ring on Sandybridge.
Depends on libdrm 057fab3382c02af54126ce395c43d4e6dce9439a

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31123
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-26 11:46:52 +01: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 7ab19ae6fe intel_reg_dumper: eDP port is on the CPU, not PCH
Made me think there was another register until I checked the offset.
2010-09-20 14:37:07 -07:00
Chris Wilson c09fa38c01 reg dumper: Dump ILK panel fitting control debug registers
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-09-05 12:05:52 +01:00
Jesse Barnes b1e839d026 intel_reg_dumper: add some 945 MI reg dumping 2010-06-30 02:02:49 -07:00
Zhenyu Wang eae80edbb3 reg dump update for SNB/CPT
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-15 15:25:07 +08:00
Zhenyu Wang 2b40fc83d1 Add PCH chipset type check for Cougarpoint
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-15 15:24:58 +08:00
Chris Wilson 95374225e8 Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08 12:17:31 +01:00
Adam Jackson cd64e19329 intel_reg_dumper: Add support for reading register dumps from files
Also add intel_reg_snapshot for creating such snapshots, and relevant
documentation.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-04-05 11:41:24 -04:00
Eric Anholt 7682c42809 Fix INSTDONE1 bits on g4x, and use those on Ironlake too. 2010-03-24 12:01:38 -07:00
Eric Anholt b0ddd0688c Add Ironlake INSTDONE bits. 2010-03-24 12:01:38 -07:00
Eric Anholt 291a576d72 Add support for Sandybridge INSTDONE regs. 2010-02-25 10:41:49 -08: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
Zhao Yakui 7daa481bb7 reg_dump: Dump display port register on Ironlake
Dump the display port register on Ironlake.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
2010-01-15 14:38:34 -08:00
Wu Fengguang 9e9c9f24f5 Add: tools/intel_audio_dump
Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
2009-11-06 14:01:57 +08:00
Eric Anholt 40bff5071c Add intel_gpu_dump from the 2D driver. 2009-10-06 17:49:05 -07: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 56bdcd1d6b Add INSTDONE bits for 830-865. 2009-09-04 12:19:25 -07:00
Eric Anholt 3904b7c6a2 intel_gpu_top: Move instdone bit definitions to lib to share with _dump. 2009-06-30 18:04:50 -07:00
Eric Anholt a18af8ed43 Add more 965 INSTDONE bits.
This shows off the units that are stuck busy in the ut2004 hang.
2009-06-23 17:18:52 -07:00
Jesse Barnes bbafc3d0bf Four new tests for error handling
Add four new tests for error the error handling cases:
  - gem_bad_address - store to a bad address, should generate a protection or
    page table error
  - gem_bad_batch - try to execute a bad batch, should generate a protection,
    invalid instruction or page table error
  - gem_bad_blit - blit to an invalid location, should generated a protection
    or page table error
  - gem_hang - hang the GPU on an event that will never happen, test hang
    detection & recovery code
2009-06-18 18:10:23 -07:00
Eric Anholt 593a47f00e intel_gpu_dump: Get the devid so we can decode correctly on gen4. 2009-04-12 15:57:07 -07:00
Eric Anholt b51588b9bd Fix warning about assert in intel_batchbuffer.h 2009-04-07 19:07:18 -07:00
Eric Anholt cd9ba0a3b6 Add a test for pread after blitting to an object.
This caught a bug with get_user_pages usage in the kernel, which would
result in zeroes being read out of the object when faulting in a new page.
2009-04-07 19:06:33 -07:00
Eric Anholt 3b301df9ec Add a regression test for tiled object blitting. 2009-04-03 14:23:06 -07:00
Eric Anholt 614b165c60 Add intel_chipset.h to fix dist. 2009-03-30 19:08:43 -07:00
Eric Anholt ce4782dc9d Move i810_reg.h to lib/intel_reg.h and get it disted. 2009-03-27 16:11:50 -07:00
Eric Anholt fbbf124f8d Port intel_idle from 2D driver as intel_gpu_top with a better interface. 2009-03-27 12:27:55 -07:00
Eric Anholt 29777a542b Add intel_stepping from the 2D driver. 2009-03-27 11:01:14 -07:00
Eric Anholt 8c64183a46 Initial import of intel-graphics-tools with some microbenchmarks. 2009-03-26 17:15:11 -07:00