platform/upstream/intel-gpu-tools.git
14 years agoEnable compilation on non-Intel, non-DRM systems.
Chris Wilson [Thu, 8 Apr 2010 10:56:57 +0000 (11:56 +0100)]
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>
14 years agointel_reg_dumper: Add support for reading register dumps from files
Adam Jackson [Wed, 31 Mar 2010 21:25:23 +0000 (17:25 -0400)]
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>
14 years agodecode: There are 4 unpreserved registers on i915, not 3.
Chris Wilson [Sun, 4 Apr 2010 23:26:35 +0000 (00:26 +0100)]
decode: There are 4 unpreserved registers on i915, not 3.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoFix INSTDONE1 bits on g4x, and use those on Ironlake too.
Eric Anholt [Wed, 24 Mar 2010 19:01:00 +0000 (12:01 -0700)]
Fix INSTDONE1 bits on g4x, and use those on Ironlake too.

14 years agoAdd Ironlake INSTDONE bits.
Eric Anholt [Wed, 24 Mar 2010 18:40:07 +0000 (11:40 -0700)]
Add Ironlake INSTDONE bits.

14 years agointel_reg_dumper: Fix the i915 fence reg decode to not be pure lies.
Eric Anholt [Tue, 9 Mar 2010 06:51:40 +0000 (22:51 -0800)]
intel_reg_dumper: Fix the i915 fence reg decode to not be pure lies.

14 years agodecode: Parse i915 MAP_STATE texture sizes and tiling
Chris Wilson [Sun, 21 Mar 2010 19:33:45 +0000 (19:33 +0000)]
decode: Parse i915 MAP_STATE texture sizes and tiling

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agointel_error_decode: Pretty print i830 PGTBL_ER
Chris Wilson [Thu, 4 Mar 2010 21:56:04 +0000 (21:56 +0000)]
intel_error_decode: Pretty print i830 PGTBL_ER

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agodecode: Fix length mask for LOAD_REGISTER_IMM.
Chris Wilson [Thu, 4 Mar 2010 09:14:56 +0000 (09:14 +0000)]
decode: Fix length mask for LOAD_REGISTER_IMM.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agointel_gpu_top: Print stats lines even when there's no done bit on the line.
Eric Anholt [Thu, 25 Feb 2010 20:48:00 +0000 (12:48 -0800)]
intel_gpu_top: Print stats lines even when there's no done bit on the line.

14 years agointel_gpu_top: Print the vertex/primitive statistics on gen4+.
Eric Anholt [Thu, 25 Feb 2010 20:18:11 +0000 (12:18 -0800)]
intel_gpu_top: Print the vertex/primitive statistics on gen4+.

This requires that the window be much wider.  I'm not sure how we
really want to lay out this interface usably, but so far giant windows
are working well enough for me.

14 years agoman: Add manpage for intel_error_decode
Chris Wilson [Thu, 25 Feb 2010 18:52:15 +0000 (18:52 +0000)]
man: Add manpage for intel_error_decode

A rudimentary manpage based on intel_gpu_dump for the simple tool
for the post-processing of i915_error_state, intel_error_decode.

14 years agoFix a typo in intel_gtt(1).
Eric Anholt [Wed, 24 Feb 2010 01:04:29 +0000 (17:04 -0800)]
Fix a typo in intel_gtt(1).

14 years agoAdd manpages for a bunch of recently-added tools.
Eric Anholt [Wed, 24 Feb 2010 01:00:54 +0000 (17:00 -0800)]
Add manpages for a bunch of recently-added tools.

14 years agoAdd decode for more Sandybridge packets.
Eric Anholt [Mon, 1 Feb 2010 18:47:19 +0000 (10:47 -0800)]
Add decode for more Sandybridge packets.

14 years agoAdd support for Sandybridge INSTDONE regs.
Eric Anholt [Fri, 15 Jan 2010 22:28:16 +0000 (14:28 -0800)]
Add support for Sandybridge INSTDONE regs.

14 years agoAdd support for Sandybridge mobile chipset.
Eric Anholt [Fri, 15 Jan 2010 22:28:02 +0000 (14:28 -0800)]
Add support for Sandybridge mobile chipset.

14 years agointel_gpu_dump: More SNB packets.
Eric Anholt [Fri, 15 Jan 2010 22:27:41 +0000 (14:27 -0800)]
intel_gpu_dump: More SNB packets.

