summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-12-18tests/gem_flink: Check for MASTER before proceedingChris Wilson1-1/+6
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-05test/radeon: add missing files for distDave Airlie1-0/+2
2011-11-10tests/radeon: radeon specific testJerome Glisse6-0/+449
Initial test only include ttm test for stressing ttm memory allocations. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-10-19modetest: Call dirty fb on modesetJakob Bornecrantz1-0/+4
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19modetest: Print extra info if we fail to create a framebufferJakob Bornecrantz1-1/+2
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19modetest: Check error message from pageflip ioctlJakob Bornecrantz1-2/+6
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19vbltest: Check error codes returned from libdrmJakob Bornecrantz1-4/+16
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-19tests: Add vmwgfx driver to probed drivers in testsJakob Bornecrantz2-2/+2
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-10-11modetest: use 24 bit depth on the framebufferJesse Barnes1-1/+1
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-09-26drmtest: make check should fail so hard on unable to open deviceDave Airlie1-4/+7
2011-09-26drm/test: handle usub being emptyDave Airlie1-1/+3
fixes a segfault on make check seen in tinderbox
2011-09-21modeprint.c: use PRIu64 for printing uint64_tMatt Turner1-3/+4
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-03-03Build modetest for all chipsets, always build modeprintKristian Høgsberg1-11/+2
2011-03-03don't try to build modetest without libkmsMatt Turner1-4/+5
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-02-17modetest: Do no flip twice to a current front bufferBenjamin Franzke1-1/+1
The incorrect order was: fb, other_fb, other_fb, fb_id, other_fb, ..
2011-02-17tests/modeprint: Output masks as hex numbersBenjamin Franzke1-2/+2
2011-02-17tests/modeprint: Remove needless dependency on drm_intelBenjamin Franzke1-3/+1
2011-02-17modetest: Create buffers using libkmsBenjamin Franzke2-56/+83
2010-12-10tests: Update for ENOENT returns from unknown handlesChris Wilson3-4/+4
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-09-09modetest: Fix drawing routines to use stride.Chris Wilson1-56/+39
2010-09-09modetest: align fb pitch to 64 bytesJesse Barnes1-0/+1
Docs say this is necessary, and the kernel now enforces this.
2010-09-07modetest: add edp and TV connector names to the connector name arrayJesse Barnes1-0/+2
2010-07-01Purge macro NEED_REPLIESFernando Carrijo1-1/+0
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-12Only build tests in make checkJonathan Callen1-5/+3
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-04-28vbltest: Doesn't need intel stuff.Michel Dänzer1-3/+1
Fixes build without libdrm_intel.
2010-04-27tests: add new vblank testJesse Barnes3-0/+203
Simple test for event frequency.
2010-03-26modetest: add optional select codepathJesse Barnes1-0/+19
For misc. testing.
2010-02-28tests/modetest: Don't get_props on a connector after freeing it.Marcin Kościelnicki1-2/+2
2010-02-28tests: vrefresh is actually not * 1000.Marcin Kościelnicki2-4/+4
2010-02-28tests: Add nouveau to list of supported modules.Marcin Kościelnicki2-1/+2
2010-02-04Tidy up compile warnings by cleaning up types.Matthew W. S. Bell4-27/+26
2010-01-28libkms: Rework interface to not duplicate fields from kms and make formats ↵Jakob Bornecrantz1-1/+1
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-16Support gcc's __FUNCTION__ for people using other compilersAlan Coopersmith1-0/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-16Include alloca.h in tests/drmstat.c when configure detects itAlan Coopersmith1-0/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-12tests: Update kmstest a bitJakob Bornecrantz1-4/+12
2010-01-08tests: Add a very small libkms testJakob Bornecrantz3-0/+103
2009-12-15modetest: Error out if pageflipping is requested but not availableKristian Høgsberg1-0/+23
2009-12-04modetest: fix build error due to page_flip_handler name changeJesse Barnes1-1/+1
Forgot to update this when pushing the pageflip bits.
2009-12-03Merge branch 'pageflip' of git://people.freedesktop.org/~jbarnes/drmJesse Barnes1-8/+138
Conflicts: include/drm/drm.h - RMFB had its signature changed to avoid uint32_t
2009-11-23Add drmGetDeviceNameFromFd functionKristian Høgsberg2-0/+59
Determines the /dev filename of the drm fd argument.
2009-11-20modetest: add pageflip test case to modetestKristian Høgsberg1-8/+138
2009-11-17Move libdrm/ up one levelKristian Høgsberg3-11/+11
2009-11-17Use headers copied from kernel instead of shared-coreKristian Høgsberg3-3/+3
2009-10-03tests: Disable intel-specific tests with --disable-intelChris Wilson1-5/+18
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-06-22modetest: use gtt unmap for objectJesse Barnes1-1/+1
Match gtt map/unmap for correctness.
2009-04-09test: Avoid recursive dependency in makefileKristian Høgsberg1-1/+1
2009-04-09test: Makefile.am grammar naziKristian Høgsberg1-4/+6
2009-04-07drm: fix test makefileDave Airlie1-0/+2
no idea if this is correct but it works so meh
2009-04-06Skip tests that require rootlibdrm-2.4.6Kristian Høgsberg2-0/+10
This lets us do make distcheck as non-root.
2009-04-06XFAIL auth and lock test casesKristian Høgsberg2-12/+16
They're writing to the read end of a pipe and failing.