summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
AgeCommit message (Collapse)Author
2009-06-17Some cosmetics.upstream-lenny-with-frc-patchesThomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Support for HDMI 1600x1200 50Hz interlaced resolution.Thomas Hilber
- now supports HDMI 1600x1200 50Hz interlaced resolution - adjustment control now operates at lower speed which is still fairly sufficient Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2008-06-12Set SDVO sync polarity to default on 965Hong Liu
Fix fd.o bug 15766 (cherry picked from commit beb72ae5aa053303f5cc419e9c9d7c6db964f160)
2008-03-26More compile warning fixes.Paulo Cesar Pereira de Andrade
o Check for RANDR_GET_CRTC_INTERFACE before defining functions that are used only if it is defined. o Declare a variable before code, and rename it from ret to xvmc_status to better describe it. o if 0 some static functions not used. o Don't declare some unused variables. o Declare as static some functions that are used only in the file defining it. o Add a default/fallback return True to the Bool function src/xvmc/intel_batchbuffer.c:intelInitBatchBuffer(). o Ansify src/xvmc/xf86dri.c. o Add missing prototype to src/xvmc/xf86dri.h and follow pattern of other headers by adding "extern" before function prototype. (cherry picked from commit c13efdd3d6d3846078766814b57306a7519bce18)
2008-03-17Add support for new ->get_crtc output callbacksJesse Barnes
Using the new interface allows the server to avoid some flicker at startup.
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-07Avoid setting reserved bits in SDVOx on everything 965-class.Eric Anholt
This will likely fix SDVO outputs on G35 hardware.
2008-02-05Bug 10584: Mac Mini EDID data assigned to TMDS outputHong Liu
EDID data for TMDS output got from crt should be applied to TMDS output on mac mini.
2008-01-09Add new integrated graphics chipset idsZhenyu Wang
2007-12-13i830_sdvo_mode_valid: Fix return values to match what we actually check.Adam Jackson
2007-06-19Fix left G33 issuesWang Zhenyu
Be sure to check G33 chip type in: - sdvo output - Y-major tile - crt detect - and xaa composite Sorry for that I should have fixed them very earlier...
2007-06-15sdvo: add support for RGB outputs on SDVODave Airlie
This lights up my monitor VGA-1 - it doesn't look the best though
2007-05-17Make each output control clones/crtcs. Split DVO into LVDS, TMDS, TV.Keith Packard
Move clone/crtc config into each output where it's easier to understand (no need for a switch statement in I830PrepareOutputs. Also, split DVO into three sub-types (TMDS, LVDS, TVOUT) as those have different cloning abilities.
2007-04-19Use I2C delay function instead of usleep.Keith Packard
usleep isn't always available, and we have an existing delay mechanism available to use.
2007-04-18Fix return statusAlan Hourihane
2007-04-18Update read_response to include the try on PENDING statusAlan Hourihane
and remove it from get attached displays call.
2007-04-17Check for the PENDING message when reading the attachedAlan Hourihane
displays. Ensures the command has completed before continuing. (probably need to check PENDING in other SDVO calls too)
2007-04-03Move a bunch of debugging verbosity under Option "ModeDebug".Eric Anholt
2007-03-20Merge branch 'master' of ↵Wang Zhenyu
git://proxy.ims.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline Conflicts: src/i830_display.c Change LVDS output and postread like upstream. This might need to be retested on 965GM LVDS.
2007-03-18Make i830_sdvo_write_sdvox write everything twice.Keith Packard
For some reason, certain chips don't correctly enable the SDVO hardware when this register is written only once. We're following what the BIOS code does and writing it twice now, but with extra posting reads to boot. Yes, this is cult-and-paste, but it fixes problems found on deployed hardware.
2007-03-13Get SDVO DPMS working on the Mac Mini by writing SDVOB and SDVOC together.Eric Anholt
Also, add code for setting the encoder power state like the BIOS does, but this doesn't appear to work. We do much more than the BIOS does in powering things down, so perhaps that's interfering somehow.
2007-03-13Use a POSTING_READ(reg) macro instead of using the (void)INREG(reg) pattern.Eric Anholt
2007-03-13Add write posting protection for the SDVO DPMS-on path.Eric Anholt
2007-03-13Fix uninitialized string use in SDVO non-TMDS case.Eric Anholt
2007-03-05Fix 965GM SDVO by not setting fields in SDVO[BC] which have new meanings.Eric Anholt
2007-03-04Support new CRTC/Output prepare/commit hooks.Keith Packard
New hooks replace explicit invocation of DPMS functions to manage mode setting sequencing.
2007-02-01Add "Ignore" option to per-output monitor, removes output from server.Keith Packard
Setting option "Ignore" "Yes" will cause the server to pretend as if the specified output does not exist at all. It will not be listed by the RandR1.2 extension, and the server will not attempt to detect monitors at startup time.
2007-01-06More sparse cleanups:Jesse Barnes
NULL vs. 0 make some variables static remove redundant variables There are only a few sparse warnings left now: some bitfield warnings and a few 'mixing code and declarations' warnings from the ring macros.
2007-01-03Allow initial position to be set in config file. Increase 965 max size.Keith Packard
Add relative and absolute position configuration code, using per-output monitor sections. Options include: PreferredMode selects a preferred mode for this output by name Position absolute position, x and y in a single string. Below relative positions; argument names other monitor. RightOf Above LeftOf Enable force the monitor to be disabled by setting Disable enable to no or disable to yes. MinClock Set valid clock ranges MaxClock Monitor sections can also include sync ranges, physical size and mode lines as documented in xorg.conf(5). Monitors are associated with outputs through options in the Device section: Option "monitor-VGA" "My VGA Monitor" Output named 'VGA' will use monitor section "My VGA Monitor".
2006-12-30Detect in ProbeModes. Let get_modes set edid. Prune interlace/dblscan.Keith Packard
Move output connection status detection from RandR code up to ProbeModes so it is done before mode sets are built. Otherwise, the mode building code will elide all modes the first time through as it ignores outputs that are disconnected. Most get_modes functions fetch EDID data; make sure that any EDID changes are used in the ProbeModes filtering of default modes. Otherwise, stale EDID data will be used. Allow outputs to advertise support for interlaced and double scan modes; prune such modes from the default mode list when outputs do not support them.
2006-12-16Not restoring active outputs. Wait for input sync before enabling outputs.Keith Packard
Oops--looks like a typo to me; the code was callint set_target_output instead of set_active_outputs. BIOS loops waiting for the SDVO input to sync before enabling outputs, this makes sense to me.
2006-12-14Turn pll/pipe/plane on in crtc_set_modeKeith Packard
Instead of delaying pll/pipe/plane enables to the dpms function, turn them on right away in the crtc_set_mode function. To avoid rewriting these registers in the subsequent dpms function, check each register written there to see if the enable bit is already on and don't rewrite.
2006-12-13Move xf86CrtcConfig to ScrnInfo private.Keith Packard
Pull xf86CrtcConfig out of the driver private structure and allocate a ScrnInfo private index for it. Also, make the arrays of outputs and crtcs dynamic instead of fixed.
2006-12-13Rename outputs to TMDS-1/TMDS-2, LVDS, TV and VGA.Keith Packard
These names are reasonably short and describe the connector rather than the target media, but we don't appear to have any way to determine what is on the other end of the wire. More importantly, they're all unique now.
2006-12-12Write dpll_md register while updating dpll as that appears to be required.Keith Packard
SDVO multiplier on 965 is in the dpll_md register; for some reason, that needs to be written along with the dpll value or the multiplier doesn't get set correctly.
2006-12-12Correct typo in mac mini hack, and return modes when the hack is unnecessary.Eric Anholt
2006-12-12Fix mac mini SDVO output: write the SDVO[BC] enabled register state twice.Eric Anholt
2006-12-12Move the SDVO sync detection to after we've turned the port on.Eric Anholt
2006-12-12Set the SDVO port to on before sending the SDVO output on command.Eric Anholt
2006-12-12Add a hack for DDC on my Mac Mini.Eric Anholt
2006-12-06Cannot modify DPLL register in output mode_set function.Keith Packard
DPLL register contains clock setup, so it cannot be written from the output mode_set function or 'bad things' happen.
2006-12-06Merge branch 'modesetting' into nonrandr-setupKeith Packard
Also, fix buffer overflow in i830_debug.c
2006-12-06Use xf86 structures for default config instead of RandR.Keith Packard
To avoid requiring RandR 1.2 in the X server, use the xf86 Crtc and Output structures as the basis for the default configuration computation (and, eventually, the config-file based configuration as well).
2006-12-05WIP code to move mode set sequencing to XFree86 handlers.Eric Anholt
It compiles. It definitely doesn't run.
2006-12-01Fix copy'n'paste-o from restructure-outputs that resulted in crashes.Eric Anholt
Our driver private is stored in the bus that we set up, not the DDC device that xf86 code does.
2006-11-30Merge branch 'restructure-outputs' into modesetting.Keith Packard
Outputs and Crtcs now have a driver-independent representation which should permit generic code to control RandR 1.2 and startup configuration.
2006-11-27Move crtc/output config to sub-structure.Keith Packard
Place crtc/output in separate structure at head of driver private structure. Use this from the config code to make it driver-independent. Still lots of effectively driver independent code that continues to use driver dependent stuff, but that will change.
2006-11-27Postpone SDVO DDC bus creation until we've detected the SDVO device.Eric Anholt
This reduces log noise for those of us with no SDVO devices.
2006-11-27Reduce the severity of many informational log messages.Eric Anholt
2006-11-26Start output/crtc restructuring work. It compiles.Keith Packard
Outputs and Crtcs are now split between 'generic' and 'driver specific' pieces in the hope that more code will be able to migrate to the xf86-generic layer. Right now, the code remains tangled together, significant work remains to tease the pieces apart. First the code needs to be made to actually work as-is though.