Daniel Vetter [Sun, 22 Jan 2012 20:58:27 +0000 (21:58 +0100)]
tests: add gem_tiled_swapping
Also add a drmtest_exchange_int helper, might come handy at other
places.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 22 Jan 2012 19:09:54 +0000 (20:09 +0100)]
lib: extract drmtest_permute_array
Lots of tests need to create havoc to LRUs in the kernel or otherwise
need to shuffle things around a bit. So make a small array permutation
function available.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 22 Jan 2012 18:24:48 +0000 (19:24 +0100)]
lib: add intel_get_total_swap_mb
Test that try to exercise the swap paths need to check whether swap is
available, otherwise they'll just oom.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 22 Jan 2012 18:14:25 +0000 (19:14 +0100)]
Revert "tests/gem_tiled_pread_pwrite: actually try to use more than total ram"
This test is actually not really designed to test swap.
This reverts commit
6d755c39d38e9f0e5a991933cc82e015d1ccd272.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 22 Jan 2012 17:04:24 +0000 (18:04 +0100)]
tests/gem_tiled_pread_pwrite: actually try to use more than total ram
Luckily there's usually enough other stuff around to waste the last
few mb ...
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Mon, 16 Jan 2012 23:19:24 +0000 (07:19 +0800)]
intel_audio_dump: show more AUD_CONFIG bits
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Wu Fengguang [Mon, 16 Jan 2012 23:18:08 +0000 (07:18 +0800)]
intel_audio_dump: fix missing Audio DIP tabs
This makes the SNB/IVY Audio DIP values aligned with others.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Thu, 19 Jan 2012 12:01:03 +0000 (13:01 +0100)]
tests: make testdisplay non-optional
Not testing modesetting should not be an option.
Also this hopefully prevents testdisplay build-breakage from lingering
on for days like it has in the past.
And we want to eventually test the gem/kms cross-section, i.e.
pageflips.
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 18 Jan 2012 20:23:56 +0000 (21:23 +0100)]
lib: extract rendercopy functions from gem_stress
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 18 Jan 2012 16:53:12 +0000 (17:53 +0100)]
gem_stress: s/gem_stress.h/rendercopy.h
Daniel Vetter [Wed, 18 Jan 2012 16:51:48 +0000 (17:51 +0100)]
gem_stress: move keep_gpu_busy stuff out of render copy functions
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 18 Jan 2012 16:47:33 +0000 (17:47 +0100)]
gem_stress: move option struct out of header
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 18 Jan 2012 16:46:00 +0000 (17:46 +0100)]
gem_stress: add width/height arg to rendercpy functions
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 18 Jan 2012 00:03:20 +0000 (01:03 +0100)]
gem_stress: move a few things out of gem_stress.h
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 17 Jan 2012 23:55:49 +0000 (00:55 +0100)]
gem_stress: pass batch as arg to render_copy functions
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 17 Jan 2012 23:36:37 +0000 (00:36 +0100)]
gem_stress: remove logical_tile_no arg from render_copy functions
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 17 Jan 2012 23:34:15 +0000 (00:34 +0100)]
gem_stress: add buf->size
Removes a dependency on gem_stress internals from the rendercpy
functions.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 15 Jan 2012 17:32:11 +0000 (18:32 +0100)]
lib/drmtest: extract mappable aperture trasher infrastructure
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 15 Jan 2012 16:40:41 +0000 (17:40 +0100)]
lib/drmtest: add gem_mappable_aperture_size
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 15 Jan 2012 16:14:56 +0000 (17:14 +0100)]
lib/drmtest: extract gem_aperture_size
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 15 Jan 2012 15:40:32 +0000 (16:40 +0100)]
tests: update .gitignore
Daniel Vetter [Sun, 15 Jan 2012 15:39:49 +0000 (16:39 +0100)]
tests: add ZZ_hangman
Not yet enabled by default because the kernel can't recover from this
on chips where we don't have a gpu reset implemented.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 14 Jan 2012 16:05:39 +0000 (17:05 +0100)]
tests: add ZZ_check_dmesg
This way the testsuit automatically fails if we hit a DRM_ERROR
or a WARN/BUG somewhere.
... i.e. this is the Jesse Barnes catcher ...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 11 Jan 2012 01:30:23 +0000 (20:30 -0500)]
tools: use correct src and build location
Headers are found under top_srcdir/
Headers are CPP flags, not C Flags
libintel_tools.la is located in top_builddir.
Use dist_bin_SCRIPTS so it is included in tarball
Line-up the line continuation characters
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Thu, 5 Jan 2012 23:56:28 +0000 (18:56 -0500)]
scripts: use PYTHON primary directive for python scripts
Should it become installlable in the future, it will get compiled
at installation time by Automake. Because it is "source", they get
included in the tarball.
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Thu, 5 Jan 2012 23:44:49 +0000 (18:44 -0500)]
lib: fix include directives, alphabetize sources
Headers are found under top_srcdir/...
Headers are CPP flags, not C Flags
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Thu, 5 Jan 2012 22:02:30 +0000 (17:02 -0500)]
Benchmark: use correct src and build location
Headers are found under top_srcdir/...
Haeders are CPP flags, not C Flags
AM_CPPFLAGS, AM_CFLAGS and LDAAD apply to all targets.
libintel_tools.la is located in top_builddir.
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Tue, 10 Jan 2012 22:25:24 +0000 (17:25 -0500)]
Debugger: convert existing makefiles to Automake.
A common xorg idiom is used. The dependencies are auto-detected.
If they are present, the debugger is build.
If any are missing, the debugger is silently skipped.
If --enable-shader-debugger is specified, the configuration
will abort if any of the dependencies is missing.
No user actions is needed, no env variable to set (as it should be)
This will fix a number of problems:
build cannot start due Makefile missing in tarball.
build fails as GEN4ASM variable not available in Makefile.
distcheck is also disturbed.
In the process other minor problems were fixed:
helper target is missing dependencies on evict.h.
too may arguments given to pre_cpp.py but they were ignored.
fills /tmp with temporary files.
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Daniel Vetter [Wed, 11 Jan 2012 16:19:53 +0000 (17:19 +0100)]
lib/drmtest: add gpu quiescent helper
Some tests are higly timing dependent and others carelessly leave
active buffers behind. So add a helper to quiescent the gpu and call
it unconditionally when opening an fd in a vain attempt to make all
this race-condition hitting more scientifically sound.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 11 Jan 2012 15:56:50 +0000 (16:56 +0100)]
tests: add drm_vma_limiter_cached to check libdrm cache mmap pruning
Suggested by Chris Wilson.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 11 Jan 2012 14:33:00 +0000 (15:33 +0100)]
lib/drmtest: extract helpers for signal interruptions
Also add some hackish stat to check it works.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 11 Jan 2012 13:59:47 +0000 (14:59 +0100)]
tests: add drm_vma_limiter variants that only check gtt/cpu mmaps
Suggested by Chris Wilson.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
root [Wed, 11 Jan 2012 13:37:42 +0000 (14:37 +0100)]
tests: add drm_vma_limiter
v2: Also check whether a 2nd mmap on the same bo still works.
Suggested by Chris Wilson.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
root [Tue, 10 Jan 2012 21:34:52 +0000 (22:34 +0100)]
tests/gem_fenced_exec_trash: use drmtest helpers more
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 17:41:46 +0000 (18:41 +0100)]
lib/drmtest: extract gem_mmap
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 17:29:30 +0000 (18:29 +0100)]
lib/drmtest: extract gem_create
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 17:20:39 +0000 (18:20 +0100)]
testdisplay: rename global fd variable to drm_fd
Shuts up compiler warnings about shadowing in functions.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 17:15:05 +0000 (18:15 +0100)]
testdisplay: fixup smaller compiler warnings
const char * issues and redudant getopt stuff
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 15:10:48 +0000 (16:10 +0100)]
tests: use the gem_write wrapper some more
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 15:05:34 +0000 (16:05 +0100)]
lib/drmtest: extract gem_set_domain and gem_sync
gem_sync just does a gtt sync by using set_domain(GTT, GTT).
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 14:50:20 +0000 (15:50 +0100)]
tests: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 14:37:53 +0000 (15:37 +0100)]
lib/drmtest: extract gem_read
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 14:31:11 +0000 (15:31 +0100)]
lib/drmtest: extract gem_write
Astonishing how many different function signatures are possible for
something that simple.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 14:07:19 +0000 (15:07 +0100)]
lib/drmtest: extract gem_close
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 10 Jan 2012 13:59:58 +0000 (14:59 +0100)]
lib/drmtest: extract gem_set_tiling
Way too much copy-pasting going on here.
Also fix a compiler warnings in gem_stress while fixup things up.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:42:19 +0000 (23:42 +0100)]
lib: fixup new compiler warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:37:36 +0000 (23:37 +0100)]
tools/intel_stepping: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:35:21 +0000 (23:35 +0100)]
tools/intel_gtt: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:34:38 +0000 (23:34 +0100)]
tools/intel_reg_dumper: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:24:12 +0000 (23:24 +0100)]
remove tools/intel_decode
Everyone's using the libdrm decoder now.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:22:21 +0000 (23:22 +0100)]
tools/intel_gpu_top: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:19:32 +0000 (23:19 +0100)]
tools/intel_dump_decode: use libdrm decoder
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:11:58 +0000 (23:11 +0100)]
tools/intel_bios_reader: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:10:44 +0000 (23:10 +0100)]
tools/intel_bios_dumper: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:09:37 +0000 (23:09 +0100)]
tools/intel_audio_dump: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:06:41 +0000 (23:06 +0100)]
tools/intel_error_decode: fixup new warnings
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 9 Jan 2012 22:38:17 +0000 (23:38 +0100)]
tools/intel_error_decode: convert over to libdrm decoder
Note that a per-ring error decode state would make more sense - this
way we could better decode the ring head and tail. But our current
head tracking is already lame (we need the kernel to also dump the
ringbuffer head/tail first, not just acthd), so I didn't bother.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Jesse Barnes [Mon, 9 Jan 2012 22:33:39 +0000 (14:33 -0800)]
testdisplay: update to new colorkey ioctl
Alan Coopersmith [Fri, 6 Jan 2012 23:45:29 +0000 (15:45 -0800)]
Fix pthread compiler flags to work on Solaris and with Studio compiler
AC_USE_SYSTEM_EXTENSIONS is used to let autoconf take care of setting
the right system defintions for POSIX threads & similar extensions to
the base POSIX API. Since it will also #define _GNU_SOURCE 1, remove
the extra setting to avoid compiler warnings about redefined macros.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Alan Coopersmith [Fri, 6 Jan 2012 22:37:20 +0000 (14:37 -0800)]
include <fcntl.h> in lib/intel_mmio.c for open() prototype on Solaris
<fcntl.h> is the POSIX standard specified header for open(), so should
be available on all platforms.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Alan Coopersmith [Fri, 6 Jan 2012 22:37:19 +0000 (14:37 -0800)]
List out array values instead of using gcc range extension
Required to compile with Solaris Studio cc compiler.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Alan Coopersmith [Fri, 6 Jan 2012 23:45:28 +0000 (15:45 -0800)]
Use sched_yield instead of pthread_yield
Despite the name implying it's a standard part of the POSIX threads API,
pthread_yield is actually non-standard and less portable than sched_yield.
For instance, Solaris only has sched_yield, and not pthread_yield.
Since even the Linux man page suggests using sched_yield, just call that.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Alan Coopersmith [Fri, 6 Jan 2012 22:37:17 +0000 (14:37 -0800)]
Solaris defines struct winsize in termios.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Alan Coopersmith [Fri, 6 Jan 2012 22:37:16 +0000 (14:37 -0800)]
Provide Solaris implementation of intel_get_total_ram_mb
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:13:39 +0000 (21:13 -0500)]
config: restore the libtool minimum version to 1.5
Very few systems still use this old version, but it would be
inconvenient to build a video driver with libtool 1.5 and have
to build the gpu tools on another system having libtool 2.2.
The toolchain version requirements are documented here:
http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:25 +0000 (21:12 -0500)]
config: the minimum version for autoconf is 2.60
A version later than 2.60 can be used, but no new features from such
a later version can be used in configure.ac.
The toolchain version requirements are documented here:
http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System
Minimum version for Automake is 1.10 but we have not written it
in any xorg module so far and there has been no issues.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:24 +0000 (21:12 -0500)]
config: set-up xorg automatic rebuilding rules
The current code is a noop. Use the same configuration as all
the other xorg modules. This will change in the future but it is less
confusing when all modules behave the same way.
Note that these rules apply to building from a tarball only.
Restore autogen.sh to be identical in all xorg modules.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:23 +0000 (21:12 -0500)]
config: use project wide xorg warnings variable
Use CWARNFLAGS as in all of xorg. There seems to be no reason why this
module should be different. The warnings were updated recently
for those who install the latest util-macros.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:22 +0000 (21:12 -0500)]
config: remove duplicate AC_PROG_CC and AC_PROG__CC_99
The compiler was configured three times.
It is done once by XORG_DEFAULT_OPTIONS in util-macros.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:21 +0000 (21:12 -0500)]
config: remove unrequired AM_PROG_CC_C_O
Required when using per-target flags or subdir-objects with C sources.
http://www.gnu.org/software/automake/manual/automake.html
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:20 +0000 (21:12 -0500)]
Add mandatory ChangeLog and INSTALL files
These are generated from a macro in the util-macros package
Refer to the wiki for more details.
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>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:19 +0000 (21:12 -0500)]
Man pages still showing version 1.0 in the 1.1 release
The patch coverts the man subdir to the standard xorg man page makefile.
The version number is automatically updated when a new release is made.
The man page section number is no longer hard coded either.
The package util-macros at version 1.8 or greater is required.
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>
Gaetan Nadon [Wed, 4 Jan 2012 02:12:18 +0000 (21:12 -0500)]
Use standard .gitignore file and layout
Reusing xorg code saves maintenance in the long term.
Now that m4/.gitignore is removed, the -I m4 ${ACLOCAL_FLAGS}
must be removed to avoid build breakage as m4 is generated and not
part of the git source.
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>
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]