summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-10Merge branch 'master' into jbarnes-cleanupjbarnes-cleanupJesse Barnes6-23/+16
2008-03-10Add pipe A force enable quirk for Dell Latitude D500Jesse Barnes1-0/+2
Fixes #14888.
2008-03-10quirk: add DVO ivch quirkDave Airlie1-0/+3
2008-03-08Makefile.am: nuke RCS IdMatthieu Herrb1-1/+0
2008-03-07Avoid setting reserved bits in SDVOx on everything 965-class.Eric Anholt1-1/+1
This will likely fix SDVO outputs on G35 hardware.
2008-03-07Enable hardware overlay on 965Jesse Barnes3-21/+10
Based on Maxim Levitsky's patch for the same. Many thanks to Maxim for discovering that this features still works in recent hardware!
2008-03-07Merge ssh://people.freedesktop.org/~jbarnes/xf86-video-intel into ↵Jesse Barnes8-217/+220
jbarnes-cleanup Conflicts: src/i830_driver.c Untested, but should compile with a default config.
2008-03-07fixup pciaccess version detectDave Airlie1-2/+2
2008-03-06Implement new get_property feature for backlight controlJesse Barnes1-0/+32
This should keep the backlight value reported by xrandr --prop & xbacklight consistent with changes by other software in the system (like the hotkey driver or kernel backlight driver).
2008-03-06remove extra dri checkingZhenyu Wang1-5/+0
And directRenderingDisabled already has config check result.
2008-03-06No ring, no syncZhenyu Wang1-0/+3
2008-03-06Pull chipset detection out of PreInit into its own functionJesse Barnes1-196/+207
2008-03-06Account for FBC LL cache in memory reservationJesse Barnes1-1/+1
When we reserve memory (memory that won't be managed by the kernel) make sure to reserve space for the FBC LL cache as well.
2008-03-06Move MTRR fixup to its own routineJesse Barnes1-40/+45
2008-03-06Refactor memory allocation into a separate functionJesse Barnes1-129/+147
This simplifies the memory allocation code and fixes a number of bugs. Prior to this change, some flags may have been set after memory allocation occurred, meaning they had no effect. It should also make the allocation logic clearer.
2008-03-05Really print adjusted_mode for mode debugZhenyu Wang1-1/+1
2008-03-04Fix DPLL programming in CRTC mode setHong Liu1-8/+8
The following patch fixes the display problem on internal development machines. The code in commit 3c22ed633be2ac96eea7bc533839e956f1f31b84 (Jesse's force pipe A enable patch) broke DPLL programming. Moving the DPLL set back up in the function solves the problem. Fix for internal bug #309.
2008-03-04Change FBC idle mode back to defaultJesse Barnes1-1/+1
Use the "immediate idle" mode for FBC. Rather than waiting for the current compression pass to finish before signalling to the CPU that it's idle, this mode should stop any current compression pass and tell the CPU that the GPU is idle right away. Seems to fix #13326.
2008-02-29Bug 14591: comment out MI_DISPLAY_POWER_DOWN as for 965GM onlyZhenyu Wang1-1/+1
2008-02-27HP Compaq 6730s has no TV outputPeng Li1-0/+3
2008-02-26Bug #14649: Fix build if pciaccess headers are not with other xorg headers.Mark Kettenis7-9/+13
We failed to include the pciaccess header flags in our build. Even if the server was to include those flags for us, it would leave us broken for the tools-only case, and it's easier to just put the flags everywhere so we avoid future copy'n'paste mistakes.
2008-02-26Fix SDVO I2C access on Mac Mini in EFI mode.Eric Anholt2-0/+15
The GMBUS was being left in SDVO pin access mode, which blocked our bit-banging access to those pins. Thanks to Peter Jones for quick debugging turnaround in getting this fixed.
2008-02-26Look for src/{modes,parser} in $srcdir, not in objdirJulien Cristau1-5/+5
This makes the detection work in case configure is run from another directory.
2008-02-25Fix overlay rotationZhenyu Wang2-12/+32
Track current covered crtc rotation in port's private, and fix overlay rotation transform to be against crtc mode coordinate.
2008-02-22Remove SaveHWState call from EnterVTJesse Barnes1-9/+0
We already do it at PreInit time, no need to do it again.
2008-02-22Don't walk into LpRing struct if it doesn't existJesse Barnes1-1/+1
Fix from Lukas Hejtmanek <xhejtman@ics.muni.cz>. If we're called early on, the ring may not be allocated yet, so we can't just read the mem field w/o checking whether LpRing exits or not.
2008-02-22Merge branch 'master' of ↵Jesse Barnes30-240/+1227
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel Conflicts: src/i830_driver.c
2008-02-22Add quirk for DVO channel selectionJesse Barnes3-1/+18
Some machines want DVOA, some DVOB. We can use this quirk to differentiate them until we come up with a better solution. Patch from Hong Liu. Fixes #13722.
2008-02-21Add pipe A force enable quirk for ThinkPad X40Jesse Barnes1-0/+3
ThinkPad X40s need this quirk or they'll crash frequently. Fixes #14521.
2008-02-21Remove side effects from VGA debug codeJesse Barnes1-0/+1
The VGA register dumping code was leaving ARX in data mode rather than index mode, which could cause problems for later software accessing AR* registers. Fix it to make sure it's in index mode when we're done. Fixes #14434.
2008-02-20Fix DSP*CNTR restorationJesse Barnes1-4/+8
When checking which pipe a given plane was associated with, we weren't properly masking the pipe selection bits. Fixes #14481 and should allow the driver to work with vesafb again.
2008-02-19Don't leak memory if no DMI info is provided by kernelZhenyu Wang1-11/+13
2008-02-19Fix last 8XX clock's p2 value commitZhenyu Wang1-2/+3
My fault to change Hong's origin patch reversely.
2008-02-18Fix Lenovo X60 TV quirkZhenyu Wang1-2/+19
Z61 has same subsys ids with X60, but does have one S-video TV out. Use DMI info instead to quirk TV on X60, X60s.
2008-02-18Add DMI info for i830 quirksZhenyu Wang1-0/+130
Linux kernel has CONFIG_DMIID to export dmi info through sysfs.
2008-02-16Decode DSPCLK_GATE, dump PIPE*STAT, MI_MODE, MI_DISPLAY_POWER_DOWN, ↵Keith Packard2-2/+170
MI_ARB_STATE, MI_RDRET_STATE, ECOSKPD
2008-02-15Bug #14440: fix stolen mem size mask on i830MZhenyu Wang2-3/+3
For i830M stolen mem size mask should always be 0x70. Use 0xF0 for later chipsets should be ok, so behavior is identical to kernel agp.
2008-02-08Add a little program to output the stepping information for several chipsets.Eric Anholt3-2/+144
2008-02-07Add CACHE_MODE_0 register to dump outputJesse Barnes1-0/+1
2008-02-06Only disable FBC if registers are availableJesse Barnes1-1/+2
The call to disable FBC should only occur if the FBC feature is actually present or we may end up hanging on a read from a non-existent register.
2008-02-05Fix build warnings on 64 bitJesse Barnes3-27/+32
Use PRIx32 for printing CARD32 types, and PRIx64 for portably printing uint64_t types. Requires the addition of a new include, inttypes.h, to work. Hope C99 is ok with everybody...
2008-02-05Only enable FBC if one pipe is activeJesse Barnes1-30/+44
Some chips can't support FBC if multiple pipes are active. So if more than one pipe is on or we're going from one->two pipes enabled, make sure FBC is disabled. Intended to fix 13418, 13326, 13152.
2008-02-05xf86-video-intel: fix ivch using wrong dvo registerliuhong1-1/+1
We use the wrong DVO output register for ivch which is used for DVO LVDS. Vbios enables DVOB and driver never touches it, so everything seems working correctly now.
2008-02-05Program FBC fence offset registerJesse Barnes3-0/+4
Just a partial fix for some of the FBC issues people have been seeing. The other half is to disable FBC if both pipes are running.
2008-02-05Fix last commit on i8xx debug p2 valueZhenyu Wang1-2/+2
2008-02-05Fix PLL reference clk debug dumpHong Liu1-12/+26
2008-02-05Allow non-strict free order for bo_listHong Liu1-5/+9
2008-02-05Bug 10584: Mac Mini EDID data assigned to TMDS outputHong Liu1-4/+12
EDID data for TMDS output got from crt should be applied to TMDS output on mac mini.
2008-02-04Bug 10773: fix i8xx pll p2 value in i830_crtc_clock_get()Hong Liu2-2/+10
Also fix debug dump, slightly modified to use macro instead.
2008-02-01Make sure symbols used by other modules are public.Paulo Cesar Pereira de Andrade5-5/+5
These symbols must be explicitly exported, otherwise if compiled with hidden symbols, LoaderSymbol (and dlopen) will fail to find them.