14 years agointel_gpu_dump: Use the spec's names for the INSTDONE regs printed out.
Eric Anholt [Fri, 15 Jan 2010 22:26:43 +0000 (14:26 -0800)]
intel_gpu_dump: Use the spec's names for the INSTDONE regs printed out.

14 years agoAdd Sandybridge decode for CMD_VIEWPORT_STATE_POINTERS
Eric Anholt [Thu, 17 Dec 2009 22:21:28 +0000 (14:21 -0800)]
Add Sandybridge decode for CMD_VIEWPORT_STATE_POINTERS

14 years agoAdd Sandybridge STATE_BASE_ADDRESS decode.
Eric Anholt [Tue, 15 Dec 2009 20:38:23 +0000 (12:38 -0800)]
Add Sandybridge STATE_BASE_ADDRESS decode.

14 years agointel_gpu_dump: Add support for sandybridge DEPTH_BUFFER and BINDING_TABLEs.
Eric Anholt [Wed, 4 Nov 2009 00:15:25 +0000 (16:15 -0800)]
intel_gpu_dump: Add support for sandybridge DEPTH_BUFFER and BINDING_TABLEs.

14 years agoAdd some initial definitions for Sandybridge.
Eric Anholt [Thu, 22 Oct 2009 22:52:02 +0000 (15:52 -0700)]
Add some initial definitions for Sandybridge.

14 years agodecode: Parse MI_BATCH_BUFFER for i8xx
Chris Wilson [Thu, 25 Feb 2010 11:05:16 +0000 (11:05 +0000)]
decode: Parse MI_BATCH_BUFFER for i8xx

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoAdd intel_bios_dumper from the 2D driver. Last of the tools, finally!
Eric Anholt [Fri, 19 Feb 2010 17:23:16 +0000 (12:23 -0500)]
Add intel_bios_dumper from the 2D driver.  Last of the tools, finally!

14 years agoMove the intel_lid tool from the 2D driver to here.
Eric Anholt [Fri, 19 Feb 2010 17:12:04 +0000 (12:12 -0500)]
Move the intel_lid tool from the 2D driver to here.

14 years agoAdd intel_error_decode.
Chris Wilson [Fri, 12 Feb 2010 13:28:40 +0000 (13:28 +0000)]
Add intel_error_decode.

A simple variant of intel_gpu_dump that explicitly handles parsing of
i915_error_state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agointel_gtt: Add intel_gtt from the 2D driver.
Eric Anholt [Mon, 1 Feb 2010 23:02:24 +0000 (15:02 -0800)]
intel_gtt: Add intel_gtt from the 2D driver.

We've used it several times in bringing up the AGP driver, so it seems
useful to have aronud.

14 years agointel_gpu_dump: Parse ringbuffer info from i915_error_state
Chris Wilson [Thu, 28 Jan 2010 22:52:50 +0000 (22:52 +0000)]
intel_gpu_dump: Parse ringbuffer info from i915_error_state

Distinguish an inline ringbuffer [-- ringbuffer] dump, from batch
buffers [-- gtt_offset] and separate it in the decoded output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoRemove extra aclocal flag after replace dolt and shave
Zhenyu Wang [Thu, 21 Jan 2010 01:39:29 +0000 (09:39 +0800)]
Remove extra aclocal flag after replace dolt and shave

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
14 years agoreg_dump: Dump display port register on Ironlake
Zhao Yakui [Tue, 5 Jan 2010 14:13:43 +0000 (14:13 +0000)]
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>
14 years agoPull bios_reader program from Xorg driver
Zhenyu Wang [Tue, 12 Jan 2010 06:04:43 +0000 (14:04 +0800)]
Pull bios_reader program from Xorg driver

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
14 years agogitignore intel_audio_dump and intel_reg_read
Zhenyu Wang [Wed, 6 Jan 2010 05:43:54 +0000 (13:43 +0800)]
gitignore intel_audio_dump and intel_reg_read

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
14 years agoAdd 'intel_reg_read' tool
Zhenyu Wang [Wed, 6 Jan 2010 05:39:05 +0000 (13:39 +0800)]
Add 'intel_reg_read' tool

