summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-19 [965-xvmc] remove the vblank wait code, drm not support mutlple clientZou Nan hai
to wait on vblank now.
2008-12-18uxa: Do a hack to use the aperture mapping instead of bo_map in sw fallbacks.Eric Anholt
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.
2008-12-19xvmc: fix up needed libsPeter Alfredsen
2008-12-17 wait vblank before render to fix tearingZou Nan hai
2008-12-17Fix drmOpen for non-linux 965 XvMCRobert Noland
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>
2008-12-16uxa: Correctly prepare/finishaccess of stipple in ValidateGC (and only it)Eric Anholt
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.
2008-12-16Bump version 2.5.99.1Zhenyu Wang
2008-12-15Quiet some KMS warnings.Kristian Høgsberg
2008-12-16Revert " [965 xvmc] update dual prime g4b files"Zhenyu Wang
This reverts commit ea2b6b405e4c8b1bfb4bc568d0453a39a9194a8f. Duplicate with Keith's commit. No idea what's diff target of this one.
2008-12-15 [965 xvmc] update dual prime g4b filesZou Nan hai
2008-12-15closedir only after finishing use of any results from readdirPierre Willenbrock
2008-12-15Update binary versions of the dual-prime kernelsZou Nan hai
Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit f3e59e59b54696667b127c82327e16b14d7bab22)
2008-12-15Don't warn on ring enabled in GEMZhenyu Wang
(cherry picked from commit 80d588e9c49719ec494e705edfc14c78908bbc3f)
2008-12-15Fix directRenderingType checkZhenyu Wang
Don't miss classic texture memory allocation in DRI. (cherry picked from commit 60c4ee9ece8ea57e61b1590dfeb69d08555e465c)
2008-12-15 [965-xvmc] fix dual prime kernel, flush issue on G4xZou Nan hai
(cherry picked from commit edf765155497d89ecac328a5b268ecf60e2f377c)
2008-12-12Dump out fence registers by default, add fence end registers as wellKeith Packard
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>
2008-12-12Update binary versions of the dual-prime kernelsZou Nan hai
Signed-off-by: Keith Packard <keithp@keithp.com>
2008-12-12Don't warn on ring enabled in GEMZhenyu Wang
2008-12-12Fix directRenderingType checkZhenyu Wang
Don't miss classic texture memory allocation in DRI.
2008-12-11 [965-xvmc] fix dual prime kernel, flush issue on G4xZou Nan hai
2008-12-11Let lid status be unknown if no acpi lid object foundZhenyu Wang
2008-12-11Pipe-A quirk for HP 2730p (bug #18852)Bryce Harrington
(cherry picked from commit 83377b543defdca7226d7c1a7794e4ff3d8b4c84)
2008-12-11PipeA quirk for Quanta/W251U (launchpad bug #244242)Bryce Harrington
(cherry picked from commit 6c4e134a1a30785c2e5c6d57b21fde54a2dd3413)
2008-12-11Try to always probe SDVOC on 965G/965GMZhenyu Wang
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)
2008-12-11bug #17395: Quirk CRT for Sony VGC-LT71DBZhenyu Wang
(cherry picked from commit f5f67e1b54e67b4bfc3db3482b2693211be81d63)
2008-12-11Add RandR 1.3 panning support by supporting the crtc set_origin functionKeith Packard
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)
2008-12-11Remove Cappuccino SlimPRO SP625F 855GM LVDS quirkZhenyu Wang
It breaks bug #18462 on IBM 855GM with same subdevice ids. (cherry picked from commit 0fe61b0b7e3bbe8ced1b0ad2be72c438d200c64b)
2008-12-11Set vertex_buffer_bo to NULL after unreference.Carl Worth
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)
2008-12-11Don't smash fixed_mode if skip_panel_detect is set.Carl Worth
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)
2008-12-11i965: Add batch_flush_notify hook to create new vertex-buffer boCarl Worth
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)
2008-12-11Pipe-A quirk for HP 2730p (bug #18852)Bryce Harrington
2008-12-11PipeA quirk for Quanta/W251U (launchpad bug #244242)Bryce Harrington
2008-12-11Try to always probe SDVOC on 965G/965GMZhenyu Wang
Detect bit of SDVOC is reserved on 965G/965GM, instead of ignore SDVOC this trys to always probe it on these chipsets.
2008-12-11bug #17395: Quirk CRT for Sony VGC-LT71DBZhenyu Wang
2008-12-09Add RandR 1.3 panning support by supporting the crtc set_origin functionKeith Packard
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>
2008-12-09Try to add LVDS detect supportZhenyu Wang
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.
2008-12-09Remove Cappuccino SlimPRO SP625F 855GM LVDS quirkZhenyu Wang
It breaks bug #18462 on IBM 855GM with same subdevice ids.
2008-12-08Set vertex_buffer_bo to NULL after unreference.Carl Worth
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.
2008-12-08Don't smash fixed_mode if skip_panel_detect is set.Carl Worth
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.
2008-12-08i965: Add batch_flush_notify hook to create new vertex-buffer boCarl Worth
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.
2008-12-08Fix DRI2 compiling warningZhenyu Wang
(cherry picked from commit 768f317cf0da4cd6682af2e71e71c3e130e05182)
2008-12-08Fix TV compiling warningZhenyu Wang
(cherry picked from commit 95596f51503bb468364719aec9083d59999e34b7)
2008-12-08Fix DRI2 compiling warningZhenyu Wang
2008-12-08Fix TV compiling warningZhenyu Wang
2008-12-08Make sure DRI/DRI2 can initialize properly with KMS.Kristian Høgsberg
(cherry picked from commit c47b6d1def917fad5ad2b5a3e4167edfd354f2c8)
2008-12-08Simplify crtc preinit a bit.Kristian Høgsberg
(cherry picked from commit 70af658d4e94cc372f9e9c831611f70b3c1cecab)
2008-12-08Fix KMS compilation.Kristian Høgsberg
(cherry picked from commit 3ad9c9a82d7b359b9b711070628e6ff07a2aa9f7)
2008-12-08uxa: Reject solid/copy to under-8bpp destinations.Eric Anholt
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)
2008-12-08uxa: Add in EnableDisableFBAccess handling like examodule.c did.Eric Anholt
This fixes assertion failures when rendering text while VT switched. (cherry picked from commit 261c20a479f6ec1e94c2ba801323072227cc3ade)
2008-12-06Make sure DRI/DRI2 can initialize properly with KMS.Kristian Høgsberg