Alon Levy
f8eb8c1cb4
modesetting: add virtual connector support
...
[airlied: also make sure we don't crash in future.]
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-09-14 10:40:44 +10:00
Dave Airlie
02811f1a9c
modesetting: add output slave support.
...
This allows the driver to operate as an output slave.
It adds scan out pixmap, and the capability
checks to make sure they available.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-25 16:01:42 +10:00
Dave Airlie
709dbc68cd
modesetting: fix warning about close being undefined.
...
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-25 16:01:41 +10:00
Dave Airlie
ec79187d9a
modesetting: workaround kernel bug reporting 0x0 as valid mins
...
It reports these but then you can't create a 0 sized bo.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05 14:41:18 +01:00
Dave Airlie
ef47a1b3bf
modesetting: convert to new scrn conversion APIs.
...
Generated with util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23 11:21:55 +01:00
Dave Airlie
3e46d578d8
modesetting: add compat header file
...
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23 11:21:39 +01:00
Dave Airlie
d063f64b5c
modesetting: attempt to work out if we want 24 or 32bpp
...
the cirrus driver presents certain challenges, and this is a
workaround, until we can possibly agree some sane interface
for exposing this information.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-01 17:12:29 +01:00
Dave Airlie
e5648616d2
modesetting: fix warnings, remove dead code.
...
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22 09:59:12 +00:00
Dave Airlie
c5529d68c5
modesetting: fix shadow resizing.
...
if we hotplugged and output, the shadow got disabled by accident.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20 11:05:59 +00:00
Dave Airlie
eb44a004b7
modesetting: fix stride if kernel modifies it.
...
If the kernel aligns things use its values instead.
fixes output on nouveau here.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20 10:55:48 +00:00
Dave Airlie
fc5f39acd4
cleanup dumb cap fetch
2012-02-17 15:54:14 +00:00
Dave Airlie
d94b3eaba9
modesetting: add cursor fallback if kernel rejects cursor.
...
If the kernel rejects a cursor, cause a fallback, this isn't 100% as
we can lose the initial cursor, but it works fine once wm starts.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-17 15:55:38 +00:00
Dave Airlie
cb65ec6b58
check drm support dumb buffer capability
2011-09-29 16:06:52 +01:00
Dave Airlie
d686130c17
add -Wall, cleanup warnings
2011-09-29 14:13:58 +01:00
Dave Airlie
a4f6e661b5
fix server recycling
2011-09-29 14:05:43 +01:00
Dave Airlie
2a46189054
modesetting: restart driver effort from other codebases
...
This starts a randr 1.2 compatible driver with cursors.
TODO:
libkms
dirty handling
server recycling.
2011-09-29 11:49:26 +01:00