Commit graph

36 commits

Author SHA1 Message Date
Inki Dae
bbf6e3dea3 libdrm/exynos: add test application for 2d gpu.
This patch adds library and test application for g2d gpu(fimg2d).

The fimg2d hardware is a 2D graphics accelerator(G2D) that
supports Bit Block Transfer(BitBLT).

The library includes the following primitive drawing operations:
.solid fill - This operation fills the given buffer with
	the given color data.
.copy - This operation copies contents in source buffer to
	destination buffer.
.copy_with_scale - This operation copies contents in source buffer
	to destination buffer scaling up or down properly.
.blend - This operation blends contents in source buffer with
	the ones in destination buffer.

And the above operations uses gem handle or user space address
allocated by malloc() as source or destination buffer.

And the test application includes just simple primitive drawing
tests with the above library.
And the guide to test is as the following,
	"#exynos_fimg2d_test -s connector_id@crtc_id:mode"

With this above simple command, four primitive drawing operations
would be called step by step and also rendered on the output device
to the given connector and crtc id.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-03-08 11:49:42 -05: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
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
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
Jesse Barnes
c42d1a10e3 tests: add new vblank test
Simple test for event frequency.
2010-04-27 15:43:44 -04:00
Jakob Bornecrantz
d207a38701 tests: Add a very small libkms test 2010-01-08 15:34:44 +00: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
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
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
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
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
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
Dave Airlie
0443d2a32a tests: add some basic radeon gem tests 2008-07-26 08:56:43 +10:00
Eric Anholt
c530011aaa Update mm tests for GEM rename. 2008-05-01 16:38:25 -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
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
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
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
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