This is a handy tool to just check state of one register, which might
not bother to be included in intel_reg_dumper tool. And also take in Ben's
original full range register dump with '-f' option.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
14 years agogpu_dump: Parse INSTDONE if seen inside a file.
Chris Wilson [Tue, 5 Jan 2010 12:33:17 +0000 (12:33 +0000)]
gpu_dump: Parse INSTDONE if seen inside a file.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoreg: Include INSTPM in dump.
Chris Wilson [Tue, 5 Jan 2010 12:32:32 +0000 (12:32 +0000)]
reg: Include INSTPM in dump.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agodecode/i965: Show byte lengths for buffers.
Chris Wilson [Tue, 5 Jan 2010 12:31:12 +0000 (12:31 +0000)]
decode/i965: Show byte lengths for buffers.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agointel_gpu_top: Fix broken clock reporting.
Shuang He [Mon, 14 Dec 2009 06:10:02 +0000 (14:10 +0800)]
intel_gpu_top: Fix broken clock reporting.

Signed-off-by: Eric Anholt <eric@anholt.net>
14 years agoReplace dolt and shave with using current autotools.
Eric Anholt [Mon, 2 Nov 2009 19:20:23 +0000 (11:20 -0800)]
Replace dolt and shave with using current autotools.

14 years agoLimit printing to terminal height in intel_gpu_top.
Kenneth Graunke [Wed, 9 Dec 2009 06:38:18 +0000 (22:38 -0800)]
Limit printing to terminal height in intel_gpu_top.

When using intel_gpu_top in a small terminal, the most important
information (ring idle/busy units) scrolls off the top of the screen.
This patch limits the number of lines printed to the terminal height
so that the most idle units (at the bottom) are truncated instead.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
14 years agodecode: Split decoder and reuse outside of intel_gpu_dump
Chris Wilson [Mon, 30 Nov 2009 15:20:29 +0000 (15:20 +0000)]
decode: Split decoder and reuse outside of intel_gpu_dump

Introduce a second decoder that simpler operates on a file so that it
can be run on dumped batchbuffers independent of the gpu.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
15 years agoAdd: tools/intel_audio_dump
Wu Fengguang [Fri, 6 Nov 2009 03:06:22 +0000 (11:06 +0800)]
Add: tools/intel_audio_dump

Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
15 years agoAdd: tools/intel_gpu_time
Chris Wilson [Thu, 8 Oct 2009 05:48:02 +0000 (06:48 +0100)]
Add: tools/intel_gpu_time

A simple variant on time crossed with intel_gpu_top to estimate the
amount of GPU activity during a program's execution time.

The resource usage (sys+user, i.e. CPU %) is for the child, but the
GPU measure is global. Hmm.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
15 years agoAdd intel_gpu_dump from the 2D driver.
Eric Anholt [Wed, 7 Oct 2009 00:25:10 +0000 (17:25 -0700)]
Add intel_gpu_dump from the 2D driver.

15 years agoBump to 1.0.2 for release. 1.0.2
Eric Anholt [Mon, 21 Sep 2009 22:00:56 +0000 (15:00 -0700)]
Bump to 1.0.2 for release.

15 years agoPrint unmatched opcode value for all 3D UNKNOWN messages
Carl Worth [Thu, 17 Sep 2009 22:05:24 +0000 (15:05 -0700)]
Print unmatched opcode value for all 3D UNKNOWN messages

This just simplifies one step for fixing up an incompletely-parsed
dump.

15 years agoAdd support for new chips
Xiang, Haihao [Thu, 3 Sep 2009 01:50:00 +0000 (09:50 +0800)]
Add support for new chips

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
15 years agoCS FENCE in URB_FENCE is 11-bits wide
Xiang, Haihao [Thu, 3 Sep 2009 01:35:50 +0000 (09:35 +0800)]
CS FENCE in URB_FENCE is 11-bits wide

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
15 years agoFix the length of CONSTANT_BUFFER
Xiang, Haihao [Thu, 3 Sep 2009 01:33:36 +0000 (09:33 +0800)]
Fix the length of CONSTANT_BUFFER

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
15 years agointel_gpu_dump: Don't pretend we understand vertex formats on 8xx.
Eric Anholt [Mon, 20 Jul 2009 18:46:11 +0000 (11:46 -0700)]
intel_gpu_dump: Don't pretend we understand vertex formats on 8xx.

15 years agointel_gpu_dump: Parse LOAD_STATE_IMMEDIATE_2 for 830.
Eric Anholt [Mon, 20 Jul 2009 18:44:56 +0000 (11:44 -0700)]
intel_gpu_dump: Parse LOAD_STATE_IMMEDIATE_2 for 830.

