summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-01Add support for RepeatPad and RepeatReflect.Carl Worth
It's quite simple to support these modes---we simply need to turn on the support for them in the hardware. These changes have been verified with the extend-pad and extend-reflect tests in cairo's test suite. However, this currently required using a custom-modified version of cairo. The issue is that released versions of cairo, (and even cairo master so far), don't pass RepeatPad and RepeatReflect to Render, (due to various bugs and workarounds in cairo and pixman). I do plan to fix those issues in cairo, so that in a future release of cairo, (1.8.2 perhaps?), the cairo test suite will usefully test these new repeat modes in our driver.
2008-10-01Examine picture repeatType as well as repeat field.Carl Worth
The existing switch statement was switching on the Boolean repeat field rather than the correct repeatType field. This had not caused any problem before as only two possible repeat values were supported (RepeatNone = 0 and RepeatNormal = 1) so they were always the same as the repeat field. Soon, however, we'll be supporting more repeat types, so we'll need to switch on the correct value.
2008-09-30Merge branch 'master' into xf86-video-intel-2.5-branchJesse Barnes
2008-09-30Revert "Use -Werror by default"Jesse Barnes
This reverts commit f315e9d1ad92562195ce42b956d4be6b31e8a13e. The world isn't ready for a warning free build.
2008-09-30Merge branch 'master' into xf86-video-intel-2.5-branchJesse Barnes
2008-09-30Fix ordering of VGA vs. plane disableOlivier Fourdan
From the Intel 965 Programmer’s Reference Manual, volume 3, chapter 2.2.2 "Mode Switch Programming Sequence". The disable sequence should be: - Disable planes (VGA or hires) - Disable pipe - Disable VGA display in 0x71400 bit 31 This patch implements that order plus waits for a vblank at the end. Fixes bug #17756.
2008-09-30Be more verbose about panel data in VBIOS dumperJesse Barnes
Dump more panel data, including number of expected entries. Had to refactor things a bit, but now each function should get size information so further checking can be added more easily.
2008-09-30Use VBT LFP info pointers by defaultJesse Barnes
On some machines it appears that the LFP info pointers give us more accurate panel info than if we index into the LFP data table using the panel type index. Early reports indicate that using the pointers doesn't cause regressions, so switch to them by default to help 8xx machines. Fixes bug 17310 (and hopefully 17658 too).
2008-09-30Use -Werror by defaultJesse Barnes
2008-09-30Work around gcc uninitialized variable warningsJesse Barnes
GCC isn't smart enough to analyze the control flow and figure out that these are false positives, but initializing them shouldn't hurt, so work around it.
2008-09-29Use uintptr_t instead of uint64_t to hold pointer valueKeith Packard
2008-09-28 [965-xvmc] 965q indirect media data workaroundZou Nan hai
2008-09-28Bug #16631: add option for SDVO force detectZhenyu Wang
Some ADD2 card doesn't get SDVO detect status setup right, which disabled outputs on those cards. This adds a new option "ForceSDVODetect" to probe all SDVO ports anyway.
2008-09-26Render register clock gating disable fix on 4 series chipsetZhenyu Wang
2008-09-26Do force CRT detect sequence twice on 4 series chipsetZhenyu Wang
2008-09-26Bug #16515: Fix VT switch with DVI on G45Zhenyu Wang
On DVI, centered VGA mode is used instead of native mode VGA, and PLL on pipe is used instead of VGA PLL setting. So make sure PLL settled down in restore time.
2008-09-23Update supported hardware listJesse Barnes
2008-09-23 [965-xvmc] IGD supportZou Nan hai
2008-09-23 [965-xvmc] optimize, pack some payloadZou Nan hai
2008-09-22Merge branch 'master' into xf86-video-intel-2.5-branchJesse Barnes
2008-09-22Add TV out quirk for HP Compaq nx6110Bryce Harrington
Adds a TV out quirk for HP Compaq nx6110. Fixes bz #17683.
2008-09-22Revert "Add no TV out quirk for HP Compaq nx6110"Jesse Barnes
This reverts commit 6a46022df57d09109fc119fedce99c156715a4d4. It should have been attributed to Bryce.
2008-09-22Merge branch 'master' into xf86-video-intel-2.5-branchJesse Barnes
2008-09-22Add no TV out quirk for HP Compaq nx6110Jesse Barnes
Hopefully we can fix the VBT parsing code so we don't need this, but for the time being it seems necessary. Fixes bz #17683.
2008-09-22Add Cappuccino SlimPRO SP625F to no LVDS quirks listJesse Barnes
Looks like this platform might contain VBTs that indicate an LFP is present even though it isn't. Intended to fix bz #11368.
2008-09-22Merge branch 'master' into xf86-video-intel-2.5-branchJesse Barnes
2008-09-19Fix output detection for DVI-IZhenyu Wang
For CRT this trys to probe all possible port for EDID and detects got confirmed by EDID's d/a type bit. For HDMI/DVI, also using EDID d/a type bit to ensure it should handle the connect or not.
2008-09-18Bug #17277: fix upscaling limitDavid Schleef
Oh duh (i830_video.c): /* Clamp dst width & height to 7x of src (overlay limit) */ if(drw_w > (src_w * 7)) drw_w = src_w * 7; if(drw_h > (src_h * 7)) drw_h = src_h * 7; The condition I see in the documentation appears to be src_h/drw_h < 8, that is, src_h < 8*drw_h. It appears this was "fixed" incorrectly in e784e152. It seems difficult to believe that this limitation would exist at all for the texture unit.
2008-09-18Check display stride limit when allocate front bufferZhenyu Wang
2008-09-16Move bufmgr init earlier so it's available at I830DRIDoMappings time.Xiang, Haihao
Fixes a crash with non-GEM mode. Bug #17540. (cherry picked from commit 62b75df84c893bf28e20014cf88ce45064611dc9)
2008-09-16Put back check for pI830->hw_status in setting hws in non-GEM mode.Xiang, Haihao
Fixes crashes on non-GEM systems with physical hardware status page. Bug #17540 (cherry picked from commit 188d58dac9a87b56dbc34ec219cd196928bbcf64)
2008-09-16Move bufmgr init earlier so it's available at I830DRIDoMappings time.Xiang, Haihao
Fixes a crash with non-GEM mode. Bug #17540.
2008-09-16Put back check for pI830->hw_status in setting hws in non-GEM mode.Xiang, Haihao
Fixes crashes on non-GEM systems with physical hardware status page. Bug #17540
2008-09-12Only BO map render state if kernel mode setting is activeJesse Barnes
We'll probably end up doing this differently, but avoid this path for now.
2008-09-12Merge branch 'master' into xf86-video-intel-2.5-branchJesse Barnes
Conflicts: configure.ac - resolved version number conflict
2008-09-12Fix mis-merge of DRI2 changes related to pI830->directRenderingTypeKeith Packard
The old code had a directRendering boolean, the new one has an enum. A bunch of the merges failed to remove the '!' in front of the old name, breaking a bunch of 'we don't have DRI' tests.
2008-09-11Fix build failures that should have been in the previous merge commit.Eric Anholt
2008-09-11Add support for G41 chipsetZhenyu Wang
G41 is another 4 series chipset like G45/43.
2008-09-11Disable render standbyZhenyu Wang
Render standby is known to cause possible hang issue on some mobile chips, so always disable it.
2008-09-10Merge branch 'master' into dri2Eric Anholt
Conflicts: src/i830_batchbuffer.c src/i830_display.c
2008-09-09Track move of exec to bufmgr, and restoration of emit/wait funcs for non-drm.Eric Anholt
2008-09-09Track the move of irq emit/wait to fake bufmgr.Eric Anholt
2008-09-09Track move of bufmgr functions to libdrm_intel.Eric Anholt
2008-09-09Bug #17446: Don't try to manage IRQs in GEM mode.Eric Anholt
The kernel told us that it was already doing so, resulting in failure.
2008-09-09Add some MCHBAR registers for debugging tile swizzling issues.Eric Anholt
2008-09-09mode: fix missing commaDave Airlie
2008-09-05i830: Fix timer leakDaniel Stone
TimerCancel just cancels the timer: it still leaves the TimerRec intact and unfreed.
2008-09-04DRI2: Move pixmap pitch alignment for use with depth to pixmap create.Eric Anholt
The previous location for pitch fixup would have only worked when depth was used with the backbuffer, and no page flipping or other adventures occurred.
2008-09-04DRI2: Emit the MI_FLUSH before flushing batch in swapbuffers.Eric Anholt
Should fix issues with swapbuffers flushing to front buffer on 965.
2008-09-04Prepare changelog for uploadJulien Cristau