Eric Anholt
a115c4b872
Remove the code that changes our behavior based on whether a magic file exists
...
with magic contents in /tmp (created by some install script).
2006-05-12 16:11:29 -07:00
Eric Anholt
0cb251fadc
Do a couple of reverts to get the DRI code building. At this point, the whole
...
driver builds.
2006-05-12 16:10:02 -07:00
Eric Anholt
78b95386b6
Remove intel_randr.c and stick with the previous code. Broadwater shouldn't be
...
changing our randr, and the new version didn't compile.
2006-05-12 16:09:40 -07:00
Eric Anholt
2e58aa401d
Make the intel_acpi.c code non-modular and make it compile. I think we'll end
...
up nuking this code anyway, as keithp (and I, as well) disagree about how ACPI
should be handled, but the goal is to compile at the moment.
2006-05-12 15:54:37 -07:00
Eric Anholt
2cd6c8fa23
Revert internal shadow module changes back like master, along with RandR
...
initialization. RandR initialization retains the no-rotation setting for BW.
2006-05-12 15:37:44 -07:00
Eric Anholt
88558ebeed
Start fixing up the build and remove a regression from master (I think) in
...
rotation.
2006-05-12 15:00:17 -07:00
Eric Anholt
9e387ef92b
Re-add authorship note in i830_driver.c accidentally left out of last commit.
2006-05-12 13:41:38 -07:00
Eric Anholt
af2432322b
First pass of integrating the Tungsten Graphics driver for Broadwater. This
...
patch is based off of diffing from the branchpoint to the supplied code, but
with many chunks containing reversions of commits removed. Won't work yet.
2006-05-12 13:32:38 -07:00
Dave Airlie
fbba4312e7
add sdvo capability reading support
...
This reads the SDVO cap bits and uses them to figure out the input/output
to save/restore
2006-05-12 18:44:27 +10:00
Keith Packard
f2967a2f5f
Video overlay gamma bounds checking must be done bytewise.
...
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.
(cherry picked from 190f9ad060 commit)
2006-05-09 13:57:23 -07:00
Keith Packard
190f9ad060
Video overlay gamma bounds checking must be done bytewise.
...
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-09 13:51:25 -07:00
Eric Anholt
fb10966e9f
Use xf86int10Addr() when calculating an address to read the video BIOS from, out
...
of int10's copy. Fixes a crash on FreeBSD.
2006-05-04 18:53:11 -07:00
Eric Anholt
a66f2c01f7
Stop doing the BIOS memory size tweaking now that we don't ask the BIOS about
...
what modes are available.
2006-05-01 12:35:21 -07:00
Matthieu Herrb
99b0e53244
Fix non-dri build.
2006-05-01 10:47:09 +02:00
Matthieu Herrb
86f0119f47
Fix non-dri build.
2006-05-01 10:41:10 +02:00
Wang Zhenyu
fcec956807
Save initialize EXADriverPtr, and free it in failure.
2006-04-29 10:55:25 +08:00
Wang Zhenyu
0be9bc6044
I830CheckDevicesTimer() sync should be in I830_USE_XAA case.
2006-04-29 10:54:02 +08:00
Wang Zhenyu
a00a3d198a
fix I830BIOSAdjustFrame() sync in I830_USE_EXA case, use exaWaitSync() helper.
2006-04-29 10:52:45 +08:00
Eric Anholt
c94cc67bcc
Update to EXA 2.0 API.
2006-04-28 15:33:57 -07:00
Eric Anholt
a4a4ced50c
Get it to compile.
2006-04-28 14:59:52 -07:00
Eric Anholt
941a49f91e
Commit what applied from Jesse Barnes's i830-exa-latest.patch.
2006-04-28 14:57:03 -07:00
Eric Anholt
a555e28e5a
Correct some SDVO-related register definitions.
2006-04-24 16:55:44 -07:00
Eric Anholt
cc70e6b789
Save/restore the output's SDVO reg. Note that we might be programming the other
...
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-24 16:49:48 -07:00
Eric Anholt
b498d2b1d1
Start trying to save/restore SDVO state on VT switches.
2006-04-24 15:42:46 -07:00
Eric Anholt
56c1f8b0de
Clean up some argument passing, and remove extra SetTarget{In,Out}Puts that had
...
no effect. Note that we are currently trying to program both outputs of any
SDVO device the same way.
2006-04-24 14:10:20 -07:00
Eric Anholt
9ba5319b36
Only write out as many arguments as the commands need, and fix up the numbers in
...
some cases. Pretty-print the return status.
2006-04-24 13:55:05 -07:00
Eric Anholt
d32514aee4
Start trying to implement DDC over SDVO. It's slightly tricky because the
...
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-24 12:21:45 -07:00
Eric Anholt
effab21c3d
Set displayWidth to a sufficient value for the modes we come up with for LVDS.
...
Reported by: Lukáš Hejtmánek
2006-04-24 11:42:24 -07:00
Eric Anholt
bcb441225d
Simplify the i2c code by using the GetBits/PutBits interface rather than
...
reimplementing it.
2006-04-24 10:54:45 -07:00
Eric Anholt
47bd905943
Merge branch 'lukas-resume'
2006-04-24 10:36:24 -07:00
Alan Hourihane
1dbb19059f
fix bug 6365
2006-04-20 10:43:19 +01:00
Dave Airlie
729c373121
move sdvo output setting
...
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-20 13:34:55 +10:00
Dave Airlie
0ba7b13fb4
fix type 0 instead of O
2006-04-20 12:29:06 +10:00
Dave Airlie
2991d81a3b
correct height parameter in sdvo packet
2006-04-20 12:27:47 +10:00
Dave Airlie
b5f099e03a
cleanup sDVO for device on C only
...
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-20 09:50:36 +10:00
Eric Anholt
2909802de6
Clean up SDVO initialization, include config.h, and make it check the right
...
slave address on the first device as well. This gets me to the point of
bringing up some modes on my device.
2006-04-19 16:29:06 -07:00
Lukáš Hejtmanek
32a0ad570d
Add more registers to save/restore. Save/restore palette as well
2006-04-19 19:43:45 -03:00
Eric Anholt
132dc0599c
Whine if SDVO I2C device init fails, rather than be silent.
2006-04-19 15:04:17 -07:00
Eric Anholt
88bb4b5788
Add more SDVO code. It's taken from airlied's driver, but with magic numbers
...
replaced by symbolic names in many places. I tried to restrain myself from
functional changes in airlied's code in this pass.
2006-04-19 14:23:45 -07:00
Eric Anholt
d8f7dfac76
Start bringing in some SDVO code, mostly from airlied.
2006-04-19 10:45:13 -07:00
Eric Anholt
a371a04a57
Use the IS_I9XX macro intead of >= i915G, since by PCI ID number, 855GM > 915.
2006-04-17 14:10:50 -07:00
Eric Anholt
33413a3cf3
Remove some dead code and one particularly useless debug printf.
2006-04-17 13:42:57 -07:00
Ian Romanick
a85be82003
Add missing new-line character in log message.
2006-04-17 12:52:30 -07:00
Eric Anholt
365b4a53ee
Disable the BIOS dump-to-file since it's a trivial local DOS, and I can just ask
...
people to turn it on and recompile when I need to.
2006-04-17 01:12:28 -05:00
Eric Anholt
ee7be006b6
Bug #6589 : Use alternate offsets to successfully get at the panel data for
...
some broken video BIOSes.
2006-04-16 13:13:42 -05:00
Eric Anholt
786ee3df17
Add a standalone program for parsing VBT.
2006-04-16 13:05:35 -05:00
Eric Anholt
62652127cd
Check for LVDS BIOS tables exactly once at startup. While there, dump the BIOS
...
data to /tmp/xf86-video-intel-VBIOS, for offline debugging.
2006-04-15 12:16:46 -07:00
Alan Hourihane
830fa81792
fix typo
2006-04-12 21:55:31 +01:00
Alan Hourihane
3c9bc19db6
fix typo
2006-04-12 21:54:50 +01:00
Eric Anholt
d6edffee7d
Initial support for pre-i915 PLL programming. Untested.
2006-04-12 13:13:27 -07:00