15 years agointel_gpu_dump: Add IPEIR and PGTBL_ER to output.
Eric Anholt [Mon, 20 Jul 2009 16:14:43 +0000 (09:14 -0700)]
intel_gpu_dump: Add IPEIR and PGTBL_ER to output.

15 years agoAdd INSTDONE bits for 830-865.
Eric Anholt [Mon, 20 Jul 2009 16:07:16 +0000 (09:07 -0700)]
Add INSTDONE bits for 830-865.

15 years agointel_gpu_dump: Fix decode for LOAD_STATE_IMMEDIATE_1 with S8 set.
Eric Anholt [Thu, 16 Jul 2009 21:15:47 +0000 (14:15 -0700)]
intel_gpu_dump: Fix decode for LOAD_STATE_IMMEDIATE_1 with S8 set.

15 years agoAdd a manpage for intel_reg_write
Eric Anholt [Mon, 13 Jul 2009 17:03:17 +0000 (10:03 -0700)]
Add a manpage for intel_reg_write

15 years agodump: Minor typo
Chris Wilson [Thu, 3 Sep 2009 09:58:59 +0000 (10:58 +0100)]
dump: Minor typo

15 years agoAdd gem_fence_thrash test
Chris Wilson [Tue, 1 Sep 2009 09:09:55 +0000 (10:09 +0100)]
Add gem_fence_thrash test

This is a test case that overcommits fence registers between threads, which
are copying from one fenced bo to another. In earlier versions of the driver
this would cause excessive spinning as the first inactive (i.e. not in use
by the GPU) would be used to service the next page. After all the fence
registers had been allocated, in effect only the very first fence would then
be used for all subsequent faults.

15 years agoAdd CS_USB_STATE decoding
Ben Gamari [Wed, 1 Jul 2009 20:52:20 +0000 (16:52 -0400)]
Add CS_USB_STATE decoding

15 years agoAdd CONSTANT_BUFFER decoding
Ben Gamari [Wed, 1 Jul 2009 20:52:19 +0000 (16:52 -0400)]
Add CONSTANT_BUFFER decoding

15 years agoFix gs_fence output in URB_FENCE output
Ben Gamari [Wed, 1 Jul 2009 20:52:18 +0000 (16:52 -0400)]
Fix gs_fence output in URB_FENCE output

15 years agoadd realloc bits to URB_FENCE decoding
Ben Gamari [Wed, 1 Jul 2009 20:52:17 +0000 (16:52 -0400)]
add realloc bits to URB_FENCE decoding

15 years agoFix error message for case of kernel prior to 2.6.30
Carl Worth [Fri, 8 May 2009 23:04:24 +0000 (16:04 -0700)]
Fix error message for case of kernel prior to 2.6.30

The error message was falsely claiming that a debugfs directory
didn't exist, when it was supposed to report that the ringbuffer
file did not exist within that directory.

15 years ago.gitignore: catch up to intel_reg_write addition
Eric Anholt [Wed, 1 Jul 2009 01:05:57 +0000 (18:05 -0700)]
.gitignore: catch up to intel_reg_write addition

15 years agointel_gpu_dump: Add instdone register values and decoding.
Eric Anholt [Wed, 1 Jul 2009 00:52:43 +0000 (17:52 -0700)]
intel_gpu_dump: Add instdone register values and decoding.

15 years agointel_gpu_top: Move instdone bit definitions to lib to share with _dump.
Eric Anholt [Wed, 1 Jul 2009 00:13:27 +0000 (17:13 -0700)]
intel_gpu_top: Move instdone bit definitions to lib to share with _dump.

15 years agointel_gpu_dump: Use the correct IPEHR on pre-965.
Eric Anholt [Wed, 24 Jun 2009 02:35:19 +0000 (19:35 -0700)]
intel_gpu_dump: Use the correct IPEHR on pre-965.

15 years agointel_gpu_dump: Add details on URB_FENCE.
Eric Anholt [Wed, 24 Jun 2009 01:43:59 +0000 (18:43 -0700)]
intel_gpu_dump: Add details on URB_FENCE.

15 years agoOops, fix up printed hw offset since the HEAD pointer fixup
Eric Anholt [Wed, 24 Jun 2009 01:16:42 +0000 (18:16 -0700)]
Oops, fix up printed hw offset since the HEAD pointer fixup

15 years agoAdd more 965 INSTDONE bits.
Eric Anholt [Wed, 24 Jun 2009 00:10:44 +0000 (17:10 -0700)]
Add more 965 INSTDONE bits.

This shows off the units that are stuck busy in the ut2004 hang.

