Commit Graph

50 Commits (f85fd1b42dc2d77266007c02144d4f4f524e4157)

Author SHA1 Message Date
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
Eric Anholt 6e46a3c762 [GEM] Update testcases for new API. 2008-05-12 15:42:20 -07: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
Thomas Hellstrom f3708b4c04 Fix ttmtest. 2007-11-13 15:47:20 +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
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
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