summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-23Bump version 2.3.0xf86-video-intel-2.3.0Zhenyu Wang1-1/+1
2008-04-23Fix warning with i830_exa_pixmap_is_offscreen() for exa minor >=2Zhenyu Wang1-0/+2
2008-04-21Add a kludge-around to fix cd/wt bits in fb ptes on linux.Keith Packard2-0/+13
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 Wang4-0/+26
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 Wang1-6/+0
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 Wang1-0/+6
2008-04-17fix possible segfault in I830FreeScreenHong Liu1-1/+1
pI830 may point to NULL if I830PreInit fails (cherry picked from commit 0ae283582d21776d3317d5fc1c25751d50d562c7)
2008-04-14Change default panel fitting mode to originZhenyu Wang1-2/+3
i8xx currently only works in FULL mode.
2008-04-14Bump version 2.2.99.903xf86-video-intel-2.2.99.903Zhenyu Wang1-1/+1
2.3-rc3
2008-04-14Remove old sf/wm program from MakefileZhenyu Wang1-2/+0
Fix distcheck
2008-04-14Revert "remove '#line NUM ...' in macro process"Keith Packard1-1/+1
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 Wang1-1/+1
intel-gen4asm doesn't allow '#' line (cherry picked from commit f47486fab3dffcbb03e7ad89f777abba1e887299)
2008-04-12Bug #14935: Fix i9xx reference clock for spread spectrum.Hong Liu1-2/+4
(cherry picked from commit 5c9cde37e769287fb7bf4e08c3600a33c2e92dce)
2008-04-12Fix compiler warning from 24-bit lvds change.Eric Anholt1-2/+3
(cherry picked from commit 152a50703aa5e9ebaa9abbe448518742734a5eb7)
2008-04-12Single memcpy when pitches align on planar image transferKeith Packard1-15/+24
(cherry picked from commit d5a80e1e3ab5724d34b20f9ee6f830efd0f5b076)
2008-04-12Remove .g4b files on cleanKeith Packard1-0/+2
(cherry picked from commit f270456e5612cb88933e6aabcd9a816c5c292229)
2008-04-12Remove sync after 965 video put.Keith Packard1-1/+0
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 Packard2-53/+82
(cherry picked from commit b68d9f4245d0ebe3371c179401ff145f1a4d101b)
2008-04-12Rename src/mask/data registers to indicate channelKeith Packard9-60/+76
(cherry picked from commit 781be9d47289713b0a8fcd95c769a9c6241d62e9)
2008-04-10Implement support for 24 bit pixel formatMike Isely4-4/+42
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 Wang1-0/+1
(cherry picked from commit 79b18980ac9f60b1978abe421352df965aed1681)
2008-04-09Fix LVDS regressionJesse Barnes3-28/+20
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 Schleef1-3/+8
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 Harrington1-0/+12
FD bug #15353. Launchpad bug ID is available for reference.
2008-04-07Forgot to build exa_wm_src_sample_argb.g4bKeith Packard1-0/+1
(cherry picked from commit 0147c1c84872f7a109721a53d88a539932d9be81)
2008-04-07Remove extra flushingKeith Packard2-12/+3
(cherry picked from commit 90886f9a602d58b754e9a8d0f1a9c40803d34fa2)
2008-04-07Add projective versions of the PS kernelsKeith Packard1-23/+66
(cherry picked from commit 0836373dc6e2f8612f120074980561f7ac11f6f7)
2008-04-07Shrink WM thread to 32 registers and 1024 scratch space.Keith Packard15-101/+101
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 Packard32-189/+300
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 Packard8-448/+0
(cherry picked from commit f8081178eb6fda0e405967cbacad532561619262)
2008-04-07remove old monolithic shadersKeith Packard3-285/+0
(cherry picked from commit 879f8717b09f79156b218ee9cc2107700190d586)
2008-04-07remove old monolithic shadersKeith Packard4-685/+1
(cherry picked from commit 6db8faeb754897b21af045d00f50db9640b080bb)
2008-04-07Back to new shaders, fix urb read lengthKeith Packard4-76/+84
(cherry picked from commit 6bb92213374f278387c539bbe05b773e87e11b90)
2008-04-07Dont set the compr bit on 8-unit sendsKeith Packard1-2/+2
(cherry picked from commit 05710145b6fc4ed2c528128b2e6022591a53d050)
2008-04-07Use m4 to clean up gen4 asm progs. Start adding projective transform support.Keith Packard39-241/+1592
Use macros for register names, modularize functions into separate files. (cherry picked from commit 08500507284f13ad7084eb231b43e117e9728129)
2008-04-07Remove rotation sf and wm progsKeith Packard4-329/+0
(cherry picked from commit 949d73271d7100c1f028fd60f185f4929461304e)
2008-04-07Fix the sf_mask program to compute and pass corrected uvw cooefficientsKeith Packard2-52/+72
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 Packard3-147/+48
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 Packard1-1/+1
(cherry picked from commit 771a56b1ed0df69345c723cb62a73b6842cd8227)
2008-04-07Compute du/dv/dw in no-mask SF progKeith Packard2-16/+76
(cherry picked from commit 4f469189fed541549e5d470b2529275a29cc2f20)
2008-03-31Bump version 2.2.99.902xf86-video-intel-2.2.99.902Zhenyu Wang1-1/+1
2.3-rc2
2008-03-31Use xfree() for bios memoryZhenyu Wang1-4/+4
2008-03-31Disable cursors while switching modesKeith Packard1-0/+3
(cherry picked from commit 7dcb6e627449c80cea9812462ce6a3e125bd1240)
2008-03-30Add a "total" field to intel_idle output (set when any unit is busy).Eric Anholt1-5/+8
(cherry picked from commit d50264fc7c4e0f80d9cc68dfdf322f68520a0f1e)
2008-03-30Use combo backlight control rather than pure legacyJesse Barnes1-2/+2
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 Hopf1-1/+1
(cherry picked from commit 3414313ac9d0faa95797ee18cc33afa231ec7581)
2008-03-30Fix obviously stray '(' in non-I830_USE_EXA case.Matthias Hopf1-1/+1
(cherry picked from commit c40f195f2dc3467259b4588e087aac9741003ebf)
2008-03-28Disable DRI earlier if fb width > 2048Zhenyu Wang1-6/+6
(cherry picked from commit 7bba2c13310ed5ac22a355a3cc0ec8b7afaa79cf)
2008-03-28Disable overlay on new mobile chipsetZhenyu Wang3-3/+9
It's gone, really. (cherry picked from commit b1f358ba97473b792ec2b7ed5170152faebe7262)
2008-03-27Fixup backlight control and panel fitting property namesJesse Barnes1-7/+7
They should be listed as lower case, since that's what you'd pass to xrandr. (cherry picked from commit 52d6ced652059989e6d9780a149488ccd16e3a22)