Gaetan Nadon [Wed, 4 Jan 2012 02:12:17 +0000 (21:12 -0500)]
Add mandatory COPYING file.
This module is hosted as an X.Org app and is published as such.
This file is a summary of the copyright statements in the source code.
http://www.x.org/wiki/NewModuleGuidelines
Acked-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Eugeni Dodonov [Mon, 19 Dec 2011 18:25:53 +0000 (16:25 -0200)]
tools/intel_reg_dumper: retrieve rc6 residency values
This allows to check if rc6 works, and how long have we been in each
state.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Eugeni Dodonov [Tue, 25 Oct 2011 16:40:12 +0000 (14:40 -0200)]
tools/intel_reg_dumper: Add support for debug register
Right now, we only check for hardware DRRS support. But much more can be
done with it. Some day.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Wu Fengguang [Sat, 12 Nov 2011 03:12:55 +0000 (11:12 +0800)]
intel_audio_dump: show Gamut Metadata DIP
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:54 +0000 (11:12 +0800)]
intel_audio_dump: show interrupt enable bit
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:53 +0000 (11:12 +0800)]
intel_audio_dump: show HDMI encoding
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:52 +0000 (11:12 +0800)]
intel_audio_dump: show VIDEO_DIP_CTL_* for CPT
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:51 +0000 (11:12 +0800)]
intel_audio_dump: show ironlake ELD_access_address
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:50 +0000 (11:12 +0800)]
intel_audio_dump: show ELD contents for G45
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:49 +0000 (11:12 +0800)]
intel_audio_dump: show detected chipset name
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:48 +0000 (11:12 +0800)]
intel_audio_dump: show DP control registers for Ironlake
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:47 +0000 (11:12 +0800)]
intel_audio_dump: explain Bits_per_Sample
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:46 +0000 (11:12 +0800)]
intel_audio_dump: fix DP port width for CPT
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:45 +0000 (11:12 +0800)]
intel_audio_dump: fix DP control registers for CPT
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:44 +0000 (11:12 +0800)]
intel_audio_dump: fix Ironlake detection
The original test mistakenly calls dump_cpt() for Ironlake,
due to HAS_PCH_SPLIT := IS_GEN5 || IS_GEN6 || IS_GEN7.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:43 +0000 (11:12 +0800)]
intel_audio_dump: fix Digital_Port_D_Detected copy&paste error
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:42 +0000 (11:12 +0800)]
intel_audio_dump: fix ironlake Stream_ID indents
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:41 +0000 (11:12 +0800)]
intel_audio_dump: report effective channel count
The raw channel count is not user friendly and may be misleading.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:40 +0000 (11:12 +0800)]
intel_audio_dump: cleanup hex output
- no need to show the 1-bit AUD_OUT_DIG_CNVT_* as hex value
- show the Connection_select_Control_* bits as hex values
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:39 +0000 (11:12 +0800)]
intel_audio_dump: cleanup ACP DIP name for ironlake and CPT
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Sat, 12 Nov 2011 03:12:38 +0000 (11:12 +0800)]
intel_audio_dump: cleanup hyphen character
Convert "" (Hex 00ad) to "-" (Hex 2d), the former leads to ugly outputs
in some situations.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 24 Dec 2011 00:23:59 +0000 (01:23 +0100)]
Release 1.1
Daniel Vetter [Sat, 17 Dec 2011 23:24:45 +0000 (00:24 +0100)]
testdisplay: shut up compiler
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 17 Dec 2011 23:21:39 +0000 (00:21 +0100)]
testdisplay: move drm_fourcc.h include under the #ifdef protection
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Yi Sun [Thu, 1 Dec 2011 10:57:16 +0000 (18:57 +0800)]
tests/testdisplay.c: make the 3th pipe finish all the mode setting.
If test all modes rather than preferred mode, remove framebuffer and
set CRTC to zero after each connector mode setting.
Signed-off-by: Sun Yi <yi.sun@intel.com>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Ben Widawsky [Thu, 15 Dec 2011 21:54:30 +0000 (13:54 -0800)]
intel-decode: fix flush dword post sync parse
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Chris Wilson [Wed, 14 Dec 2011 17:43:37 +0000 (17:43 +0000)]
tests/gem_double_irq_loop: silence the compiler
gem_double_irq_loop.c: In function ‘dummy_reloc_loop’:
gem_double_irq_loop.c:62:9: warning: unused variable ‘j’ [-Wunused-variable]
Chris Wilson [Wed, 14 Dec 2011 17:41:34 +0000 (17:41 +0000)]
tests/gem_exec_blt: silence the compiler by failing on error
gem_exec_blt.c: In function ‘gem_exec’:
gem_exec_blt.c:174:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
Propagate the failure and exit(1).
Chris Wilson [Wed, 14 Dec 2011 17:41:34 +0000 (17:41 +0000)]
tests/gem_exec_nop: silence the compiler by failing on error
gem_exec_nop.c: In function ‘exec’:
gem_exec_nop.c:101:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
Propagate the failure and exit(1).
Chris Wilson [Wed, 14 Dec 2011 17:39:42 +0000 (17:39 +0000)]
tests/gem_stress: silence the compiler by using '%zu' for size_t
gem_stress.c: In function ‘main’:
gem_stress.c:980:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat]
Chris Wilson [Wed, 14 Dec 2011 17:37:53 +0000 (17:37 +0000)]
tests/gem_largeobject: silence the compiler
gem_largeobject.c: In function ‘test_large_object’:
gem_largeobject.c:95:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Jesse Barnes [Wed, 14 Dec 2011 16:14:45 +0000 (08:14 -0800)]
testdisplay: don't test planes if i915 color key ioctl is not available
Chris Wilson [Mon, 12 Dec 2011 20:19:03 +0000 (20:19 +0000)]
scripts/who: Add the process id to the output
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Mon, 12 Dec 2011 17:44:58 +0000 (17:44 +0000)]
scripts: Add a trivial script to show which programs are using the GPU
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sat, 10 Dec 2011 12:49:10 +0000 (12:49 +0000)]
decode: Fix interpretation of i915 8bit formats
2/3 are reserved with the correct values for A8/I8 being 4/5
respectively.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Jesse Barnes [Wed, 7 Dec 2011 16:22:41 +0000 (08:22 -0800)]
testdisplay: update for final plane & fb ABI
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Daniel Vetter [Tue, 6 Dec 2011 15:57:53 +0000 (16:57 +0100)]
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>
Daniel Vetter [Sun, 4 Dec 2011 20:42:31 +0000 (21:42 +0100)]
tests: add gem_partial_pwrite_pread
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 4 Dec 2011 12:57:56 +0000 (13:57 +0100)]
tests/gem_reloc_vs_gpu: fixup this mess
- fixup pitch mess noticed by Chris Wilson.
- we need to diable bo reuse otherwise the kernel won't do the relocs
(we might get an already gtt-bound batch from the dummy load).
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 4 Dec 2011 12:49:24 +0000 (13:49 +0100)]
tests/gem_reloc_vs_gpu: emit special batch on blt ring on gen6+
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 4 Dec 2011 12:02:35 +0000 (13:02 +0100)]
tests/gem_reloc_vs_gpu: switch to COLOR_BLT instead of PIPE_CONTROL
Less fancy command that works everywhere. Suggested by Chris Wilons.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 3 Dec 2011 18:57:36 +0000 (19:57 +0100)]
tests/gem_tiled_pread_pwrite: kill set-but-unsed warning
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 4 Dec 2011 11:08:59 +0000 (12:08 +0100)]
tests: add gem_reloc_vs_gpu
Tests whether the kernel properly waits for the gpu before
applying a reloc.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 2 Dec 2011 19:40:03 +0000 (20:40 +0100)]
Revert some accidental things
... somehow slipped in.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 2 Dec 2011 19:36:06 +0000 (20:36 +0100)]
tests: add gem_exec_faulting_reloc
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 2 Dec 2011 17:41:34 +0000 (18:41 +0100)]
tests: add gem_exec_bad_domains
To check whether the kernel properly rejects non-gpu domains in
relocs.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 2 Dec 2011 09:55:56 +0000 (10:55 +0100)]
tests: add gem_tiled_pread_pwrite
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 1 Nov 2011 13:33:53 +0000 (14:33 +0100)]
improve README
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 30 Nov 2011 11:36:29 +0000 (12:36 +0100)]
tests/gem_gtt_speed: Add modes that force that to the gtt domain
No sane userspace doesn't upload data to the gpu without actually
using it there ...
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Paul Berry [Wed, 30 Nov 2011 17:47:56 +0000 (09:47 -0800)]
Add missing executables to .gitignore.
Daniel Vetter [Sun, 27 Nov 2011 01:39:14 +0000 (02:39 +0100)]
tests: implement snb+ XY_SETUP_CLIP_BLT workaround
Better safe than sorry.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Nov 2011 00:55:42 +0000 (01:55 +0100)]
tests/sysfs_edit_reader: posixify
Debian's default sh complains ...
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Nov 2011 00:37:59 +0000 (01:37 +0100)]
tests: properly terminate tests when values mismatch
Not much use running them in the test rig otherwise.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Eugeni Dodonov [Fri, 11 Nov 2011 13:17:59 +0000 (11:17 -0200)]
tests/gem_hang: fix copy-paste problem
I suspect that we should do different things for different pipes..
Spotted by Thomas Jarosh on #intel-gfx freenode.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Eugeni Dodonov [Thu, 10 Nov 2011 13:27:27 +0000 (11:27 -0200)]
tests: add a test for checking edid reading delays
With base on EDID timing testing, when we take more than 1s to run
xrandr command, something is wrong.. So add this test for testing the time
we take to read the status of all the connectors from sysfs. It should do
us an average picture of how long we'd take to run xrandr (roughtly 2x
that value).
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Eugeni Dodonov [Thu, 10 Nov 2011 13:12:10 +0000 (11:12 -0200)]
tests: add test for kernel segmentation fault
As asked by Daniel Vetter, this is a tech which checks if we can cause
division by zero in kernel by reading the i915_emon_status debugfs
entry repeatably.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Eugeni Dodonov [Tue, 8 Nov 2011 17:47:03 +0000 (15:47 -0200)]
intel_gpu_top: use debugfs interface for forcewake
Using debugfs facilities for forcewake-related stuff.
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Daniel Vetter [Tue, 8 Nov 2011 11:36:24 +0000 (12:36 +0100)]
tests: disable pipe_control on i965g
That hw is broken.
Reported-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Fri, 4 Nov 2011 17:10:06 +0000 (17:10 +0000)]
Call Arrandale gen5 not gen4.
Chris Wilson [Fri, 4 Nov 2011 13:26:13 +0000 (13:26 +0000)]
testdisplay: Round tiled allocations up to pot stride and fence size
Be simple and use the strictest requirements from gen2/3 with old
kernels so that this simply works everywhere.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42585
Jesse Barnes [Wed, 2 Nov 2011 19:57:40 +0000 (12:57 -0700)]
testdisplay: find planes for each pipe
Fixes a bug where we were masking against the wrong value.
Jesse Barnes [Wed, 2 Nov 2011 19:57:20 +0000 (12:57 -0700)]
testdisplay: update to new addfb2 definition
Daniel Vetter [Tue, 1 Nov 2011 16:20:01 +0000 (17:20 +0100)]
cargo-cult the build system into shape
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 1 Nov 2011 16:04:44 +0000 (17:04 +0100)]
always require libdrm
... and also add the missing files to lib/Makefile.am
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 1 Nov 2011 11:10:35 +0000 (12:10 +0100)]
tests/gem_tiled_pread: fixup detiler for gen2
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 1 Nov 2011 10:52:53 +0000 (11:52 +0100)]
tests/gem_largeobject: accomodate for puny apertures
... like on my i855gm.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Ben Widawsky [Tue, 1 Nov 2011 00:19:54 +0000 (17:19 -0700)]
i-g-t/debugger - make the debugger work with distcheck
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Ben Widawsky [Mon, 31 Oct 2011 20:36:50 +0000 (13:36 -0700)]
i-g-t/debugger: Only allow the shader debugger if the user has specified a gen4asm
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Daniel Vetter [Mon, 31 Oct 2011 22:19:08 +0000 (23:19 +0100)]
tests: mark gem_bad_address as HANG
Kills my little i855gm.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 31 Oct 2011 16:40:37 +0000 (17:40 +0100)]
tests/debugfs_reader: fight bashism
debian's dash doesn't like this.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 31 Oct 2011 15:08:02 +0000 (16:08 +0100)]
tests: actually add the drm client check script
Ooops.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 31 Oct 2011 15:04:34 +0000 (16:04 +0100)]
tests: check for other drm clients
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 30 Oct 2011 22:20:12 +0000 (23:20 +0100)]
tests/gem_bad_length: disable broken batchbuffer
Submitting random crap hangs the gpu. Suprise!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 30 Oct 2011 21:27:19 +0000 (22:27 +0100)]
tests: don't run kernel check from make check
Add a new target test for that.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 30 Oct 2011 21:04:39 +0000 (22:04 +0100)]
tools: script to gather bug report data
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 30 Oct 2011 20:24:12 +0000 (21:24 +0100)]
make distcheck fixes
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 30 Oct 2011 19:51:03 +0000 (20:51 +0100)]
tests: add test to read all debugfs files
Catches a bunch of forcewake warnings on snb+
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 30 Oct 2011 19:45:42 +0000 (20:45 +0100)]
testdisplay: compile fix for !DRM_PLANES
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 28 Oct 2011 15:39:14 +0000 (17:39 +0200)]
tests: add gem_unref_active_buffers
The crucial trick to reproduce the bug is that we need to have
a decent pile of active bos to retire. Because we unref the bo
after having it moved off the active list, our recursion depth
in fdo bug #42180 is limited by the number of active objects that
can retire at the same time.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42180
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Jesse Barnes [Fri, 28 Oct 2011 03:25:53 +0000 (05:25 +0200)]
testdisplay: allow overlay plane to be moved & scaled at runtime
For additional testing.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Jesse Barnes [Fri, 28 Oct 2011 15:53:48 +0000 (08:53 -0700)]
intel_reg_dumper: handle 3 pipe configs when dumping HDMI config
Could be on pipe A, B, or C.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Jesse Barnes [Fri, 28 Oct 2011 00:47:58 +0000 (17:47 -0700)]
testdisplay: add stub disable_planes() function
To fix the compile with non-plane libdrms.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Daniel Vetter [Tue, 25 Oct 2011 10:24:17 +0000 (12:24 +0200)]
tools/decode: decode XY_SCANLINES_BLT
Daniel Vetter [Tue, 25 Oct 2011 10:15:27 +0000 (12:15 +0200)]
tools/decode: decode XY_SETUP_* cmds
And extract decode code for br00 and br01.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Jesse Barnes [Mon, 24 Oct 2011 15:15:34 +0000 (17:15 +0200)]
testdisplay: add sprite scaling and location support
Allow testdisplay to locate the sprite on the screen and potentially
scale it using different crtc width/height vs the source width/height
(determined by the resolution on the target pipe).
Also fix exit, making sure we properly disable all the planes.
Signed-off-by: Jesse Barnes <jbarnes@virtuougseek.org>
Daniel Vetter [Fri, 21 Oct 2011 17:06:08 +0000 (19:06 +0200)]
tools/intel_error_decode: decode gen4+ fences
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 21 Oct 2011 08:09:14 +0000 (10:09 +0200)]
tools/decode: properly decode gen6+ PIPE_CONTROL flags
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Tue, 18 Oct 2011 13:05:54 +0000 (14:05 +0100)]
top: Avoid FPE by removing meaningless metric
Eric Anholt [Fri, 23 Sep 2011 21:47:44 +0000 (14:47 -0700)]
intel_reg_checker: New tool to accumulate checks for HW workarounds.
The goal of this tool is to be usable as a test for whether something
(suspend/resume, GPU reset, bugs, whatever) may have lost various
required hardware setup specified in the docs.
Reviewed-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Daniel Vetter [Tue, 18 Oct 2011 14:30:56 +0000 (16:30 +0200)]
intel/decode: print out chipset gen
... instead of i965+ for almost everything that Intel is still selling.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 18 Oct 2011 13:54:31 +0000 (15:54 +0200)]
tools/decode: don't move around the display register section
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 18 Oct 2011 13:49:41 +0000 (15:49 +0200)]
tools/decode: don't forget to print the name of the last ring
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Eugeni Dodonov [Mon, 17 Oct 2011 19:48:18 +0000 (17:48 -0200)]
Allow intel_dump_decode to read data from stdin.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Daniel Vetter [Mon, 17 Oct 2011 17:41:42 +0000 (19:41 +0200)]
tools/intel_dump_decode: make devid parsing more useful
We use hex for these!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 11 Oct 2011 11:14:02 +0000 (13:14 +0200)]
tools/decode: retain the ring name
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 16 Oct 2011 19:13:34 +0000 (21:13 +0200)]
tests: add gem_hangcheck_forcewake
Provokes the forcewake warning when the hangcheck runs and no
one waits for the gpu (and hence holds the dev->struct_mutex).
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 15 Oct 2011 11:46:19 +0000 (13:46 +0200)]
tests/gem_fence_trash: some retuning
We actually want to test lru behaviour, so do a bit of work with
the fence before yielding to the next thread (we use twice as many
fences as there are, so yielding always is pretty bad, no matter how
clever our fence stealing).
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 15 Oct 2011 11:09:36 +0000 (13:09 +0200)]
tests/gem_*_blits: reduce buffer count to not trash swap
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Eugeni Dodonov [Fri, 14 Oct 2011 18:26:13 +0000 (15:26 -0300)]
Allow to output statistics to stdout.
This allows intel_gpu_top to run both in statistics-collecting mode
(collecting the per-ring statistics in gnuplot-friendly format) and
ncurses top-like mode at the same time.
It also allows to output the statistics directly to stdout, by using "-o
-", so the results can be parsed directly via a popen() parsing.
If you are using intel_gpu_top as previously (without any command-line
arguments), it should change nothing for you. If you were using its
logging facilities (e.g., the '-o file'), note that the logging will keep
running, but the detailed top-like interface will be on the screen at the
same time.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Adam Jackson [Tue, 11 Oct 2011 22:25:26 +0000 (18:25 -0400)]
bios_reader: Allow forcing the device ID with DEVICE=0xNNNN
As a pleasant side effect you can now feed it an opregion dump and it'll
decode without crashing.
Signed-off-by: Adam Jackson <ajax@redhat.com>