summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-25Revert "Use mprotect on unbound AGP memory to attempt to catch use while ↵Eric Anholt
unbound." While I still like the idea, the mprotect calls themselves are failing on Linux and causing more trouble than they're worth. This reverts commit a1612b7728d4153499fe86b6713a13c8702cc7d9. Conflicts: src/i830_driver.c src/i830_memory.c (cherry picked from commit c02ab432dd7058c700c35eecf6215daf5f262c51)
2008-03-24Fix crash triggered by dpms low power mode with hardware overlay runningMaxim Levitsky
When overlay switch crtc, it ignores current crtc dpms mode which might lead to hang.
2008-03-24Transformed coord computed using floats. Don't move bilinear composite dst.Keith Packard
The homogeneous coordinate computation in the core server cannot be used for many legal matrices as it overflows. Just use floats in the driver; faster and avoids troubles. When compositing with bilinear filter, don't push the dst coordinates around as that makes the output blurry when pixels are aligned.
2008-03-21xvmc: fix distcheckZhenyu Wang
Add i915 headers in Makefile.am
2008-03-20Merge branch 'xvmc'Zhenyu Wang
2008-03-18Handle projective transforms on 9xx for Composite.Keith Packard
Projective transforms require un-normalized texture coordinates and the use of the texldp instruction. The coordinates are passed as x/y/z/w (the z is unused, but there isn't a vertext format for just x/y/w).
2008-03-18Add i830_transform_is_affine and i830_get_transformed_coordinates_3d.Keith Packard
These are needed to deal with projective transforms in the composite operation.
2008-03-18Add defines for 9xx S3 word in 3D_STATE_LOAD_STATE_IMMEDIATEKeith Packard
These aren't used at this point, but what the heck.
2008-03-188xx/9xx can handle textures to 2kx2k. 965 can do 8kx8kKeith Packard
2008-03-18Add i8[13]0_ring.h to _SOURCES to fix distcheckJulien Cristau
Thanks to Bruno <bonbons67@internet.lu>.
2008-03-18Merge branch 'master' into xvmcZhenyu Wang
2008-03-18Disable XvMC if DRI is not enabled.Zhenyu Wang
Default XvMC to disabled.
2008-03-18Compile warning fixes.Paulo Cesar Pereira de Andrade
Move some declarations and don't declare an extra variable with the same name, to fix warnings about mixed declarations and code.
2008-03-18bug 15060: Dell Latitude X300 needs pipe A quirkZhenyu Wang
2008-03-17Add support for new ->get_crtc output callbacksJesse Barnes
Using the new interface allows the server to avoid some flicker at startup.
2008-03-14Change OUT_RING and similar calls to OUT_BATCH for batchbuffer mergeEric Anholt
2008-03-14Remove h0h0 UploadToScreen implementation that used pattern blits.Eric Anholt
It never worked and was never that hot of an idea. Most of the motivation is gone with glyph pixmaps anyway.
2008-03-13Remove fbc enable/disable messagesJesse Barnes
Tired of them filling up my logs.
2008-03-13Add workarounds for 830/845's lack of a8/x8r8g8b8/x8b8g8r8 support.Eric Anholt
When we have unset channels (color for a8, or alpha for x8*), force them to the appropriate value in the texture combiner rather than relying on getting the desired results from teture mapping. Performance is the same on 865, so multiple paths aren't necessary and we can use the less friendly texture formats everywhere.
2008-03-13Merge branch 'master' into xvmcZhenyu Wang
2008-03-13nuke unneed error_base and event_baseZhenyu Wang
2008-03-13remove unused init/fini hooks for xvmc driverZhenyu Wang
2008-03-13Always bind memory after agp aperture allocationZhenyu Wang
This fixed the crash appearing for Xv buffer memory, which appears allocation and free happening in stolen memory. We should always try to bind for stolen memory for correct protect setup, otherwise we might get fault that stolen memory protect reverted to non-r/w after previous free and unbind. Credit goes to Lukas Hejtmanek to identify the real problem of Xv crash!
2008-03-12Eliminate local variables defined in i830 BEGIN_LP_RING().Eric Anholt
This lets us get better sanity asserts, and avoid mysterious braces when you do two BEGIN_LP_RING()s in a single function. Potential minor performance loss isn't too exciting, as ring access is about to become a compat path anyway. This change also removes the requirement for ring emits to be aligned to dwords.
2008-03-12Separate i810 and i830 ring macros out into separate files.Eric Anholt
I want to hack on i830 for changing it into a compat path for batchbuffer without having to worry about the i810 stuff getting broken.
2008-03-12Add sysfs backlight support for Fujitsu laptopsJesse Barnes
Tested by Dan Williams.
2008-03-12Add stdint.h to DVO driversJesse Barnes
Fixes the build for me (just following the git development guide on a new machine).
2008-03-12Add stdint.h to i830_bios.hJesse Barnes
Needed for new uint* usage.
2008-03-12Add pipe A force quirk for Thinkpad R31Jesse Barnes
Fixes #15036.
2008-03-12Fix rotation mem with kernel memory manager in VT switchHong Liu
Unbind and bind a DRM BO may change the buffer offset, thus crtc may reference a wrong rotated memory after a VT switch cycle. Destroying it here will cause its reallocation when entering VT.
2008-03-12Pass default visual in dri context createZhenyu Wang
2008-03-12disable memory alloc debugZhenyu Wang
2008-03-11Nuke more CARD* types from i810 driver. Untested.Eric Anholt
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-11Cleanse DVO drivers of CARD* types.Eric Anholt
2008-03-11Add support for brightness control to i915 textured video output.Eric Anholt
2008-03-11Add pipe A force enable quirk for Toshiba Portege R205-S209Jesse Barnes
Fixes #14944.
2008-03-11Crack down on warnings.Kristian Høgsberg
Fix printf formatting warnings, wrap a couple of long lines, nuke unused variables, add missing #include <unistd.h>.
2008-03-11Silence warnings about possible uninitialize use of dst_format.Kristian Høgsberg
Whoa, gcc got a lot smarter about warnings. If iXXX_get_dest_format() doesn't support the picture format passed in it won't initialize the uint32_t pointed to by dst_format and return FALSE. What gcc now can detect is if dst_format is used without checking the return value, it might be used uninitialized. This patch makes sure we always check the return value before using dst_format.
2008-03-11Merge branch 'master' into xvmcZhenyu Wang
Conflicts: man/intel.man src/i830_driver.c
2008-03-10Add pipe A force enable quirk for Dell Latitude D500Jesse Barnes
Fixes #14888.
2008-03-10quirk: add DVO ivch quirkDave Airlie
2008-03-07Avoid setting reserved bits in SDVOx on everything 965-class.Eric Anholt
This will likely fix SDVO outputs on G35 hardware.
2008-03-07Enable hardware overlay on 965Jesse Barnes
Based on Maxim Levitsky's patch for the same. Many thanks to Maxim for discovering that this features still works in recent hardware!
2008-03-06Implement new get_property feature for backlight controlJesse Barnes
This should keep the backlight value reported by xrandr --prop & xbacklight consistent with changes by other software in the system (like the hotkey driver or kernel backlight driver).
2008-03-06remove extra dri checkingZhenyu Wang
And directRenderingDisabled already has config check result.
2008-03-06No ring, no syncZhenyu Wang
2008-03-06Pull chipset detection out of PreInit into its own functionJesse Barnes
2008-03-06Account for FBC LL cache in memory reservationJesse Barnes
When we reserve memory (memory that won't be managed by the kernel) make sure to reserve space for the FBC LL cache as well.
2008-03-06Move MTRR fixup to its own routineJesse Barnes