Commit graph

88 commits

Author SHA1 Message Date
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
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
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
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