summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-07More quirks from ubuntu/dellBryce Harrington
(cherry picked from commit be746a90a87d7a9807fa4243493e7e4d48f7f1c0)
2008-05-07Add a new quirk for BIOSes that reprogram regs at lid close/open timeJesse Barnes
Dell Latitude D500s seem to have this problem. At lid close/open, the DSPABASE reg gets reset to 0, so we either need to keep the framebuffer at offset 0 or make sure we reprogram the CRTCs after the lid opens again. Since we can't make sure the former is always true (buffer resize, etc.), this patch adds a quirk to reset the modes at lid open time. Fixes FDO bug #14890. (cherry picked from commit a0ced923bb793aa22e6bfbeeec0888d3b42ce176)
2008-05-07Use new xf86RotateFreeShadow function to clean up shadow buffers.Keith Packard
This simply moves code from the driver up into the X server; use it where available. (cherry picked from commit fff17b9d1b58cb53032d153094826dd306836d59)
2008-05-07Overlay video doesn't require that the target pixmap be in video memory.Keith Packard
I830PutImage was checking to make sure the target pixmap resided in video memory, but this isn't necessary when using the overlay. Test (cherry picked from commit 1d467a8038946a37844795e8860be113d43219ac)
2008-04-23Bump version 2.3.0Zhenyu Wang
2008-04-23Fix warning with i830_exa_pixmap_is_offscreen() for exa minor >=2Zhenyu Wang
2008-04-21Add a kludge-around to fix cd/wt bits in fb ptes on linux.Keith Packard
Mmap from /sys/devices/pci* on linux forces the cache-disable and write-through bits, which turns our write-combining map into an uncached-map, seriously impacting performance. It turns out that a bug in mprotect allows us to fix this by disabling access to those pages and then immediately re-enabling them. (cherry picked from commit c3fb62df4e60b63295f94c99b3c5de70dbf94e1c)
2008-04-19Check pitch for EXA operationZhenyu Wang
2D pitch limit applys to all chips. Pre-965 chip has 8KB pitch limit for 3D. 965 supports max pitch by current exa (128KB).
2008-04-18Revert "Set EXA pitch limit for pre-965 chipset"Zhenyu Wang
This reverts commit 602613e397bdf0cf701a6a7748f9343875864466. Pre-965 chipset actually have different pitch limit for 2d and 3d engine. For 2D blit, it's 32KB max. For 3D, it's 8KB max. Don't limit it to minimal which fallback 2D operations (noteable copy slow).
2008-04-17Set EXA pitch limit for pre-965 chipsetZhenyu Wang
2008-04-17fix possible segfault in I830FreeScreenHong Liu
pI830 may point to NULL if I830PreInit fails (cherry picked from commit 0ae283582d21776d3317d5fc1c25751d50d562c7)
2008-04-14Change default panel fitting mode to originZhenyu Wang
i8xx currently only works in FULL mode.
2008-04-14Bump version 2.2.99.903Zhenyu Wang
2.3-rc3
2008-04-14Remove old sf/wm program from MakefileZhenyu Wang
Fix distcheck
2008-04-14Revert "remove '#line NUM ...' in macro process"Keith Packard
This reverts commit f47486fab3dffcbb03e7ad89f777abba1e887299. Sorry for failing to push the #line processing changes to intel-gen4asm; those are now pushed, so this change should no longer be necessary. Having correct file name and line numbers in the error messages is awfully nice though. (cherry picked from commit da85d1b822dcb31698e9c5ab85a7bb27ad745eee)
2008-04-12remove '#line NUM ...' in macro processZhenyu Wang
intel-gen4asm doesn't allow '#' line (cherry picked from commit f47486fab3dffcbb03e7ad89f777abba1e887299)
2008-04-12Bug #14935: Fix i9xx reference clock for spread spectrum.Hong Liu
(cherry picked from commit 5c9cde37e769287fb7bf4e08c3600a33c2e92dce)
2008-04-12Fix compiler warning from 24-bit lvds change.Eric Anholt
(cherry picked from commit 152a50703aa5e9ebaa9abbe448518742734a5eb7)
2008-04-12Single memcpy when pitches align on planar image transferKeith Packard
(cherry picked from commit d5a80e1e3ab5724d34b20f9ee6f830efd0f5b076)
2008-04-12Remove .g4b files on cleanKeith Packard
(cherry picked from commit f270456e5612cb88933e6aabcd9a816c5c292229)
2008-04-12Remove sync after 965 video put.Keith Packard
The hardware has been marked as needing a sync, so the next video put will block waiting for the previous one to complete. Adding a sync here just stalls the video playback for no good reason. (cherry picked from commit 3fc3d1a701bae257b70aa7b7654c722f30e71399)
2008-04-12Use symbolic names for channels in YUV codeKeith Packard
(cherry picked from commit b68d9f4245d0ebe3371c179401ff145f1a4d101b)
2008-04-12Rename src/mask/data registers to indicate channelKeith Packard
(cherry picked from commit 781be9d47289713b0a8fcd95c769a9c6241d62e9)
2008-04-10Implement support for 24 bit pixel formatMike Isely
The Intel driver appears to be coded to only work with displays expecting 18 bit pixels. However I have an application using a LCD display that expects pixel data in 24 bit format. The difference is only 2 bits in a single GPU register. This patch implements that change, controlled by a new driver option, "LVDS24Bit". The default value is false, which is the previous behavior. When set to true, then 24 bit panels should work (at least the one I'm testing here does). Fd.o bug #15201 Signed-off-by: Mike Isely <isely@pobox.com> (cherry picked from commit e031cc02e65acfbafb48136dad414751e04425c5)
2008-04-10Include <stdint.h> in i810.h for integer types definitionZhenyu Wang
(cherry picked from commit 79b18980ac9f60b1978abe421352df965aed1681)
2008-04-09Fix LVDS regressionJesse Barnes
Disable panel fitting on 855GM, and fix dither setting. (cherry picked from commit 2b720262e1235f1c9da860ba3e9181f0c377aa5e)
2008-04-09Bug #15219: Fix default overlay CSC factors, and use BT709 if available.David Schleef
Using the updated factors even when BT709 conversion isn't available (non-965) should still give us better color reproduction. Tested on a 945GM, examining the +/-5% of black bars of videotestsrc. (cherry picked from commit af92f4f885c8eae2211d09080b2289aa5bab9ec1)
2008-04-07Quirks from Ubuntu/DellBryce Harrington
FD bug #15353. Launchpad bug ID is available for reference.
2008-04-07Forgot to build exa_wm_src_sample_argb.g4bKeith Packard
(cherry picked from commit 0147c1c84872f7a109721a53d88a539932d9be81)
2008-04-07Remove extra flushingKeith Packard
(cherry picked from commit 90886f9a602d58b754e9a8d0f1a9c40803d34fa2)
2008-04-07Add projective versions of the PS kernelsKeith Packard
(cherry picked from commit 0836373dc6e2f8612f120074980561f7ac11f6f7)
2008-04-07Shrink WM thread to 32 registers and 1024 scratch space.Keith Packard
Saving registers means we can run more in parallel. (cherry picked from commit bfd803e085e938866efb45c67a79facef78ec399)
2008-04-07Fix composite with mask using new compositing thread codeKeith Packard
Clean up register allocation to never overlap Always write 4 values for each texture vertex. (cherry picked from commit a6492661ae07310128eb73c3ef037c42ce7ab184)
2008-04-07remove old shader source filesKeith Packard
(cherry picked from commit f8081178eb6fda0e405967cbacad532561619262)
2008-04-07remove old monolithic shadersKeith Packard
(cherry picked from commit 879f8717b09f79156b218ee9cc2107700190d586)
2008-04-07remove old monolithic shadersKeith Packard
(cherry picked from commit 6db8faeb754897b21af045d00f50db9640b080bb)
2008-04-07Back to new shaders, fix urb read lengthKeith Packard
(cherry picked from commit 6bb92213374f278387c539bbe05b773e87e11b90)
2008-04-07Dont set the compr bit on 8-unit sendsKeith Packard
(cherry picked from commit 05710145b6fc4ed2c528128b2e6022591a53d050)
2008-04-07Use m4 to clean up gen4 asm progs. Start adding projective transform support.Keith Packard
Use macros for register names, modularize functions into separate files. (cherry picked from commit 08500507284f13ad7084eb231b43e117e9728129)
2008-04-07Remove rotation sf and wm progsKeith Packard
(cherry picked from commit 949d73271d7100c1f028fd60f185f4929461304e)
2008-04-07Fix the sf_mask program to compute and pass corrected uvw cooefficientsKeith Packard
sf_mask is the same as sf except that it must compute both src and mask uvw cooefficients, which are conveniently adjacent in the same registers, and so need only an extended execution width (cherry picked from commit 492ff1494f782240e6ca68919b2d0b9aa400fc53)
2008-04-07Reimplement wm program for nomask case to handle affine transformsKeith Packard
This involves correctly computing u/v locations based on x/y vectors and line constants computed in new sf program. Also, use fewer instructions to make this go a bit faster (2X for 500x500 composite). (cherry picked from commit 6304b38423f99190a5e54f1a7dcaa75adfad4f2a)
2008-04-07Clarify comment in exa_sf programKeith Packard
(cherry picked from commit 771a56b1ed0df69345c723cb62a73b6842cd8227)
2008-04-07Compute du/dv/dw in no-mask SF progKeith Packard
(cherry picked from commit 4f469189fed541549e5d470b2529275a29cc2f20)
2008-03-31Bump version 2.2.99.902Zhenyu Wang
2.3-rc2
2008-03-31Use xfree() for bios memoryZhenyu Wang
2008-03-31Disable cursors while switching modesKeith Packard
(cherry picked from commit 7dcb6e627449c80cea9812462ce6a3e125bd1240)
2008-03-30Add a "total" field to intel_idle output (set when any unit is busy).Eric Anholt
(cherry picked from commit d50264fc7c4e0f80d9cc68dfdf322f68520a0f1e)
2008-03-30Use combo backlight control rather than pure legacyJesse Barnes
If the legacy bit is set, use both the BLC_PWM_CTL and LBB regs to control the backlight, rather than just LBB. Looks like more platforms want that than what the current code does. Note that kernel provided interfaces will always be used if available, so this shouldn't affect users with /sys/class/backlight interfaces at all. Fixes #14721. (cherry picked from commit 1450acd046d47e1739a3ffbd146c73ad2974a935)
2008-03-30Fix obviously wrong verification of DRI_SUPPORTS_CLIP_NOTIFY.Matthias Hopf
(cherry picked from commit 3414313ac9d0faa95797ee18cc33afa231ec7581)