summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.h
AgeCommit message (Collapse)Author
2010-03-01Rename the xf86 screen private from pScrn to scrn.Owain G. Ainsworth
(cherry picked from commit af27a3a0a5645c6f41f583611bd0f2559dc7cb2f) Conflicts: src/i830.h src/i830_accel.c src/i830_batchbuffer.c src/i830_display.h src/i830_driver.c src/i830_memory.c src/i830_video.c
2009-04-21Staticize a bunch of functions and variables in the driver.Eric Anholt
This cleans up findstatic.pl output for the i830+ code, which resulted in removing some code. The only odd part of this commit is the if (0) i830_sdvo_dump() in i830_sdvo.c -- it tells the compiler that the code is used, without using it since we want the code around while debugging. It's also in a likely place to ask for the dump, so I think it's OK.
2008-06-19Automatically detect the presence of HDMI.Eric Anholt
Now, SDVO is only probed if the SDVO detected bit is set. If the SDVO probe fails, but the detect bit is set, assume that it's an HDMI output.
2006-10-31Move output connection detection to a per-output method.Eric Anholt
This will be used by RandR, and should let us clean up some of the initial display configuration, hopefully. Also, analog hotplug-based detection is now enabled on G965.
2006-10-25Clean up the SDVO code.Eric Anholt
The main change is to send SDVO commands using data passed into the send command function, and receive responses into memory passed into the read response function, rather than stuff things in/out through dev_priv->sdvo_regs. This lets us use structures to represent some arguments, which results in a nice cleanup (and 100% fewer arguments named magicN as a side effect). Also, the mode set path is changed to not do any preferred input timing work. We weren't doing anything legitimate with the results, since we didn't modify the CRTC timing appropriately, so now we just stuff the CRTC timing into both and hope for the best. This should probably be revisited later.
2006-10-25Clean up SDVO code, moving the private structure internal and cleaning up caps.Eric Anholt
All the SDVO code should now be in lower case rather than StudlyCaps. This also adjusts the I2C setup to create a bus per SDVO output we set up. The previous setup with shared buses was failing in some circumstances, which is probably due to the lack of refcounting in xf86i2c.c.
2006-10-09Move per-output mode setting code to per-output methods.Eric Anholt
This is not a very clean interface, as a number of outputs require tweaks to the DPLL registers. When possible, the DPLLs are just adjusted in the per-output post_set_mode, which happens just after the DPLL is enabled. However, this seems better than the previous method of having all outputs programmed in the same function.
2006-10-05Give each output type an init method in its file, making other methods static.Eric Anholt
2006-10-04Move the save, restore, and DPMS per-output settings to per-output files.Eric Anholt
2006-06-26Major cleanup of mode reprobing:Eric Anholt
- Don't mess with pScrn->monitor->Modes, and instead make our own availModes. - Don't re-program the pipe with the same values (no flicker at xrandr) - Move a bunch of stuff that should be exposed through the public API (probably) to i830_xf86Modes.c - Use a table with established modes plus GTF to come up with modes from EDID, instead of trying to walk and find one in pScrn->monitor->Modes. I think this is correct. - Reset clone state if we've detected new pipes, which should turn on the cursor.
2006-06-21Detect SDVO display presence at startup and default to displaying to it, too.Eric Anholt
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-04-24Start trying to save/restore SDVO state on VT switches.Eric Anholt