15 years agoCorrectly flag the acthd when it points within a packet.
Eric Anholt [Tue, 23 Jun 2009 23:22:41 +0000 (16:22 -0700)]
Correctly flag the acthd when it points within a packet.

15 years agoAdd the acthd to the GPU dump.
Eric Anholt [Tue, 23 Jun 2009 23:21:34 +0000 (16:21 -0700)]
Add the acthd to the GPU dump.

15 years agoAdd register writing tool
Ben Gamari [Thu, 11 Jun 2009 03:13:40 +0000 (23:13 -0400)]
Add register writing tool

Signed-off-by: Eric Anholt <eric@anholt.net>
15 years agoFour new tests for error handling
Jesse Barnes [Fri, 19 Jun 2009 01:07:47 +0000 (18:07 -0700)]
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

15 years agoMake the precentage bars fit in 80 columns.
Eric Anholt [Tue, 9 Jun 2009 18:30:25 +0000 (11:30 -0700)]
Make the precentage bars fit in 80 columns.

Signed-off-by: Eric Anholt <eric@anholt.net>
15 years agoA pedantic addition of a format string to a printf call
Robert Bragg [Fri, 17 Apr 2009 18:01:04 +0000 (19:01 +0100)]
A pedantic addition of a format string to a printf call

The printf used to clear the screen didn't have a format string, this
adds one to avoid a compiler warning.

Signed-off-by: Eric Anholt <eric@anholt.net>
15 years agoAdds unicode bars for quickly visualizing the busy percentages
Robert Bragg [Fri, 17 Apr 2009 17:52:23 +0000 (18:52 +0100)]
Adds unicode bars for quickly visualizing the busy percentages

It can be a bit easier to digest the percentages with bar graphs than by
scanning continually changing numbers.

Signed-off-by: Eric Anholt <eric@anholt.net>
15 years agoIncreases the sample frequency from 100/sec to 10,000/sec
Robert Bragg [Fri, 17 Apr 2009 15:25:52 +0000 (16:25 +0100)]
Increases the sample frequency from 100/sec to 10,000/sec

For a typical vsync locked application running at 60fps, sampling at just
under twice a frame doesn't seem to give very stable lists of relevent hardware
units because there are a number of units involved that may not be sampled one
second to the next.

This bumps the sample rate to 10,000 instead which is ~ 170 samples per
frame so we tend to hit all the units involved.

It also changes the report threshold to a sample count >= 1, so you don't
see as many units with a percentage of 0.

Signed-off-by: Eric Anholt <eric@anholt.net>
15 years agoRevert "intel_gpu_top:print a visual clue on how big a certain use is"
Robert Bragg [Sun, 7 Jun 2009 22:26:18 +0000 (23:26 +0100)]
Revert "intel_gpu_top:print a visual clue on how big a certain use is"

This reverts commit 5e13b98da1e7e31cffba84fd257002357d5f2682.

We can print prettier graphs using unicode

Signed-off-by: Eric Anholt <eric@anholt.net>
15 years agointel_gpu_top: Print GPU clock information, which seems interesting.
Eric Anholt [Thu, 4 Jun 2009 14:38:17 +0000 (14:38 +0000)]
intel_gpu_top: Print GPU clock information, which seems interesting.

15 years agointel_gpu_top:print a visual clue on how big a certain use is
Arjan van de Ven [Tue, 28 Apr 2009 11:05:43 +0000 (12:05 +0100)]
intel_gpu_top:print a visual clue on how big a certain use is

humans are pretty bad at reading percentages quicky; this patch adds a
histogram capability to make it more visually clear as to which lines are
big ticket items

15 years agoBump version to 1.0.1 for release. 1.0.1
Eric Anholt [Tue, 19 May 2009 23:48:40 +0000 (16:48 -0700)]
Bump version to 1.0.1 for release.

15 years agointel_gpu_dump: Stop decoding batchbuffers after MI_BATCH_BUFFER_END.
Eric Anholt [Tue, 19 May 2009 23:32:39 +0000 (16:32 -0700)]
intel_gpu_dump: Stop decoding batchbuffers after MI_BATCH_BUFFER_END.

15 years agoAdd decode of gen4 PIPE_CONTROL
Eric Anholt [Tue, 19 May 2009 23:26:35 +0000 (16:26 -0700)]
Add decode of gen4 PIPE_CONTROL

