summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-05-12add sdvo capability reading supportDave Airlie
This reads the SDVO cap bits and uses them to figure out the input/output to save/restore
2006-05-09Video overlay gamma bounds checking must be done bytewise.Keith Packard
Also, pend bound computations to register writes to allow updates to individual values that are 'out of spec' so the client can update multiple values.
2006-05-04Use xf86int10Addr() when calculating an address to read the video BIOS from, outEric Anholt
of int10's copy. Fixes a crash on FreeBSD.
2006-05-01Stop doing the BIOS memory size tweaking now that we don't ask the BIOS aboutEric Anholt
what modes are available.
2006-04-24Correct some SDVO-related register definitions.Eric Anholt
2006-04-24Save/restore the output's SDVO reg. Note that we might be programming the otherEric Anholt
SDVO reg instead of the one assigned to the output. When trying to fix that, I ended up getting no output at all.
2006-04-24Start trying to save/restore SDVO state on VT switches.Eric Anholt
2006-04-24Clean up some argument passing, and remove extra SetTarget{In,Out}Puts that hadEric Anholt
no effect. Note that we are currently trying to program both outputs of any SDVO device the same way.
2006-04-24Only write out as many arguments as the commands need, and fix up the numbers inEric Anholt
some cases. Pretty-print the return status.
2006-04-24Start trying to implement DDC over SDVO. It's slightly tricky because theEric Anholt
control bus will reset from DDC mode to internal-registers mode after every Stop afer a Start on the DDC bus. The xf86 DDC code causes multiple Start/Stops in one probe. So, we create a wrapper bus that does the control bus switch at every Start. It's not working yet on my hardware, but I'm pretty sure this is the right way to go.
2006-04-24Set displayWidth to a sufficient value for the modes we come up with for LVDS.Eric Anholt
Reported by: Lukáš Hejtmánek
2006-04-24Simplify the i2c code by using the GetBits/PutBits interface rather thanEric Anholt
reimplementing it.
2006-04-24Merge branch 'lukas-resume'Eric Anholt
2006-04-20move sdvo output settingDave Airlie
we have to set the sdvo register a lot earlier in order for them to sync properly otherwise my monitor doesn't sync unfortunately, also disable the sdvo while tweaking the PLLs. This also comments out a setting that seems to break my system here for Eric to look at later.
2006-04-20fix type 0 instead of ODave Airlie
2006-04-20correct height parameter in sdvo packetDave Airlie
2006-04-20cleanup sDVO for device on C onlyDave Airlie
This destroys the i2c device properly if the device isn't detected, and allows sDVO to work on GM chipsets, and doesn't initialise the i2c bus twice for sDVO.
2006-04-19Clean up SDVO initialization, include config.h, and make it check the rightEric Anholt
slave address on the first device as well. This gets me to the point of bringing up some modes on my device.
2006-04-19Add more registers to save/restore. Save/restore palette as welllukas-resumeLukáš Hejtmanek
2006-04-19Whine if SDVO I2C device init fails, rather than be silent.Eric Anholt
2006-04-19Add more SDVO code. It's taken from airlied's driver, but with magic numbersEric Anholt
replaced by symbolic names in many places. I tried to restrain myself from functional changes in airlied's code in this pass.
2006-04-19Start bringing in some SDVO code, mostly from airlied.Eric Anholt
2006-04-17Use the IS_I9XX macro intead of >= i915G, since by PCI ID number, 855GM > 915.Eric Anholt
2006-04-17Remove some dead code and one particularly useless debug printf.Eric Anholt
2006-04-17Disable the BIOS dump-to-file since it's a trivial local DOS, and I can just askEric Anholt
people to turn it on and recompile when I need to.
2006-04-16Bug #6589: Use alternate offsets to successfully get at the panel data forEric Anholt
some broken video BIOSes.
2006-04-16Add a standalone program for parsing VBT.Eric Anholt
2006-04-15Check for LVDS BIOS tables exactly once at startup. While there, dump the BIOSEric Anholt
data to /tmp/xf86-video-intel-VBIOS, for offline debugging.
2006-04-12fix typoAlan Hourihane
2006-04-12Initial support for pre-i915 PLL programming. Untested.Eric Anholt
2006-04-12Automatically enable clone mode if we detect two active outputs.Eric Anholt
2006-04-10Add missing MIT copyright licenses, which should have been on all versions.Eric Anholt
2006-04-10Save/restore PFIT_CONTROL. Eliminate compiler warningsKeith Packard
2006-04-10Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-04-10Merge in master to modesettingKeith Packard
2006-04-10Improve LVDS modes when outputting a CRT+LVDS combo at larger than the LVDS'sEric Anholt
panel size. This is a hack until we get better clone mode, but it correctly displays a subset of the root on the LVDS by using a correct pixel clock and pipe/display size.
2006-04-10Bump to 1.6.0.i810-1_6_0Adam Jackson
2006-04-10Add a DrawablePtr argument to the XV functions to pave the way for redirectedAaron Plattner
video.
2006-04-10x86_64 warning fixesAlan Hourihane
2006-04-10Remove the int10 POST on EnterVT. It has been reported to cause crashes now,Eric Anholt
and I believe it is the responsibility of the kernel to bring the device back to a mostly-sane state on resume anyway.
2006-04-10Warnings cleanup.Eric Anholt
2006-04-10Don't try to use LVDS by default on chipsets that won't have an LVDS attached.Eric Anholt
The BIOS tables may still exist, so we can't rely on their presence to indicate LVDS attachment.
2006-04-06Remove BIOS save/restore code, fixing VT switching. Removes some other deadEric Anholt
code, too.
2006-04-06Turn off the VGA plane when we're setting our native modes.Eric Anholt
2006-04-06Remove the hacky-looking Set640x480. I'll be removing things it depends onEric Anholt
(setpipe), and I suspect we'll end up with different hacks for resume, anyway.
2006-04-06Remove more BIOS stuff, particularly Get/SetDisplayDevices. Now, if there's noEric Anholt
hardcoding in the config file, we default to LFP if we detect it from BIOS, and LFP or CRT if we can get EDID out of them.
2006-04-06Remove the now-unused displaySize and pipeDisplaySize.Eric Anholt
2006-04-06Remove more BIOS modesetting stuff.Eric Anholt
2006-04-06autodetect LVDS dither. Fix 16bpp depth selectionKeith Packard
2006-04-06Clean up (and I believe fix a couple of bugs in) the divisor selection code.Eric Anholt