Dave Airlie
38835f9cd2
radeon command submission start
...
take code from Jerome munge into a TTM IB re-use
2008-07-28 15:21:13 +10:00
Alex Deucher
5282a505b6
NV50: s/FALSE/false/
2008-07-26 16:57:02 -04:00
Dave Airlie
0443d2a32a
tests: add some basic radeon gem tests
2008-07-26 08:56:43 +10:00
Dave Airlie
df9871064e
radeon: add initial atombios modesetting and GEM -> TTM translation layer.
...
This is an initial import of the atom bios parser with modesetting support
for r500 hw using atombios. It also includes a simple memory manager
layer that translates a radeon GEM style interface onto TTM internally.
So far this memory manager has only been used for pinned object allocation
for the DDX to test modesetting.
2008-07-26 08:56:23 +10:00
Dave Airlie
31da9492a4
Merge remote branch 'origin/modesetting-101' into modesetting-gem
2008-07-26 08:46:38 +10:00
Dave Airlie
7fd7ba87f3
drm: don't set the signal blocker on the master process.
...
this lets us debug the X server through xkb startup.
Not sure what the correct answer is, probably X needs to drop
the lock when execing stuff, with input hotplug it can get
xkb stuff at any time I believe.
2008-07-26 08:46:09 +10:00
Dave Airlie
66723c09f5
modesetting: pass file priv to cursor
2008-07-26 08:43:59 +10:00
Dave Airlie
2be292f6ea
nv50: remove TRUE/FALSE
2008-07-26 08:43:01 +10:00
Dave Airlie
11d3075087
modesetting: pass file_priv into cursor set functions
2008-07-26 08:41:01 +10:00
Dave Airlie
fb05c4d621
Merge remote branch 'origin/modesetting-101' into modesetting-gem
2008-07-26 08:38:59 +10:00
Dave Airlie
5342845375
drm: use correct mode destructor
2008-07-24 15:22:44 +10:00
Maarten Maathuis
4d5b9f4848
NV50: Don't create a "native" mode for LVDS when there is none.
2008-07-21 16:57:25 +02:00
Maarten Maathuis
147ef45873
NV50: don't fail on LVDS by default
2008-07-21 16:40:55 +02:00
Maarten Maathuis
03f8208ab0
NV50: Use bios table for load pattern when possible.
2008-07-21 14:50:07 +02:00
Maarten Maathuis
d00644c27d
NV50: Do detect with hpd and load detect if possible.
...
- Appropriate error messages when an unknown situation is encountered are included.
- Fallback to i2c will occur when needed.
2008-07-21 14:29:13 +02:00
Maarten Maathuis
685bca02fe
NV50: delay changing gpu<->non-gpu scaling modes until next modeset
2008-07-20 15:40:40 +02:00
Maarten Maathuis
e51cd78cac
modesetting-101: Only store property value when set_property was successful.
2008-07-20 14:58:46 +02:00
Maarten Maathuis
f1e4785d4c
NV50: LVDS always needs some kind of gpu scaling
2008-07-20 14:55:59 +02:00
Maarten Maathuis
3ef1d05001
modesetting-101: set_property should return an int, not a bool
2008-07-20 14:51:22 +02:00
Maarten Maathuis
65803e53a6
modesetting-101: implement optional scaling and dithering properties
2008-07-20 13:49:18 +02:00
Maarten Maathuis
e2ffee839e
drm: As a workaround don't tear down sg with a modesetting driver.
...
- This allows me to maintain a useful prototype driver.
2008-07-20 00:09:06 +02:00
Ben Skeggs
0ef097b598
nv50: use same dma object for fb/tt access
...
We depend on the VM fully now for memory protection, separate DMA objects
for VRAM and GART are unneccesary. However, until the next interface break
(soon) a client can't depend on the objects being the same and must still
call NV_OBJ_SET_DMA_* methods appropriately.
2008-07-18 18:25:33 +02:00
Ben Skeggs
4872ac9c62
nouveau: interface changes for nv5x 3d
2008-07-18 17:44:51 +02:00
Dave Airlie
a9089c4557
modesetting/helper: fix array overrun - count should be reset here
2008-07-12 16:32:09 +10:00
Dave Airlie
2556341f8b
Merge remote branch 'origin/modesetting-101' into modesetting-gem
2008-07-09 14:53:47 +10:00
Kristian Høgsberg
38a5f6686c
Add back flink, open and close ioctls.
...
They fell through the cracks in 86accbcb
.
2008-07-07 18:00:23 -04:00
Kristian Høgsberg
3e02f7fd31
Merge commit 'origin/drm-gem' into ms-gem
...
Conflicts:
linux-core/drmP.h
linux-core/drm_drv.c
linux-core/drm_stub.c
linux-core/i915_drv.c
linux-core/i915_gem.c
shared-core/i915_drv.h
shared-core/i915_irq.c
2008-07-07 15:43:43 -04:00
Kristian Høgsberg
7fd8a5de63
Use lowercase bool constants.
2008-07-07 12:04:35 -04:00
Alan Hourihane
0b7d9a97bd
Synchronize the DDC EDID read to it's fb_ddc.c counterpart
2008-07-07 15:11:48 +01:00
Maarten Maathuis
d5d3f31b10
NV50: init gamma storage
2008-07-06 12:51:43 +02:00
Maarten Maathuis
88f668a0b9
NV50: fix minor bug in fbcon crtc selection
2008-07-06 11:23:17 +02:00
Maarten Maathuis
6738e7b00b
modesetting-101: Rename DPMS modes to avoid compatibility issues with xorg definitions.
2008-07-06 11:08:49 +02:00
Maarten Maathuis
e810cb9243
modesetting-101: rename modeflags, as to avoid conflicts with the xorg definitions
2008-07-06 10:52:25 +02:00
Maarten Maathuis
d495a6e28f
NV50: minor fix
2008-07-06 10:11:33 +02:00
Maarten Maathuis
e1cd21bcc8
NV50: remove edid when monitor is gone, improve fbcon, misc fixes
...
- This should avoid switching crtc's when going to fbcon.
2008-07-05 20:17:49 +02:00
Maarten Maathuis
c48cddc7ef
NV50: fix switch_fb and connector_is_digital
2008-07-05 16:54:26 +02: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
be31a0fa73
modesetting-101: tv_left_margin_property shouldn't be immutable.
2008-07-04 18:47:59 +02:00
Maarten Maathuis
0028ca33e9
Forgot the 0'th element for the tv property.
2008-07-04 17:37:45 +02:00
Maarten Maathuis
c9915d695d
modesetting-101: Move some defines used for enumeration into the public header.
...
- Otherwise userspace has no idea of the meaning.
2008-07-04 17:28:04 +02:00
Maarten Maathuis
b29578103f
[modesetting-101] Add subconnector and select_subconnector properties.
...
- These facilitate DVI-I and tv-out that can drive multiple types of signals.
2008-07-04 17:19:11 +02:00
Dave Airlie
142a309604
modesetting: rip out all of the generation code.
...
not needed, hotplug will work just as well hopefully.
2008-07-04 09:34:24 +10:00
Maarten Maathuis
11b7a81c8a
libdrm: fix typo in comment
2008-07-03 17:25:37 +02:00
Maarten Maathuis
062d850620
nv50: s/FALSE/false && s/TRUE/true
2008-07-03 09:08:01 +02:00
Maarten Maathuis
d5ca5c9cd3
[drm-sysfs] connected is ambigious in the context of a connector, replace with enabled
2008-07-03 08:07:35 +02:00
Maarten Maathuis
47c8f31741
NV50: replace active by enabled
2008-07-03 07:18:18 +02:00
Maarten Maathuis
02b30739f7
[modeseting-101] add connected field to sysfs
2008-07-03 01:05:07 +02:00
Maarten Maathuis
94cf07bff1
Forgot to fix the modeprint test.
2008-07-03 00:30:00 +02:00
Maarten Maathuis
5de978905a
[libdrm] count connectors and such has no place in a crtc object
2008-07-03 00:25:42 +02:00
Dave Airlie
59a9a756e2
modesetting: lookup blob using correct identifier.
...
blob is a blob not a connector
2008-07-03 08:06:44 +10:00