15 years agoAdd decode of dest buffer variables (destination format)
Eric Anholt [Tue, 19 May 2009 23:12:43 +0000 (16:12 -0700)]
Add decode of dest buffer variables (destination format)

(cherry-pick from Mesa commit 0af7e9170fd7c0d906652378b9f78fe2ba9725ad)

15 years agoAdd manpages for all installed binaries.
Eric Anholt [Tue, 19 May 2009 23:09:08 +0000 (16:09 -0700)]
Add manpages for all installed binaries.

15 years agoAdd gem_largeobject to ignore.
Eric Anholt [Tue, 19 May 2009 22:53:55 +0000 (15:53 -0700)]
Add gem_largeobject to ignore.

15 years agotests: add large object test
Jesse Barnes [Thu, 14 May 2009 21:39:48 +0000 (14:39 -0700)]
tests: add large object test

The large object test simply tries to allocate a 128M object, pin it, then
pwrite the whole thing.  This should make obvious any leaks on close or
page pointer allocation failures.

15 years agoFix distcheck 1.0
Eric Anholt [Mon, 27 Apr 2009 16:45:22 +0000 (09:45 -0700)]
Fix distcheck

15 years ago.gitignore libtool junk
Eric Anholt [Mon, 27 Apr 2009 16:41:41 +0000 (09:41 -0700)]
.gitignore libtool junk

15 years agointel_gpu_top: Add ring information.
Eric Anholt [Mon, 27 Apr 2009 16:39:05 +0000 (09:39 -0700)]
intel_gpu_top: Add ring information.

15 years agoAdd a test to try to fill the ring.
Eric Anholt [Mon, 27 Apr 2009 16:35:40 +0000 (09:35 -0700)]
Add a test to try to fill the ring.

Did this while trying to debug the Ubuntu DRI1+compiz issue.  Didn't succeed
in filling the ring.

15 years agointel_gpu_dump: Use asprintf instead of a static-sized array
Carl Worth [Mon, 13 Apr 2009 21:35:11 +0000 (14:35 -0700)]
intel_gpu_dump: Use asprintf instead of a static-sized array

Not that we're really concerned about buffer-overrun attacks
against this utility, but still, good habits and clean code
are always preferred.

15 years agointel_gpu_dump: Give a nicer message for missing batchbuffer-dumping code
Carl Worth [Mon, 13 Apr 2009 21:33:09 +0000 (14:33 -0700)]
intel_gpu_dump: Give a nicer message for missing batchbuffer-dumping code

This is the case where debugfs is mounted, the dri/0 directory
exists but there's no i915_ringbuffer_info file. Point the user
toward upgrading the driver.

15 years agointel_gpu_dump: Mention filename in error message
Carl Worth [Mon, 13 Apr 2009 21:06:00 +0000 (14:06 -0700)]
intel_gpu_dump: Mention filename in error message

This helps for when the user makes a typo trying to pass a file
or directory name to intel_gpu_dump.

15 years agoAdd example command for mounting debugfs
Carl Worth [Mon, 13 Apr 2009 21:02:04 +0000 (14:02 -0700)]
Add example command for mounting debugfs

This is a nice opportunity to teach the user something, (and help our
users to actually succeed in creating useful bug reports for us).

15 years agointel_gpu_dump: Add no-arguments automatic mode, and clean up comments.
Eric Anholt [Mon, 13 Apr 2009 01:03:25 +0000 (18:03 -0700)]
intel_gpu_dump: Add no-arguments automatic mode, and clean up comments.

15 years agointel_gpu_dump: Dump ring, batch, and head/tail info when given the directory.
Eric Anholt [Mon, 13 Apr 2009 00:49:31 +0000 (17:49 -0700)]
intel_gpu_dump: Dump ring, batch, and head/tail info when given the directory.

15 years agointel_gpu_dump: Decode the GTT offset of batchbuffers.
Eric Anholt [Mon, 13 Apr 2009 00:04:31 +0000 (17:04 -0700)]
intel_gpu_dump: Decode the GTT offset of batchbuffers.

15 years agointel_gpu_dump: Get the devid so we can decode correctly on gen4.
Eric Anholt [Sun, 12 Apr 2009 22:57:07 +0000 (15:57 -0700)]
intel_gpu_dump: Get the devid so we can decode correctly on gen4.

15 years agoFix warning about assert in intel_batchbuffer.h
Eric Anholt [Wed, 8 Apr 2009 02:07:18 +0000 (19:07 -0700)]
Fix warning about assert in intel_batchbuffer.h