Commit Graph

18 Commits

Author SHA1 Message Date
Martin Peres 2c5063938c uxa: fix the call to PixmapSyncDirtyHelper, broken by xserver's 90db5ed
[ickle: switch to HAS_DIRTYTRACKING_ROTATION as suggested by Dave Airlie]
Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
2015-07-10 10:24:16 +01:00
Chris Wilson 5ed8368772 sna/trapezoids: Use incremental region clipping for spans
Within a span, we have the advantage of knowing that we only need to
intersect one box with the clip region, and that box has monotonically
increasing y. This avoid having to compute RegionIntersect for every
span element which was very slow (e.g. libreoffice).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-02-06 21:07:50 +00:00
Chris Wilson b7feeca073 sna: Wrap direct access to ScrnInfoPtr->pScreen
Admittedly ScrnInfoPtr->pScreen has nearly always existed, but for
completeness wrap it up in a compat macro.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-01-13 16:30:51 +00:00
Chris Wilson 3cfde9f043 sna: Only instantiate the frontbuffer on the GPU if used
If we are a PRIME slave, we never need to allocate any memory for the
frontbuffer, so skip the forced allocation during modesets.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-01-13 16:30:30 +00:00
Chris Wilson f7f7383de0 compat: Hide changes in miHandleExposures() interface
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84901
2014-10-11 16:15:46 +01:00
Chris Wilson afea9ba079 Prepare for spurious Xv ABI changes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-08 08:26:08 +01:00
Chris Wilson 91bc9e42e4 sna: Mark up const boxes to keep the compiler happy
Pass around const to suppress a few compiler warnings.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-20 16:23:18 +01:00
Chris Wilson eb9de37daa sna: Silence compiler warnings for discarding const Region points
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-11 11:02:05 +01:00
Chris Wilson 430152da82 compat: Add missing wrapper for RegionSubtract
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-05-02 17:14:45 +01:00
Chris Wilson 524a45da56 compat-api: Map changes of DamageUnregister API in 1.14.99.2
Reported-by: Emmanuel Benisty <benisty.e@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-05 19:00:32 +01:00
Chris Wilson afad7dd43d sna: Pushed dixPrivateKeyRegistered wrapper into compat-api.h
Move the wrapping out of the main code body and hide it with the others
in our compatability header.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-18 15:37:09 +01:00
Chris Wilson 195a51353c sna/video: Convert to a pure Xv backend
This is to enable feature work which requires access to Client state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-05-21 11:14:52 +01:00
Chris Wilson 0d75b19979 sna: Restore glyphs with xorg-1.12
That simple and innocuous build fix for xorg-1.13 bizarrely causes
missing glyphs with earlier Xorgs.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-02-10 16:02:38 +00:00
Chris Wilson 3cbdfb54d1 sna: Backport to squeeze - Xorg-1.6, pixman-0.16, libdrm-2.4.21
The principle change is to switch to the old Privates API and undo the
Region renames.

The downside is that this ignores the critical bugfixes made to the
xserver since xorg-1.6 - but I assume that whoever wants to run the
latest hardware on the old xservers is also backporting those stability
fixes...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-02-10 10:24:12 +00:00
Chris Wilson 557ad78d02 Kill mibstore pretend backwards compatibility
Adam Jackson was kind enough to point out that mibstore had been a no-op
since xorg-1.4 and the earliest we claim to support is xorg-1.6.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-09-26 15:02:17 +01:00
Chris Wilson 8f5a6d107b Add miInitializeBackingStore() to compat-api.h
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-09-25 13:38:00 +01:00
Dave Airlie 8f5001493e intel: port legacy and uxa to new API.
This ports the legacy and uxa driver to the new server API.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05 11:31:45 +01:00
Dave Airlie 9aabc04d76 intel: add compat header file for conversion fns
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23 11:00:29 +01:00