summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-14Fix gen4asm rule to work with a build dirJulien Cristau
2008-07-12Use up to 256 separate vertex buffersCarl Worth
This allows us to only call i830WaitSync once every 128 calls to composite rather than on every call. However, we do need to also call MI_FLUSH to avoid the vertex cache getting in our way, (since our "separate" buffers are all allocated as one contiguous chunk).
2008-07-12Allow for multiple vertex buffers (though only use one for now)Carl Worth
Using more than one (in the future) will allow for doing less frequent calls to i830WaitSync.
2008-07-12Move VERTEX_BUFFERS setup from prepare_composite to compositeCarl Worth
This is in preparation for having larger (or multiple) vertex buffers in the future.
2008-07-10Add VBIOS based TV connector detectionJesse Barnes
Now that the VBIOS code supports it, we can use the general features block to detect whether a TV connector is present on a given platform. Reviewed by Nanhai Zou.
2008-07-10Improve VBIOS feature detection, add SSC supportJesse Barnes
Improve the VBIOS feature detection and use it to find whether the platform supports spread spectrum clocking. Use the specified reference clock, but disable SSC if multiple heads are active, since it can cause problems in cloned configurations. Reviewed by Nanhai Zou.
2008-07-07Improve FBC size checkingJesse Barnes
In hindsight, this is obvious, since nowhere do we tell the FBC unit how much memory it has available. We need to make sure the compressed buffer is big enough to handle the uncompresed buffer, both in terms of vertical size and total framebuffer size, or the compressor could overwrite the memory immediately following the compressed buffer.
2008-07-03Add pipea force enable quirk for another 855GM machine.Stefan Dirsch
Fixes Novell Bug #406123, thanks Christoph.
2008-07-03Fix official name for GM45 chipsetZhenyu Wang
2008-07-02Give asus and eeepc backlight method higher priorityZhenyu Wang
On #16418, Evgeniy Manachkin <sfstudio@mail.ru> reported that last asus and eeepc backlight patch is wrong, as acpi_video0 method will take priority and doesn't work.
2008-07-01intel: fix drm check.Dave Airlie
The -mm check is broken now that 2.3.1 is out.. make it 2.4.0, to be fixed with GEM etc.
2008-06-30i810: Remove an effectively unused variable (only used in an incorrect free())Roland Test-tools Bär
Bug #15401.
2008-06-28Fix SDVOC typoZhenyu Wang
2008-06-28xvmc: fix motion_type dump for frame/field pictureZhenyu Wang
2008-06-28xvmc: Don't copy on xvmc surface in PutImageZhenyu Wang
As xvmc rendering result has already been in fb, we shouldn't do extra copy on it. Although special care is required for i915 xvmc surface pitch alignment, which must be at least 1KB aligned. So video display function should take it into acount instead of always setting Y pitch to be double of U/V pitch.
2008-06-28xvmc: enlarge batch buffer sizeZhenyu Wang
2008-06-28xvmc: only allocate memory requiring physical address on 915GZhenyu Wang
Later 945-ish chipset can use graphics address instead.
2008-06-28xvmc: init mc render load indirect command onceZhenyu Wang
2008-06-28xvmc: init dest and reference buffer onceZhenyu Wang
Init them right after context create, and only update buffer address info later.
2008-06-28xvmc: init one-time mc context onceZhenyu Wang
Don't setup one-time mc context everytime, as the content is always unchanged. And several structs got packed layout inside to ease static state initialization.
2008-06-28xvmc: environ debug option supportZhenyu Wang
export INTEL_XVMC_DEBUG=1
2008-06-28xvmc: formalize surface type definitionZhenyu Wang
We should also carefully select surface type id.
2008-06-27Add pipea force enable quirk for HP Pavilion ze4944eaJesse Barnes
Fixes bug #16540, thanks Bryce.
2008-06-27Add pipe a force enable quirk for Lenovo T60Jesse Barnes
Fixes bug #16494.
2008-06-25Fix SDVO HDMI output.Hong Liu
While some cards had enough initialized at startup to work already, others required that the driver actually initialize the required AVI info frame.
2008-06-24Remove ErrorF debugging from modeset ioctlJesse Barnes
Oops.
2008-06-24Fix back buffer damage handler for 965+ chipsJesse Barnes
When page flipping is enabled, we need to make sure any changes to the front buffer are reflected in the back buffer(s) or corruption might occur at page flip time. So make the damage handler work on 965 by adding appropriate tiling flags and pitch adjustments.
2008-06-24Add support for keeping vblank counters sane across mode settingJesse Barnes
The DRM supports disabling of vblank interrupts when not in use, but in order to function properly it must also be aware of mode setting, which will reset the frame counter to 0. Add code to call into the DRM before and after mode setting, so that it can account for any lost vblank events.
2008-06-19Fix a crash in i830_sdvo_init error paths by setting up dev_priv earlier.Eric Anholt
2008-06-19Automatically detect the presence of HDMI.Eric Anholt
Now, SDVO is only probed if the SDVO detected bit is set. If the SDVO probe fails, but the detect bit is set, assume that it's an HDMI output.
2008-06-19Fix hdmi POSTING_READ to use the register number instead of the register value.Eric Anholt
We won't dwell too long on how this ever worked.
2008-06-19Get HDMI output working.Eric Anholt
HDMI, despite claiming to have pixel multiply support, actually doesn't want it, at least in the way that SDVO did. Disable it. Also disable the NULL_PACKETS_DURING_VSYNC bit. Despite the docs telling us to set it, the output doesn't like it when you do that, and the BIOS doesn't set it. Also add a posting read to SDVOx setting. Without it, half the X starts wouldn't get anything on the screen. (interestingly, it was every other startup, not just a chance).
2008-06-19Set the sync active bits like we're supposed to, matching the BIOS.Eric Anholt
2008-06-19Add pixel multiplier support for HDMIEric Anholt
2008-06-19The phase shift its are now reserved, and add HDMI clock limits.Eric Anholt
2008-06-19Initial HDMI work. Not currently hooked up at startup.Eric Anholt
2008-06-19Add DisplayPort registers.Eric Anholt
2008-06-19Remove VGA regs from debug output.Eric Anholt
2008-06-19Add little hotplug detector app.Eric Anholt
2008-06-19Add backlight kernel method support on Asus and EeepcZhenyu Wang
Noted and tested by Evgeniy Manachkin <sfstudio@mail.ru> for asus-laptop support, also add eeepc support.
2008-06-17Add support for Intel 4 series chipsets.Zhenyu Wang
2008-06-17Fix compiling with server master in LVDS backlight patchZhenyu Wang
2008-06-16Fix compiler warning when disable xvmc configZhenyu Wang
(cherry picked from commit df0bbdc7cbb6ff357a81ed28d12e56c9c7d643f7)
2008-06-16Fix typo in xvmc block destroyShuang He
(cherry picked from commit 87ace420a34df7425641d089f71830e44fced098)
2008-06-16Fix maximum backlight issueLukas Hejtmanek
2008-06-10Set up/restore PWRCTXA from enter/leavevt not server start/exit.Eric Anholt
This should improve behavior in the presence of VT switching, but also avoids a crash on X exit from writing the register after unmapping mmio.
2008-06-10Two more Dell quirksBryce Harrington
fd.o #16160
2008-06-09Fix TV programming: add vblank wait after TV_CTL writesJesse Barnes
Fxies FDO bug #14000; we need to wait for vblank after writing TV_CTL or followi ng "DPMS on" calls may not actually enable the output.
2008-06-05Fix TV out connection type detectionRobert Lowery
Make sure we wait for vblank when using the TV DAC to detect the connection type. Fixes FDO bug #14000.
2008-06-06Fix compile error in LeaveVTTomas Carnecky