Age | Commit message (Collapse) | Author |
|
to wait on vblank now.
|
|
Because of how fallbacky the uxa rendering core is, and our inability (without
wfb in userland or page faulting in the kernel) to tell the kernel just where
we're going to fall back, the clflush overhead can become outrageous, for
example with emacs and xcompmgr. Instead of using drm_intel_bo_map, pin the
buffer and do the fallback to the aperture mapping. This gets us the bad old
performance that fb is designed for, instead of bad new performance.
|
|
|
|
|
|
drmOpen by name only works on linux after falling back to groping around
in /proc. This doesn't work on other OS.
Signed-off-by: Robert Noland <rnoland@2hip.net>
|
|
This avoids prepare/finish_access_gc overhead when we're not changing things
(since GCTile is already handled) and get us the RW flag for the prepare on
of the stipple pixmap so thing will be synced correctly.
|
|
|
|
|
|
This reverts commit ea2b6b405e4c8b1bfb4bc568d0453a39a9194a8f.
Duplicate with Keith's commit. No idea what's diff target
of this one.
|
|
|
|
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit f3e59e59b54696667b127c82327e16b14d7bab22)
|
|
(cherry picked from commit 80d588e9c49719ec494e705edfc14c78908bbc3f)
|
|
Don't miss classic texture memory allocation in DRI.
(cherry picked from commit 60c4ee9ece8ea57e61b1590dfeb69d08555e465c)
|
|
(cherry picked from commit edf765155497d89ecac328a5b268ecf60e2f377c)
|
|
In debugging the frame buffer resize code, I needed to see what the server
was doing to the fence registers, so I added this debug code. Seems useful
enough to include it.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
Don't miss classic texture memory allocation in DRI.
|
|
|
|
|
|
(cherry picked from commit 83377b543defdca7226d7c1a7794e4ff3d8b4c84)
|
|
(cherry picked from commit 6c4e134a1a30785c2e5c6d57b21fde54a2dd3413)
|
|
Detect bit of SDVOC is reserved on 965G/965GM, instead of ignore SDVOC
this trys to always probe it on these chipsets.
(cherry picked from commit 1e974ff6b8446ecd64677b3c9aba60ca850923cc)
|
|
(cherry picked from commit f5f67e1b54e67b4bfc3db3482b2693211be81d63)
|
|
RandR 1.3 panning support can use the regular mode setting interface, but
that's really slow. Providing set_origin makes it nice and snappy.
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit d8b764fbd27dc9c8b28386093931b8d38855bd19)
|
|
It breaks bug #18462 on IBM 855GM with same subdevice ids.
(cherry picked from commit 0fe61b0b7e3bbe8ced1b0ad2be72c438d200c64b)
|
|
Which is just being tidy. We initially were looking at this code
path due to a report of a crash on server shutdown which started
after this unreference call was added. Setting this to NULL
apparently didn't avoid the crash, but it's a good thing to do
regardless.
(cherry picked from commit bea98cdfd93fc1181a06c51e57fcab227ff4827e)
|
|
Without this change, setting LVDSFixedMode to false is not effective
as i830_bios_init calls i830_parse_panel_data which in turns sets
a fixed_mode. To fix this we still call parse_panel_data to set
the various lvds_options but we return before setting fixed_mode.
(cherry picked from commit ce7efc2e3676c8f80206415480dda91e5e021396)
|
|
This avoids mapping a buffer object which is being referenced
by a batch that has already been flushed, (which is a terribly
expensive operation).
On my machine this brings the performance of x11perf -aa10text
from 85k back to 150k, (where it was before a recent kernel
upgrade). Also, before this patch, when I used my X server
actively performance would drop as low as 15k---hopefully that
bug is gone with this change.
(cherry picked from commit e8b95efbf5d9c3a5b75b2bb8b5b51844b5fcdfbc)
|
|
|
|
|
|
Detect bit of SDVOC is reserved on 965G/965GM, instead of ignore SDVOC
this trys to always probe it on these chipsets.
|
|
|
|
RandR 1.3 panning support can use the regular mode setting interface, but
that's really slow. Providing set_origin makes it nice and snappy.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
This one trys to use lid status for LVDS detect,
which works when internal panel is not used as primary
display alone, or there's no internal panel at all.
ACPI button driver's lid state interface is preferred,
and SWF state is also checked if ACPI method failed.
|
|
It breaks bug #18462 on IBM 855GM with same subdevice ids.
|
|
Which is just being tidy. We initially were looking at this code
path due to a report of a crash on server shutdown which started
after this unreference call was added. Setting this to NULL
apparently didn't avoid the crash, but it's a good thing to do
regardless.
|
|
Without this change, setting LVDSFixedMode to false is not effective
as i830_bios_init calls i830_parse_panel_data which in turns sets
a fixed_mode. To fix this we still call parse_panel_data to set
the various lvds_options but we return before setting fixed_mode.
|
|
This avoids mapping a buffer object which is being referenced
by a batch that has already been flushed, (which is a terribly
expensive operation).
On my machine this brings the performance of x11perf -aa10text
from 85k back to 150k, (where it was before a recent kernel
upgrade). Also, before this patch, when I used my X server
actively performance would drop as low as 15k---hopefully that
bug is gone with this change.
|
|
(cherry picked from commit 768f317cf0da4cd6682af2e71e71c3e130e05182)
|
|
(cherry picked from commit 95596f51503bb468364719aec9083d59999e34b7)
|
|
|
|
|
|
(cherry picked from commit c47b6d1def917fad5ad2b5a3e4167edfd354f2c8)
|
|
(cherry picked from commit 70af658d4e94cc372f9e9c831611f70b3c1cecab)
|
|
(cherry picked from commit 3ad9c9a82d7b359b9b711070628e6ff07a2aa9f7)
|
|
EXA wouldn't create pixmaps for under-8bpp, but UXA does. Fixes
mis-rendering in xfwm, evolution message compose, firefox link
drag'n'drop, and I'm sure more. Big thanks to Pierre Willenbrock for
debugging the issue!
Bug #18050
(cherry picked from commit 2e3c098c5ed9a8451713dc754a5f086992249336)
|
|
This fixes assertion failures when rendering text while VT switched.
(cherry picked from commit 261c20a479f6ec1e94c2ba801323072227cc3ade)
|
|
|