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
Jakob Bornecrantz
aa2d3cfc16
tests: Fix faulty error messages in modeprint
2008-07-03 00:04:48 +02:00
Dave Airlie
70ba087191
drm: fix encoders get permissions
2008-07-03 08:00:39 +10: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
Zhenyu Wang
401f77a2ef
i915: official name for GM45 chipset
...
Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
2008-07-03 00:49:51 +08:00
Maarten Maathuis
f1fe9178f1
NV50: basic fbcon + misc fixes
...
- There is one fb, used for as many outputs as possible.
- Eventually smaller screens will be scaled to see the full console, but for the moment this'll do.
2008-07-02 16:14:48 +02:00
Jakob Bornecrantz
b28d309210
tests: Improved and renamed the mode app to modeprint
2008-07-02 14:01:20 +02:00
Jesse Barnes
301d984ea8
i915: only use tiled blits on 965+
...
When scheduled swaps occur, we need to blit between front & back buffers. I
the buffers are tiled, we need to set the appropriate XY_SRC_COPY tile bit,
only on 965 chips, since it will cause corruption on pre-965 (e.g. 945).
Bug reported by and fix tested by Tomas Janousek <tomi@nomi.cz>.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-07-01 16:10:01 -07:00
Jesse Barnes
94dcc83ad2
Revert "i915: only use tiled blits on 965+"
...
This reverts commit 727d4f1d16
, somehow git
deleted the symlink and replaced it with the file.
2008-07-01 16:09:02 -07:00
Jesse Barnes
727d4f1d16
i915: only use tiled blits on 965+
...
When scheduled swaps occur, we need to blit between front & back buffers. If
the buffers are tiled, we need to set the appropriate XY_SRC_COPY tile bit, but
only on 965 chips, since it will cause corruption on pre-965 (e.g. 945).
Bug reported by and fix tested by Tomas Janousek <tomi@nomi.cz>.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-07-01 12:25:16 -07:00
Jie Luo
e935925cd7
i915: enable bus mastering on i915 at resume time
...
On 9xx chips, bus mastering needs to be enabled at resume time for much of the
chip to function. With this patch, vblank interrupts will work as expected
on resume, along with other chip functions. Fixes kernel bugzilla #10844 .
Signed-off-by: Jie Luo <clotho67@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-07-01 12:22:54 -07:00
Maarten Maathuis
2b9c5719c0
NV50: switch to fixed point scale factor calculations
2008-07-01 16:00:09 +02:00
Maarten Maathuis
bc32d1798a
NV50: some i2c cleanup
2008-07-01 15:14:30 +02:00
Maarten Maathuis
91c742663a
NV50: use list_head item instead of list_head head to avoid confusion
2008-06-27 18:58:13 +02:00
Maarten Maathuis
9f28da80f6
Change some obviously wrong things about property blobs, still broken though.
...
- I do not fully understand these blobs, so i'm leaving it at this for the moment.
2008-06-27 18:45:08 +02:00
Maarten Maathuis
71906e86e8
[modesetting-101] Actually store properties when being changed.
2008-06-27 16:30:25 +02:00
Maarten Maathuis
01ee5eda9a
NV50: A minor change.
2008-06-27 01:29:30 +02:00
Maarten Maathuis
701011224c
NV50: Implement DPMS.
2008-06-27 01:16:36 +02:00
Maarten Maathuis
d88616555d
[modesetting-101] tab-cleanup
2008-06-26 23:21:01 +02:00
Maarten Maathuis
087e3f577d
Revert "modesetting-101: Make dpms property optional + misc cleanup."
...
This reverts commit 13943fe582
.
2008-06-26 23:12:04 +02:00
Maarten Maathuis
13943fe582
modesetting-101: Make dpms property optional + misc cleanup.
...
- intel_crt seems the only one to provide it, so init it there.
2008-06-26 21:28:29 +02:00
Maarten Maathuis
4d85d5d251
NV50: i misunderstood NOUVEAU_MEM_INTERNAL, so remove it
2008-06-25 15:27:07 +02:00
Maarten Maathuis
09b67dda0b
NV50: Some cleanup and fixes.
2008-06-25 15:16:38 +02:00
Ben Skeggs
be72762816
nv50: when destroying a channel make sure it's not still current on PFIFO
...
We won't get a PFIFO context switch when the same channel ID is recreated if
the hw still thinks the channel is already active, which causes fun issues.
Should allow X to be stopped and started without tearing down the entire
card state in lastclose().
2008-06-25 09:55:19 +02:00
Ben Skeggs
5a0164d1e1
nouveau: allocate drm-use vram buffers from end of vram.
...
This avoids seeing garbage from engine setup etc before X gets around
to pointing the CRTCs at a new scanout buffer. Not actually a noticable
problem before G80 as PRAMIN is forced to the end of VRAM by the hardware
already.
2008-06-25 09:55:14 +02:00
Ben Skeggs
5d27fd94af
nv50: when destroying a channel make sure it's not still current on PFIFO
...
We won't get a PFIFO context switch when the same channel ID is recreated if
the hw still thinks the channel is already active, which causes fun issues.
Should allow X to be stopped and started without tearing down the entire
card state in lastclose().
2008-06-25 16:49:48 +10:00
root
d55629a13d
silence warning
2008-06-24 23:18:29 +01:00