Commit Graph

37 Commits

Author SHA1 Message Date
Dave Airlie
86080a5f7a use a cap to decide if shadow is preferred or not. 2012-02-17 15:54:14 +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
594b3c4d6f fix some whitespace 2012-02-16 19:31:33 +00:00
Dave Airlie
2e297978c9 fixup device open
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-16 18:41:22 +00:00
James Simmons
f47f6b6a53 don't map cursors in sw cursor mode 2011-11-03 13:20:18 +00:00
Dave Airlie
6f581e3fde fix fb_id for dirty reporting 2011-10-03 16:09:12 +01:00
Dave Airlie
79959b7347 fix make distcheck 2011-10-03 11:35:39 +01:00
Dave Airlie
cb65ec6b58 check drm support dumb buffer capability 2011-09-29 16:06:52 +01:00
Dave Airlie
6ccd13a2d7 add initial man page 2011-09-29 16:00:50 +01:00
Dave Airlie
1f37991dec add shadowfb support, default to on.
we should probably expose a bit from kernel to say if shadow is preferred
or wasteful.
2011-09-29 15:56:15 +01:00
Dave Airlie
0b5e574dff remove unused debug 2011-09-29 15:55:24 +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
7847321138 port damage tracking code from st/xorg 2011-09-29 13:32:38 +01:00
Dave Airlie
4d3aadb22f drop loading dri2 2011-09-29 12:34:27 +01:00
Dave Airlie
1b1382c9e1 update authors/copyright 2011-09-29 12:34:17 +01:00
Dave Airlie
263597dbb3 gut some more unneeded code 2011-09-29 12:30:46 +01:00
Dave Airlie
a72bdf170c modesetting: rewrite probing based on fbdev.
This isn't perfect, it should really do more with bus id matching
and finding the write drm device using sysfs if it can. but it removes
lots of hardcoding of pci ids.
2011-09-29 12:28:59 +01:00
Dave Airlie
a77fae8505 cleanup some the drmmode_display header file 2011-09-29 11:52:51 +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
Dave Airlie
e2f8315dae drop exa
don't provide accel in this framework
2011-03-10 09:15:55 +10:00
Thomas Hellstrom
9c4c323d50 Avoid an EXA init segfault.
Don't allocate each VRAM buffer with a 16MB alignment.
2008-06-30 18:59:13 +01:00
Alan Hourihane
a65888d678 fixes for gallium stride changes 2008-06-27 17:32:28 +01:00
Alan Hourihane
e0c43fff32 More error checking 2008-06-27 09:46:24 +01:00
Alan Hourihane
387ec961f2 add --with-gallium-dir to specify location of gallium tree 2008-06-26 23:34:51 +01:00
Alan Hourihane
410b0a4254 NULL checks 2008-06-26 22:49:33 +01:00
Alan Hourihane
621fa337fb Fix copy surface 2008-06-26 22:47:20 +01:00
Alan Hourihane
ccd0c76472 Add EXA winsys for gallium pipe driver interface.
Plug in the EXA framework into the pipe driver
for surface_copy & surface_fill.

Back pixmaps with drmBO's including the front buffer.
2008-06-26 22:27:44 +01:00
Alan Hourihane
0e1aa03708 yet more 2008-06-26 22:27:14 +01:00
Alan Hourihane
2b3a3bc920 more formatting fixes 2008-06-26 22:26:16 +01:00
Alan Hourihane
2a45c28712 formatting fixes 2008-06-26 22:25:17 +01:00
Alan Hourihane
47969d7928 Add DRI2 support.
Add EXA stubs.

Currently tested with i915.
2008-06-16 15:08:30 +01:00
Alan Hourihane
cba8b25a7e Bring inline with current modesetting-101 branch for connector/encoder changes 2008-06-02 11:17:47 +01:00
Alan Hourihane
000ead4503 Plug in hardware cursor support 2008-05-28 19:59:38 +01:00
Alan Hourihane
f9f7a872bf Run indent 2008-05-28 15:55:36 +01:00
Alan Hourihane
106bea5ad1 Initial commit of new modesetting driver 2008-05-28 13:33:07 +01:00