summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
AgeCommit message (Collapse)Author
2012-05-02radeon: add MacModel entry for SAM440ep embedded boardAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2012-02-24Fix ConnectorTable crash in radeon_output.cHans Verkuil
The sam440ep PPC board requires a ConnectorTable xorg.conf option, but putting in that option causes the radeon driver to crash. I finally traced it to a copy-and-paste bug in radeon_output.c as a result of a major rework in commit 82f12e5a40c1fbcb91910a0f8b725c34fff02aae. The actual crash occurred in RADEONPrintPortMap(). Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-25UMS: Fix build against xserver 1.10-rc3Sedat Dilek
This issue was introduced due to last minute backout of RandR-1.4 in xserver 1.10-rc3. Switch to "#ifdef RANDR_14_INTERFACE" as suggested by Keith Packard. See also <http://lists.x.org/archives/xorg-devel/2011-February/019643.html>. Note: The ddx needs a rebuild as the X video driver ABI changed to version 10.0. Reported-by: Alex Deucher <alexdeucher@gmail.com> CC: Keith Packard <keithp@keithp.com> Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
2011-02-05UMS: fix spelling in error messageAlex Deucher
Noticed by: Warren Block <wblock@wonkity.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-05UMS/DCE3.2: fix segfaultAlex Deucher
atombios_pick_dig_encoder() needs to be called with a valid crtc assigned. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-31UMS: Slightly improve xserver version check.Michel Dänzer
This will ensure the xserver definitions necessary to compile the new code are there. xf86CrtcSetMode will be unresolved at runtime with a few xserver commits, but I'm afraid this is the best we can do. See https://bugs.freedesktop.org/show_bug.cgi?id=33719 .
2011-01-27ums: fix build against xserver >= 1.10Alex Deucher
xf86CrtcSetMode was removed in: http://cgit.freedesktop.org/xorg/xserver/commit/?id=8b35118c03590a7ad3786d3284bafb3f40fcb8cc
2010-10-08ATOM DDC fixes for UMSAlex Deucher
- Header size was already subtraced from table size - Only hw capable ddc pads are shared with aux
2010-09-07radeon: set interlaced and doublescan enabled for randr outputsAlex Deucher
interlaced used to work without setting these parameters. Changes in the xserver seem to require them now. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=29591
2010-08-19DCE3+: switch pads to ddc mode when doing i2cAlex Deucher
The pins for ddc and aux are shared so you need to switch the mode when doing ddc. The ProcessAuxChannel table already sets the pin mode to DP. This should fix unreliable ddc issues on DP ports using non-DP monitors. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-10dce32: remove rmx workaroundDave Airlie
2010-08-10atombios: fixup set crtc source like KMSDave Airlie
This removes a bunch of strict aliasing warnings and fixes the codepaths up like the latest KMS code, including a workaround for a bug on evergreen.
2010-06-21Convert x(c)alloc/xfree to m/calloc/free.Michel Dänzer
Fixes deprecation warnings with xserver master and should also work with older xservers.
2010-03-30Add support for MacModel autodetection on OpenBSD.Owain G. Ainsworth
This allows radeon-equipped macs to work without an xorg.conf on openbsd. Patch originally written by Mark Kettenis (kettenis@openbsd.org)
2010-03-26radeon: add support eDP connectors with and LCD device tagAlex Deucher
should fix fdo bug 27322
2010-03-26radeon: fix name string for eDPAlex Deucher
2010-02-23radeon: fixes for zaphodheads optionAlex Deucher
Needed for systems with more than two outputs. Both KMS and non-KMS zaphod work on systems with more than two outputs now.
2010-02-01evergreen: add atom support for digital outputsAlex Deucher
analog is already supported by the existing code.
2010-02-01evergreen: add base asic supportAlex Deucher
2010-01-28radeon: clean up dig encoder handlingAlex Deucher
- switch the var name to dig_encoder - quiet coherent messages - clean up dig encoder selection Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-01-28radeon: add support for picking the digitial encoderDave Airlie
Testing on a W500 laptop found the LVDS + DisplayPort would conflict over the choice of digital encoder, and only one would work. This patch fixes the DCE3 case where LVTMA requires the second digital encoder and lets DP/DVI use the first in most cases. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-14displayport: fix DDC on DVI->DP convertors.Dave Airlie
Seems we have to not do auxch DDC if we aren't talking to a DP sink.
2010-01-11rv100: fix typo in fix for bug 25992Alex Deucher
Noticed by Maarten Maathuis.
2010-01-11rv100: reject modes >135 Mhz with DVIAlex Deucher
Due to heat issues. fixes bug 25992 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-01-07radeon: fallback to i2c for edid if aux failsAlex Deucher
In case of a DP->DVI adapter for example.
2010-01-07radeon: add initial support for eDP (embedded DisplayPort)Alex Deucher
Should fix fdo bug 25931
2009-12-02Merge remote branch 'origin/displayport'Dave Airlie
2009-11-27radeon: clean up DP codeAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-26radeon: fix typo in unused as of yet CV codeDave Airlie
2009-11-26displayport: cleanup call dp from dpms on instead.Dave Airlie
2009-11-18radeon: pull previous displayport work into masterAlex Deucher
2009-11-17radeon: deal with connectors sourced to the same encoderAlex Deucher
Some systems have multiple connectors connected to the same encoder; e.g., DVI and HDMI connected to the same encoder with the same ddc line. Since we expose connectors as xrandr outputs, randr treats them separately which results in it trying to source the same encoder to different crtcs. If we have an HDMI and DVI-D port on the same encoder, pick the one to be considered connected based on the edid (HDMI if edid indicates HDMI, DVI otherwise). Also, don't turn off (dpms) encoders that are shared. Fixes fdo bug 21767. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-17radeon: fix potential memory leak in ddc codeAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-05DCE3+: call transmitter init on mode setAlex Deucher
Generally this is done at post, but might not always be done with softboot or for connectors on docking stations. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-27radeon: fix DVO on AVIVO chipsAlex Deucher
DVO generally requires 2x ppll on AVIVO cards due to the way the tmds chip is wired up. Because of this, disable cloning of DVO outputs. fixes fdo bug 21857. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-18radeon: fixup CustomEDID optionAlex Deucher
- add support for analog option to force edid to analog mode - fix compilation on older xservers - updated man page
2009-10-09Fix some issues with CustomEDID supportCsillag Kristof
- Fixes a memory allocation problem introduced with the previous version of the CustomEDID patch (now in GIT), and - Enhances the syntax of the CustomEDID option so that I can force digital output, even if the EDID was acquired over an analog link.
2009-10-07ATOM: rework crtc modesetAlex Deucher
- clean up tv timing handling - unify SetCRTCTiming and SetCRTCDTDTiming interfaces
2009-10-04radeon: add support for Custom EDIDCsillag Kristof
Allows you to specify an edid per output from a file to override what is detected by DDC. Useful for problematic monitors or KVM switches that block DDC. Specifying an EDID that is not compatible with your monitor could damage your monitor so use with caution. agd5f: cache the custom edid at startup so we don't have to read it from file every time the output is queried.
2009-08-17radeon: move detected monitor type debugging.Dave Airlie
We should print this after DAC detection to be useful for TV
2009-06-28radeon: call hdmi-b connectors dvi in randrAlex Deucher
Technically HDMI-B is a glorfied DL DVI, but this is confusing to users, so call it DVI when reporting randr outputs. This allows us to remove two quirks where the bios was actually correct.
2009-06-25Add a (harmlessly) missing break statement.Adam Jackson
2009-06-25Cosmetic cleanup to digital output detectionAdam Jackson
No functional change, but this logic would need extending anyway for DisplayID, so unify it now.
2009-06-24atom: Fix phantom VGA connector when HDMI-B present.Adam Jackson
HDMI-B is really a glorified DL-DVI connector, the analog pins work fine.
2009-05-03r2xx-r4xx: fix typo in last i2c fix and clarify hw i2c pin selAlex Deucher
2009-04-30AVIVO: first pass at display watermark setupAlex Deucher
This helps with flickering and blanking when there is contention for MC bandwidth.
2009-04-23r2xx/r3xx/r4xx: further i2c fixupsAlex Deucher
- hw i2c engine has pin selection on r2xx/r2xx/r3xx chips - also switch hw i2c pin sel for external tmds
2009-04-17radeon: tweak ddc fix for all r300s.Dave Airlie
Alex seems to think this might affect some other chips
2009-04-17radeon: fix DDC on rv410 VGA ports for non-atom use.Dave Airlie
The rv410 hw i2c block appears to hold down whatever i2c lines it is connected to when in reset, so when doing DDC change hw i2c to point at different i2c lines.
2009-04-16Revert "DCE3/3.2: cleanup dpms after previous changes"Alex Deucher
This reverts commit f8c7d6a6162196a743f6885ecaf63ba50de1722a. This is apparently still needed for some setups, however, I can't reproduce this locally anymore.