Rob Clark
b83ad86622
modetest: add YUV and multi-planar support
...
Signed-off-by: Rob Clark <rob@ti.com>
2012-04-03 16:49:12 -05:00
Rob Clark
d55de747a2
modetest: add drm_plane support
...
Signed-off-by: Rob Clark <rob@ti.com>
2012-04-03 16:48:56 -05:00
Rob Clark
ef1b958cc8
omap: add omapdrm support
...
This adds libdrm_omap helper layer (as used by xf86-video-omap,
omapdrmtest, etc).
Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
[danvet: pushed for Rob, he doesn't yet have commit access.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-03-28 23:00:14 +02:00
Chris Wilson
ef20301a11
tests/gem_flink: Check for MASTER before proceeding
...
gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not
establish ourselves as authenticated before testing the ioctls. So
instead of aborting, skip the test unless we have root privileges (and
so DRM_MASTER and the DRM_AUTH restriction no longer applies).
A future test could assert that the flink fails without proper
authentication.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-12-18 14:03:18 +00:00
Dave Airlie
902ee661f1
test/radeon: add missing files for dist
2011-12-05 21:24:48 +00:00
Jerome Glisse
ca4971292c
tests/radeon: radeon specific test
...
Initial test only include ttm test for stressing ttm memory
allocations.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-11-10 17:14:42 -05:00
Jakob Bornecrantz
d23146f3f0
modetest: Call dirty fb on modeset
...
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19 13:35:07 +02:00
Jakob Bornecrantz
680b9c4fa3
modetest: Print extra info if we fail to create a framebuffer
...
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19 13:35:07 +02:00
Jakob Bornecrantz
3c8adda6e1
modetest: Check error message from pageflip ioctl
...
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19 13:35:07 +02:00
Jakob Bornecrantz
c2925e5197
vbltest: Check error codes returned from libdrm
...
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19 13:35:07 +02:00
Jakob Bornecrantz
dc11db2e28
tests: Add vmwgfx driver to probed drivers in tests
...
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19 13:35:06 +02:00
Jesse Barnes
b317c96361
modetest: use 24 bit depth on the framebuffer
...
It's more compatible; at least the Intel driver now rejects 32 bit
depths since it generally can't support real 32 bit framebuffers
(supports 30, 36, and 64 bit, but not 32).
2011-10-11 11:10:55 -07:00
Dave Airlie
c82ef03e4c
drmtest: make check should fail so hard on unable to open device
2011-09-26 16:03:20 +01:00
Dave Airlie
3a551c1274
drm/test: handle usub being empty
...
fixes a segfault on make check seen in tinderbox
2011-09-26 15:54:13 +01:00
Matt Turner
1459cb9252
modeprint.c: use PRIu64 for printing uint64_t
...
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-21 11:02:55 -04:00
Kristian Høgsberg
edd41db37d
Build modetest for all chipsets, always build modeprint
2011-03-03 21:35:28 -05:00
Matt Turner
3293eb95ca
don't try to build modetest without libkms
...
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-03-03 21:27:24 -05:00
Benjamin Franzke
a697fb6aca
modetest: Do no flip twice to a current front buffer
...
The incorrect order was:
fb, other_fb, other_fb, fb_id, other_fb, ..
2011-02-17 20:40:30 +01:00
Benjamin Franzke
51c6ae4c3a
tests/modeprint: Output masks as hex numbers
2011-02-17 14:09:12 +01:00
Benjamin Franzke
1776246785
tests/modeprint: Remove needless dependency on drm_intel
2011-02-17 14:07:58 +01:00
Benjamin Franzke
8fef29093f
modetest: Create buffers using libkms
2011-02-17 14:06:07 +01:00
Chris Wilson
000a0972c2
tests: Update for ENOENT returns from unknown handles
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-10 12:10:13 +00:00
Chris Wilson
7ec9a1effa
modetest: Fix drawing routines to use stride.
2010-09-09 18:57:28 +01:00
Jesse Barnes
0da84f89c2
modetest: align fb pitch to 64 bytes
...
Docs say this is necessary, and the kernel now enforces this.
2010-09-09 10:27:22 -07:00
Jesse Barnes
b8abe6139e
modetest: add edp and TV connector names to the connector name array
2010-09-07 13:10:15 -07:00
Fernando Carrijo
c570b4b97b
Purge macro NEED_REPLIES
...
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-07-01 13:12:55 -06:00
Jonathan Callen
52a3e9df62
Only build tests in make check
...
Currently, all the tests for libdrm are built during 'make all', even
if you do not wish to run tests. Attached is a patch, based on
version 2.4.15, to make the tests build in 'make check'.
2010-05-12 13:55:54 -04:00
Michel Dänzer
6293152eb0
vbltest: Doesn't need intel stuff.
...
Fixes build without libdrm_intel.
2010-04-28 15:27:35 +02:00
Jesse Barnes
c42d1a10e3
tests: add new vblank test
...
Simple test for event frequency.
2010-04-27 15:43:44 -04:00
Jesse Barnes
e6b3f906ce
modetest: add optional select codepath
...
For misc. testing.
2010-03-26 13:14:38 -07:00
Marcin Kościelnicki
9a37455b35
tests/modetest: Don't get_props on a connector after freeing it.
2010-02-28 00:25:22 +00:00
Marcin Kościelnicki
694ef59532
tests: vrefresh is actually not * 1000.
2010-02-28 00:25:22 +00:00
Marcin Kościelnicki
ecb668e1ef
tests: Add nouveau to list of supported modules.
2010-02-28 00:25:22 +00:00
Matthew W. S. Bell
e4a519635f
Tidy up compile warnings by cleaning up types.
2010-02-04 19:45:10 -05:00
Jakob Bornecrantz
44a0e0a099
libkms: Rework interface to not duplicate fields from kms and make formats explicit
...
List of changes:
Fixes the cursor size to 64x64, you still need ti supply width and height
Explicitly make the cursor format A8R8G8B8
Explicitly make the scanout format X8R8G8B8
2010-01-28 17:32:54 +01:00
Alan Coopersmith
dc1ed9952e
Support gcc's __FUNCTION__ for people using other compilers
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-16 19:37:06 -08:00
Alan Coopersmith
fe7b93fb49
Include alloca.h in tests/drmstat.c when configure detects it
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-16 19:37:05 -08:00
Jakob Bornecrantz
06a2d6567e
tests: Update kmstest a bit
2010-01-12 22:35:28 +01:00
Jakob Bornecrantz
d207a38701
tests: Add a very small libkms test
2010-01-08 15:34:44 +00:00
Kristian Høgsberg
59d97e7d68
modetest: Error out if pageflipping is requested but not available
2009-12-15 08:44:40 -05:00
Jesse Barnes
6f1eba0548
modetest: fix build error due to page_flip_handler name change
...
Forgot to update this when pushing the pageflip bits.
2009-12-04 09:09:19 -08:00
Jesse Barnes
53addc5d6e
Merge branch 'pageflip' of git://people.freedesktop.org/~jbarnes/drm
...
Conflicts:
include/drm/drm.h - RMFB had its signature changed to avoid uint32_t
2009-12-03 14:17:26 -08:00
Kristian Høgsberg
22d4666904
Add drmGetDeviceNameFromFd function
...
Determines the /dev filename of the drm fd argument.
2009-11-23 20:51:34 -05:00
Kristian Høgsberg
1e1b3c0a93
modetest: add pageflip test case to modetest
2009-11-20 14:53:38 -08:00
Kristian Høgsberg
4f57abfe66
Move libdrm/ up one level
2009-11-17 11:15:06 -05:00
Kristian Høgsberg
a66cf9ce68
Use headers copied from kernel instead of shared-core
2009-11-17 10:54:11 -05:00
Chris Wilson
ac34f599ea
tests: Disable intel-specific tests with --disable-intel
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-03 23:18:19 +01:00
Jesse Barnes
81644198ae
modetest: use gtt unmap for object
...
Match gtt map/unmap for correctness.
2009-06-22 12:27:49 -07:00
Kristian Høgsberg
ec9b7b320a
test: Avoid recursive dependency in makefile
2009-04-09 15:17:51 -04:00
Kristian Høgsberg
a85e07b903
test: Makefile.am grammar nazi
2009-04-09 15:02:40 -04:00
Dave Airlie
1faab66cfd
drm: fix test makefile
...
no idea if this is correct but it works so meh
2009-04-07 09:26:32 +10:00
Kristian Høgsberg
751db3fe27
Skip tests that require root
...
This lets us do make distcheck as non-root.
2009-04-06 17:22:10 -04:00
Kristian Høgsberg
8a5c4d567f
XFAIL auth and lock test cases
...
They're writing to the read end of a pipe and failing.
2009-04-06 17:18:17 -04:00
Kristian Høgsberg
e9d6116e5b
Use libudev in test case to only run gem tests for intel devices.
2009-04-06 17:13:01 -04:00
Kristian Høgsberg
9fc85b4084
modetest: Print names of properties.
2009-02-23 15:10:30 -05:00
Kristian Høgsberg
8b8803695b
modetest: Add syntax to also specify a crtc when setting a mode.
2009-02-04 12:17:32 -05:00
Kristian Høgsberg
7a389aab86
modetest: Use cairo (if available) to paint a better pattern.
2009-02-03 15:03:41 -05:00
Kristian Høgsberg
2c113a1b15
modetest: Don't sleep when just dumping state, wait for key for modeset.
2009-02-03 14:03:09 -05:00
Kristian Høgsberg
669fde3472
modetest: Handle setting modes on multiple crtcs with one fb.
2009-02-03 14:00:00 -05:00
Kristian Høgsberg
d9c55a6bec
modetest: Use a more interesting test pattern.
2009-02-03 13:26:38 -05:00
Kristian Høgsberg
bf46e0941f
No need to pin buffer anymore in modetest.c
2009-02-02 15:47:09 -05:00
Jesse Barnes
a8c548034e
Remove executable from modeprint test dir
...
Accidentally committed it with the mode setting changes.
2008-12-29 09:21:58 -08:00
Kristian Høgsberg
0243c9f801
modetest: Print more stuff. Prettier.
2008-12-18 00:02:43 -05:00
Eric Anholt
06ab2f6436
libdrm: Fix modetest/modeprint to use automake stuff.
2008-12-17 10:41:21 -08:00
Jesse Barnes
731cd5526e
libdrm: add mode setting files
...
Add mode setting files to libdrm, including xf86drmMode.* and the new
drm_mode.h header. Also add a couple of tests to sanity check the
kernel interfaces and update code to support them.
2008-12-17 10:11:37 -08:00
Jesse Barnes
9583c099b4
Revert "Merge branch 'modesetting-gem'"
...
This reverts commit 6656db1055
.
We really just want the libdrm and ioctl bits, not all the driver
stuff.
2008-12-10 15:50:22 -08:00
Jesse Barnes
8f5d8ba97e
Update modetest
2008-11-19 10:54:11 -08:00
Dave Airlie
972f657265
Merge remote branch 'origin/master' into modesetting-gem
...
Conflicts:
libdrm/Makefile.am
libdrm/dri_bufmgr.h
linux-core/drm_irq.c
linux-core/drm_sysfs.c
linux-core/drm_ttm.c
shared-core/i915_dma.c
shared-core/i915_irq.c
shared-core/nouveau_drv.h
shared-core/radeon_cp.c
2008-09-30 14:13:49 +10:00
Eric Anholt
09cf0f0213
drm: Add tests for GEM_FLINK ioctl.
2008-09-10 14:07:18 -07:00
Kristian Høgsberg
086716c8e2
Merge commit 'origin/drm-gem' into modesetting-gem
...
Conflicts:
linux-core/Makefile.kernel
linux-core/drmP.h
linux-core/drm_mm.c
linux-core/drm_stub.c
linux-core/i915_gem.c
linux-core/i915_opregion.c
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c
2008-08-01 13:35:56 -04:00
Eric Anholt
1bdf35fe19
intel-gem: Fix regression tests.
...
Main fix is an oops that was triggered by the gtt pwrite path when we don't
have the gtt initialized. Also, settle on -EBADF for "bad object handle",
and -EINVAL for "reading/writing beyond object boundary".
2008-07-28 11:29:16 -07:00
Dave Airlie
0443d2a32a
tests: add some basic radeon gem tests
2008-07-26 08:56:43 +10:00
Dave Airlie
2556341f8b
Merge remote branch 'origin/modesetting-101' into modesetting-gem
2008-07-09 14:53:47 +10:00
Maarten Maathuis
7cbc5f6145
modesetting-101: Make the interface variable names a little more consistent + modeprint changes.
...
- All things are now called _id when they are id's.
- modeprint now accepts driver name as first argument.
2008-07-05 12:04:07 +02:00
Maarten Maathuis
94cf07bff1
Forgot to fix the modeprint test.
2008-07-03 00:30:00 +02:00
Jakob Bornecrantz
aa2d3cfc16
tests: Fix faulty error messages in modeprint
2008-07-03 00:04:48 +02:00
Jakob Bornecrantz
49e1fa1d50
tests: modeprint s/fb/fd/
2008-07-02 23:12:33 +02:00
Jakob Bornecrantz
4f233ce618
tests: Updated modeprint
2008-07-02 22:47:21 +02:00
Jakob Bornecrantz
b28d309210
tests: Improved and renamed the mode app to modeprint
2008-07-02 14:01:20 +02:00
Jesse Barnes
86accbcb34
Merge commit 'origin/drm-gem' into modesetting-gem
...
Lots of conflicts, seems to load ok, but I'm sure some bugs snuck in.
Conflicts:
linux-core/drmP.h
linux-core/drm_lock.c
linux-core/i915_gem.c
shared-core/drm.h
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c
2008-06-18 15:25:54 -07:00
Eric Anholt
2655005762
[gem] Move potentially device-specific ioctls to the intel driver.
...
This is the create (may want location flags), pread/pwrite/mmap
(performance tuning hints), and set_domain (will 32 bits be enough for
everyone?) ioctls. Left in the generic set are just flink/open/close.
The 2D driver must be updated for this change, and API but not ABI is broken
for 3D. The driver version is bumped to mark this.
2008-06-11 14:42:40 -07:00
Jesse Barnes
a1d9600724
Merge commit 'origin/drm-gem' into modesetting-gem
...
Passed the compile test; it's ready to ship.
Conflicts:
libdrm/Makefile.am
linux-core/Makefile.kernel
linux-core/drmP.h
linux-core/drm_memrange.c
linux-core/drm_stub.c
shared-core/drm.h
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c
2008-06-10 17:31:54 -07:00
Dave Airlie
4e7b246398
drm: add functions to get/set gamma ramps
2008-06-02 14:04:41 +10:00
Dave Airlie
dba95ec343
drm: fixup some interfaces so test code works again
2008-06-02 10:41:12 +10:00
Dave Airlie
30fc88fdf9
modesetting: drop crtcs/clones from the connectors
2008-05-30 15:18:07 +10:00
Dave Airlie
9d38448ed3
modesetting: the great renaming.
...
Okay we have crtc, encoder and connectors.
No more outputs exposed beyond driver internals
I've broken intel tv connector stuff.
Really for TV we should have one TV connector, with a sub property for the
type of signal been driven over it
2008-05-30 15:10:04 +10:00
Dave Airlie
4403c59b76
tests: add basic encoder reading to test
2008-05-30 13:22:51 +10:00
Eric Anholt
6e46a3c762
[GEM] Update testcases for new API.
2008-05-12 15:42:20 -07:00
Alan Hourihane
eeff906aa0
Fix build problems
2008-05-09 16:36:28 +01:00
Alan Hourihane
7317e774b5
Fix test applications for recent DRM changes
2008-05-09 09:26:17 +01:00
Eric Anholt
effc6d998f
GEM: fix testcases for new ioctl args.
2008-05-07 16:00:58 -07:00
Eric Anholt
c530011aaa
Update mm tests for GEM rename.
2008-05-01 16:38:25 -07:00
Eric Anholt
81ba8ded7e
Remove the remainder of the mmfs device.
2008-04-29 13:48:51 -07:00
Eric Anholt
3148c16364
Move mmfs tests over to be drm tests.
2008-04-29 13:45:43 -07:00
Eric Anholt
22877864c2
Add mmap ioctl to mmfs.
2008-04-23 16:22:09 -07:00
Eric Anholt
8c741ed54e
Add pread/pwrite ioctls to mmfs.
2008-04-23 14:25:54 -07:00
Eric Anholt
c1fec43b55
Extend the mmfs basic test to do a couple of ioctls.
2008-04-23 11:36:03 -07:00
Eric Anholt
8665b666c7
Move mmfs.h userland interface to shared-core.
2008-04-23 11:23:40 -07:00
Eric Anholt
47a2b7dc03
Initial add of mmfs module.
2008-04-23 10:42:06 -07:00
Alan Hourihane
7f04dd06e6
Add sample code to test hotplug events
2008-03-12 09:48:52 +00:00
Alan Hourihane
b87c7ff79e
Add property info.
...
fix bo handle
2008-03-05 10:35:46 +00:00
Dave Airlie
0e72819629
drm: change fb api to take a bo handle not the bo pointer.
2008-02-29 14:07:29 +10:00
Alan Hourihane
88cb873045
minor test fixes
2008-02-20 19:55:14 +00:00
Dave Airlie
db85ed25af
Revert "After the previous revert fix libdrm to start at minor 1"
...
This reverts commit f51dc37d75
.
Conflicts:
tests/modedemo/demo.c
2008-02-13 12:20:02 +10:00
Jakob Bornecrantz
db2a1a223b
Added you can now clone displays in modedemo
2008-02-07 23:49:07 +01:00
Alan Hourihane
f51dc37d75
After the previous revert fix libdrm to start at minor 1
...
and fixup the demos
2008-02-07 22:21:50 +00:00
Jakob Bornecrantz
2ceafcccb7
Wrong open call
2008-02-07 19:32:20 +01:00
Jakob Bornecrantz
c8b45e9362
Added userspace part of hotplug ioctl and demo
2008-02-07 19:25:52 +01:00
Jakob Bornecrantz
87d5f9cb2d
Small update to modedemo
2008-02-07 19:22:38 +01:00
Alan Hourihane
516c7a7b28
update app to cycle through 4 fbdev's
2008-02-05 15:30:28 +00:00
Alan Hourihane
127cb1ff9a
tweak it
2008-02-05 15:24:29 +00:00
Alan Hourihane
936e32b08c
make modefb/modedemo match each others test output.
2008-02-05 15:18:05 +00:00
Jakob Bornecrantz
d8bbd02a60
Modedemo now uses two crtc and output pairs
2008-02-04 20:51:59 +01:00
Jakob Bornecrantz
841ef9eb8d
ModeFB demo now display cursor
2008-01-30 15:47:26 +01:00
Jakob Bornecrantz
a2254c5a96
Added cursor support
2008-01-28 03:14:56 +01:00
Jakob Bornecrantz
f07942f74a
Panning now works without modeset
2008-01-11 17:13:48 +01:00
Jakob Bornecrantz
12a47cd136
Updated the modedemo test
2008-01-11 04:23:32 +01:00
Jakob Bornecrantz
0b69c1d1d6
Added fixed misc framebuffer problems
2008-01-11 02:55:00 +01:00
Jakob Bornecrantz
0a4df3372a
Updated test mode and added modedemo
2008-01-10 05:03:13 +01:00
Dave Airlie
73bf5e8670
add internals for opening a control node
2008-01-09 16:44:31 +11:00
Dave Airlie
b13dc383df
remove output names
2007-12-18 17:41:20 +11:00
Dave Airlie
f99dea7db0
modesetting: fixup property setting and add connector property
2007-12-11 15:56:48 +10:00
Dave Airlie
3b6786e3e6
modesetting: add dpms property and initial settable property ioctl
2007-12-11 14:46:51 +10:00
Dave Airlie
67f6eb1eb8
add property blobs and edid reporting support
2007-12-06 10:44:51 +10:00
Dave Airlie
1a6c95ef71
arrgggh.. make all ioctl structs 32/64-bit compatible hopefully.
...
This also starts to add blob property support.
someone needs to check this work for other things like ppc/x86 alignment diffs
2007-12-05 16:03:05 +10:00
Dave Airlie
96df9b11ad
finish of mode add/remove, just have attach/detach modes
2007-12-03 15:30:05 +10:00
Dave Airlie
91cd3e3c09
modesetting API change for removing mode ids and making modes per output.
...
so really want to get a list of modes per output not the global hammer list.
also we remove the mode ids and let the user pass back the full mode description
need to fix up add/remove mode for user modes now
2007-12-03 15:30:05 +10:00
Dave Airlie
b3af2b59a7
drm/modesetting: add initial gettable properites code.
...
This allow the user to retrieve a list of properties for an output.
Properties can either be 32-bit values or an enum with an associated name.
Range properties are to be supported.
This API is probably not all correct, I may make properties part of the general
resource get when I think about it some more.
So basically you can create properties and attached them to whatever outputs you want,
so it should be possible to create some generics and just attach them to every output.
2007-11-27 14:31:02 +10:00
Dave Airlie
d275bb8fb8
tests: update for new drm interface
2007-11-15 16:51:15 +11:00
Dave Airlie
f0fe478c15
Merge branch 'master' into modesetting-101
...
Conflicts:
shared-core/i915_dma.c
tests/ttmtest/src/ttmtest.c
2007-11-15 15:04:19 +11:00
Thomas Hellstrom
f3708b4c04
Fix ttmtest.
2007-11-13 15:47:20 +01:00
Jerome Glisse
90d8f79279
Merge branch 'radeon-ttm' of git://people.freedesktop.org/~airlied/drm into modesetting-101
...
Conflicts:
linux-core/Makefile.kernel
linux-core/drmP.h
shared-core/radeon_cp.c
shared-core/radeon_drv.h
shared-core/radeon_irq.c
modified: linux-core/Makefile.kernel
modified: linux-core/ati_pcigart.c
modified: linux-core/drmP.h
new file: linux-core/radeon_buffer.c
modified: linux-core/radeon_drv.c
new file: linux-core/radeon_fence.c
modified: shared-core/radeon_cp.c
modified: shared-core/radeon_drm.h
modified: shared-core/radeon_drv.h
modified: shared-core/radeon_irq.c
modified: tests/ttmtest/src/ttmtest.c
2007-10-28 00:55:27 +02:00
Alan Hourihane
d5f2b4b411
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
2007-10-23 15:34:12 +01:00
Robert Noland
2c5c18fbd3
Bug #12838 : Fix lock test client vs. server master race and misplaced closes.
2007-10-17 13:26:10 -07:00
Robert Noland
e7523d3379
Fix a race in the auth test where client prevents server from being master.
2007-10-17 13:20:46 -07:00
Jesse Barnes
5cc3083179
Merge branch 'master' into modesetting-101 - TTM & typedef removal
...
Conflicts:
linux-core/drmP.h
linux-core/drm_bo.c
linux-core/drm_drv.c
linux-core/drm_objects.h
shared-core/drm.h
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c
Mostly removing typedefs that snuck into the modesetting code and
updating to the latest TTM APIs. As of today, the i915 driver builds,
but there are likely to be problems, so debugging and bugfixes will
come next.
2007-09-24 14:41:46 -07:00
Jakob Bornecrantz
2a2d02bbc5
Added small modesetting test
2007-09-24 14:53:10 +02:00
Eric Anholt
9254e00e4b
Add a set of tests for DRM locking, exposing issues on BSD.
2007-08-15 13:41:24 -07:00
Eric Anholt
8a1ca401b4
Fix a bad error message in auth.c regression test.
2007-08-15 13:13:24 -07:00
Eric Anholt
d1a2b26a99
Require master in setversion test, since it requires auth.
2007-08-15 13:08:19 -07:00
Eric Anholt
a23a47b16c
Add a regression test for the setversion interface.
2007-08-15 11:06:49 -07:00
Eric Anholt
8a881b47f7
Add simple regression test for getstats (does it not crash the kernel?).
2007-08-15 11:06:49 -07:00
Eric Anholt
d6a45ebf0e
Add a regression test for authentication.
2007-08-13 11:27:46 -07:00
Patrice Mandin
405c48b857
Add libdrm source dir, to build tests from a different build dir
2007-08-02 20:06:37 +02:00
Eric Anholt
f2528cbc96
Improve the drawable test to use multiple drawables.
2007-07-25 12:59:43 -07:00
Eric Anholt
ecf3fbe599
Add a test for drawable add, remove, and update.
2007-07-19 06:17:41 -07:00
Eric Anholt
50cb405f93
Fix the getclient test (Need this feature for future tests).
2007-07-19 06:02:20 -07:00
Eric Anholt
d7cf298e54
Add some trivial regression tests, one of which fails.
2007-07-19 04:59:59 -07:00
Dave Airlie
f6e8023e03
take the lock earlier in ttmtest
2007-06-05 12:26:18 +10:00
Thomas Hellstrom
c1fbd8a566
Checkpoint commit.
...
Flag handling and memory type selection cleanup.
glxgears won't start.
2007-02-07 17:25:13 +01:00
Thomas Hellstrom
c269d560e4
Make vm handle buffer objects instead of ttm objects.
...
Remove ttm objects.
Make vm aware of PCI memory type buffer objects.
(Only works for pre 2.6.16 kernels for now).
2007-02-02 14:47:44 +01:00
Thomas Hellstrom
07fabc3fd8
Make the utility runnable also for normal users.
2007-01-31 11:41:44 +01:00
Thomas Hellstrom
0932269656
Indent according to xorg rules.
2007-01-30 14:54:12 +01:00
Thomas Hellstrom
2bc925430b
Add license header.
2007-01-30 14:54:12 +01:00
Thomas Hellstrom
9968a21be1
Add some relevant tests for the new buffer object interface.
2007-01-30 14:54:12 +01:00
Thomas Hellstrom
c01fe2cdd4
Add the ttmtest test utility.
2007-01-30 14:54:12 +01:00
Adam Jackson
b646515d61
Bug #2567 : Fix reversed memset arguments. (David Krause)
2005-02-18 16:40:54 +00:00
Dave Airlie
310abb39b2
use libdrm after it was updated
2005-01-24 08:39:22 +00:00
Jon Smirl
5654a78547
Forgot to add the new Makefile
2004-10-10 02:49:06 +00:00
Jon Smirl
b5e02f8eb3
Make the test programs build
2004-10-10 00:09:31 +00:00
Dave Airlie
244b3e6c7c
Apply patch from Bryan Stine bugzilla #1227
2004-08-31 05:02:23 +00:00
David Dawes
c3092ead64
Targets for building dristat and drmstat.
2003-04-25 00:57:42 +00:00
Leif Delgass
2dc672a790
Minor cleanups for dri/drmstat test progs (Both still need targets for new
...
Makefile)
2003-04-24 16:47:32 +00:00
Keith Whitwell
a41594e8df
Remove #if 0'd code and some unused string functions
2003-04-24 09:41:33 +00:00
Rik Faith
88dbee54ed
Implement drmOpen* without /proc dependence (Fallback to /proc is included
...
for backward compatibility.) Move statistic-gathering drm* calls from
dristat.c to xf86drm.c
2001-02-28 09:27:44 +00:00
Gareth Hughes
360475376c
Merge mga-1-0-0-branch into trunk.
2001-02-15 08:12:14 +00:00
Brian Paul
569da5a42e
Merged glxmisc-3-0-0
2000-06-08 14:38:22 +00:00
Jeff Hartmann
ba1b1ae380
Merged mga branch with trunk
2000-04-04 22:08:14 +00:00
Jeff Hartmann
5bd8014f27
Merge with 4.0
2000-03-16 03:37:30 +00:00
Kevin E Martin
7a9b291ab5
Import of XFree86 3.9.18
2000-02-22 15:43:59 +00:00
Rik Faith
1c33c69095
Import of XFree86 3.9.17
2000-01-06 12:55:00 +00:00
Daryll Strauss
0371c290a1
Rename the device to be /dev/dri instead of /dev/dri to avoid a conflict.
...
Rename proc entry from /proc/graphics to /proc/dri to be consistent.
1999-12-18 18:34:59 +00:00
Daryll Strauss
e1dba5c3a7
Move Mesa to xc/extras Update to the latest Mesa 3.2 code Fix the Q3Demo
...
bugs (white railgun and texture mapping) Simplify driver texture
mapping routines Fix device driver for 2.3 kernels Improve performance
1999-12-07 03:37:16 +00:00
Daryll Strauss
b6a28bfe98
First DRI release of 3dfx driver.
1999-12-05 23:10:37 +00:00