summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-21Choose a split for DSPARB based on the configured modes for both planes.Jesse Barnes
Previously, we were attempting to give both planes equal space in the FIFO to be fair. However, larger modes require more fifo space, so split it based on the relative HDisplay of the modes. This should resolve some fifo underrun issues with differently-sized displays, or single large ones. Bug #16169. (cherry picked from commit b8ca1c747a679c931267363639fc0bc690cae2d6)
2008-07-21Don't disable pipe A on 855 chipsJesse Barnes
It needs to stay enabled or we may see hangs when trying to re-enable it (say at VT switch time). Fixes FDO bug #15168. (cherry picked from commit b37a2a8ca82279468e3806dcf77d5fa7bdd0e874)
2008-07-21Only initialize integrated TV encoder for mobile chipsZhenyu Wang
(cherry picked from commit c4565a9811487402d899d0933cc63e27ffe1ff08)
2008-07-21xvmc: use vector based structureZhenyu Wang
This is more clear to read MV components. (cherry picked from commit bca316863b79148b2f51a97d58b94e52ba3eae9f)
2008-07-21move FBC register dump out of display registersZhenyu Wang
This makes it easier to read. (cherry picked from commit 0c67219d0e6cfc858af2eb375c2f9473d0f6db60)
2008-07-21Fix GPIO pin usage for DDC on second HDMI port.lipeng
(cherry picked from commit a76ae7cab3001ce6639ae23fb0769c4e46b57e71)
2008-07-21Fix DSPARB setting on 845/865, which have only the AEND field and 96 entries.Eric Anholt
(cherry picked from commit 5054a86b1b362f3f63310afb9ef2d37c9f1cfca5)
2008-07-21Link the driver with -lpciaccess and -ldrm if neededJulien Cristau
This makes sure the driver ends up with a DT_NEEDED reference to the libraries it's using. (cherry picked from commit 8ac00ca97995e36514ff593fec3c0f0d316ed138)
2008-07-21Fix gen4asm rule to work with a build dirJulien Cristau
(cherry picked from commit d61182511b1520b04133d28480e1ffaacbaeb753)
2008-07-21Use 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). (cherry picked from commit 757c00927a6f5760135136450b8d02d0f999ac1c)
2008-07-21Allow 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. (cherry picked from commit 0c548cd040d0c5e1812470ccdf6de86b6a2926d7)
2008-07-21Move VERTEX_BUFFERS setup from prepare_composite to compositeCarl Worth
This is in preparation for having larger (or multiple) vertex buffers in the future. (cherry picked from commit cc2249333cd462b4d99d110a12c454ca141b2be8)
2008-07-21Add 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. (cherry picked from commit 3c0f2bcc9965155fecab606edae68874427d3423)
2008-07-21Improve 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. (cherry picked from commit e00d9435609bcff1afb71aa6638a6b42a64f5178)
2008-07-21Improve 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. (cherry picked from commit 7332132a79e5b5c208d43e93dfe0c8b12eb1728d)
2008-07-21Add pipea force enable quirk for another 855GM machine.Stefan Dirsch
Fixes Novell Bug #406123, thanks Christoph. (cherry picked from commit f2ec3fd8f2c63b1bc0745802dcf737eda4bb42b6)
2008-07-21Fix official name for GM45 chipsetZhenyu Wang
(cherry picked from commit a34a4e3f6420e2b06bbdaa124fe0ccb1bc6a0bd9)
2008-07-21Give 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. (cherry picked from commit 6506ac7aa008436158db4f4196802cab462f3446)
2008-07-21intel: 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. (cherry picked from commit 55678c64bc6e3ed613ea6db14c105c18a0cf28ce)
2008-07-21i810: Remove an effectively unused variable (only used in an incorrect free())Roland Test-tools Bär
Bug #15401. (cherry picked from commit 0597d94001afe0a9a34104285ce4dffc75b68071)
2008-07-21Fix SDVOC typoZhenyu Wang
(cherry picked from commit 37661d916e8384f537d5ed8cbec66a93795c6a05)
2008-07-21xvmc: fix motion_type dump for frame/field pictureZhenyu Wang
(cherry picked from commit 7834a3b118ae4e034f064257762d5c25ada5fe52)
2008-07-21xvmc: 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. (cherry picked from commit 989ec9e8a69f909cb64f17e4465982613b4b054d)
2008-07-21xvmc: enlarge batch buffer sizeZhenyu Wang
(cherry picked from commit 550082070a3fdb951e3cf08974dc56276c0a739c)
2008-07-21xvmc: only allocate memory requiring physical address on 915GZhenyu Wang
Later 945-ish chipset can use graphics address instead. (cherry picked from commit d50cec6ef9e2178ea663e58d548390f0f3da7692)
2008-07-21xvmc: init mc render load indirect command onceZhenyu Wang
(cherry picked from commit d1c34d8c0e7ae2a1d952791343e131837fbfda99)
2008-07-21xvmc: init dest and reference buffer onceZhenyu Wang
Init them right after context create, and only update buffer address info later. (cherry picked from commit 75e38fa8348198ba151afa37e10be3b0b0b468f8)
2008-07-21xvmc: 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. (cherry picked from commit b4d8ca8b38e495b56bb3b4143e5dfe91ee651f15)
2008-07-21xvmc: environ debug option supportZhenyu Wang
export INTEL_XVMC_DEBUG=1 (cherry picked from commit 54f3f528e4804b958936ac773e7a507b2676f815)
2008-07-21xvmc: formalize surface type definitionZhenyu Wang
We should also carefully select surface type id. (cherry picked from commit 7a705081788bf957409e17baa5f189241589057c)
2008-07-21Add pipea force enable quirk for HP Pavilion ze4944eaJesse Barnes
Fixes bug #16540, thanks Bryce. (cherry picked from commit 0283d22f510ba47dfdac2806a58e46649c26580b)
2008-07-21Add pipe a force enable quirk for Lenovo T60Jesse Barnes
Fixes bug #16494. (cherry picked from commit 08903abe4dc0295c7ed7d1ff1a22e0e579540c15)
2008-06-26Fix 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. (cherry picked from commit 05df8c0b31721a9ccc7215fb1cda1115758367c7)
2008-06-26Remove ErrorF debugging from modeset ioctlJesse Barnes
Oops. (cherry picked from commit 59f39e0ea0ad48c52d9b8f7afb6e04ce95db717e)
2008-06-26Add 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. (cherry picked from commit 65eee25d7d2ca979205f3776d620dbb36bf68a13)
2008-06-26Fix a crash in i830_sdvo_init error paths by setting up dev_priv earlier.Eric Anholt
(cherry picked from commit 6b6be2b2a7179c1c9fa12989e16076aae105f4e2)
2008-06-26Automatically 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. (cherry picked from commit 65ad29d78793c7804f133a58de80ffaa0404ca28)
2008-06-26Fix 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. (cherry picked from commit ea0d21006ec71bc56acde7291e5f8d28e54b83fe)
2008-06-26Get 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). (cherry picked from commit 2fa9240a3b685a0c3d0e2644fc144c927b67b6b3)
2008-06-26Set the sync active bits like we're supposed to, matching the BIOS.Eric Anholt
(cherry picked from commit dc8ab9d35b261b6105a62949cfb47a3554531d0b)
2008-06-26Add pixel multiplier support for HDMIEric Anholt
(cherry picked from commit af13826ed063b60a1e4179101e8889b4ab7a9d0b)
2008-06-26The phase shift its are now reserved, and add HDMI clock limits.Eric Anholt
(cherry picked from commit 9a05662918223477eb1cf6f80ffac08712721c70)
2008-06-26Initial HDMI work. Not currently hooked up at startup.Eric Anholt
(cherry picked from commit beba1dd3561e38573ed9f507328caf7f8fb9f84a)
2008-06-26Add DisplayPort registers.Eric Anholt
(cherry picked from commit da58dc3b02999f3244d0eaf77180b828d85bd609)
2008-06-17Add support for Intel 4 series chipsets.Zhenyu Wang
(cherry picked from commit 1cfe769c74d1a3a392bf1aaaf5c2dcc8273daf66)
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.