summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-27radeon: clean up DP codeAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-26fixes displayport for me hereDave Airlie
2009-11-26displayport: cleanup call dp from dpms on instead.Dave Airlie
2009-11-20dp fix timingAlex Deucher
aux channel atom command table delay is 10 usec units this gets the link training working, but alas, no image.
2009-11-19DP: hack that makes DP work.Alex Deucher
Something's wrong with the status check.
2009-11-19wipAlex Deucher
2009-11-19DP wipAlex Deucher
- use coherent - fix up lane/clock numbers
2009-11-18more dp cleanupAlex Deucher
- clean up handling of linkb, etc. - add support for ATOM_TRANSMITTER_ACTION_SETUP_VSEMPH to existing transmitter control function - fix lots of warnings
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-17kms: check for 0 mask for cloned outputs.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-17kms: add cloning support.Dave Airlie
We have to translate from the kernel encoder cloning to the randr connector cloning, we do this by constructing an encoder mask per output and an encoder cloning mask per output then comparing them. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-16r600: remove un-needed format conversionsAlex Deucher
we do the normalization and xforms in the vertex shader. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-16r600: fix num format in vtx fetchAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-12radeon: man page updatesAlex Deucher
2009-11-11radeon: fix support for external tmds on some legacy chipsAlex Deucher
Should fix bug 11801. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-09r600/r700: typo, fix mask of DB_ALPHA_TO_MASKAlex Deucher
noticed by glisse.
2009-11-09IGP: some IGP chips report as AGPAlex Deucher
Set bus type appropriately. fixes bug 25002 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-05radeon: properly fix unused label warningsAlex Deucher
2009-11-05Revert "Fix warning about unused defined labels in radeon_exa_funcs.c."Alex Deucher
This reverts commit b6ac42cce2156880ac18b32e15acbff40b2f53e9. This patch is very broken.
2009-11-05Fix warning about unused defined labels in radeon_exa_funcs.c.Tomáš Chvátal
Signed-off-by: Tomáš Chvátal <scarabeus@gentoo.org>
2009-11-05EXA: fallback if no pMaskPicture->pDrawableAlex Deucher
A solid or gradient mask could be used for blending the source picture onto the destination picture. Fixes fdo bug 24838 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-11-04ATOM/DCE3+: fix up usPixelClock calculation for Transmitter tablesAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-01radeon/atom: fix tv-out on r5xxAlex Deucher
fixes bug 24796 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-27ATOM: fix up DVO for DCE 3.xAlex Deucher
AdjustDisplayPll takes care of this for us.
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-27atom: loosen pll min output limitsAlex Deucher
Limiting the pll output range is a good thing generally as it limits the number of possible pll combinations for a given frequency presumably to the ones that work best on each card. That's why the limits are in the bios tables. However, certain duallink DVI monitors seem to like pll combinations that would be limited by this at least on pre-DCE 3.0 r6xx hardware. This might need to be adjusted per family or per clock range in the future. Fixes fdo bug 24727. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-24Disable color tiling on r600/r700Luca Tettamanti
Not supported yet.
2009-10-23radeon: clamp the internal FB map to the aperture size v2Alex Deucher
We don't use the invisible memory yet and on cards with large amounts of vram this can cause the top of GART calculation to overflow. Fixes bug fdo bug 24301: http://bugs.freedesktop.org/show_bug.cgi?id=24301 v2: only clamp cards with more than 512 MB. This seems to cause problems on some older cards due to the way the drm and ddx set up the internal memory map.
2009-10-22R7xx: program additional CUR/GRPH regs for 40 bit addressesAlex Deucher
The *_HIGH regs are reversed. The secondary ones are in the primary block and vice versa.
2009-10-22ATOM: use indirect addressing for regs >= 0x10000Alex Deucher
2009-10-21ATOM: fix up get clock infoAlex Deucher
Newer revisions of the atom firmware table have changed. This helps select better pll dividers in some cases. Noticed by Mathias Froehlich.
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-13radeon: add XV_CRTC attribute for textured videoAlex Deucher
This attribute allows the user to override which crtc is synced with when XV_VSYNC is enabled. This is useful for clone modes where the user can might want to override the default.
2009-10-12ATOM: minor cleanups to pll setupAlex Deucher
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-09r600 EXA: fix up mask reg mixupAlex Deucher
2009-10-09r600 EXA: fix some compile warningsAlex Deucher
2009-10-09r600 EXA: properly check planemaskAlex Deucher
We only support per-component masks.
2009-10-09Revert "radeon: clamp the internal FB map to the aperture size"Dave Airlie
This reverts commit 5f846360c46f5a989f5d0fde6d251cdbd61d4968. Numerous reports of system hangs since this, I'm guessing some sort of conflict with the drm memory setup. This code has always been fragile between kernel/userspace drivers.
2009-10-09Revert "kms: setup colormap and gamma correctly."Dave Airlie
This reverts commit 60d9685abddccec17c1a9a5ec48cbe9c92543e0f. which breaks colormap on 1.6 X server Conflicts: src/drmmode_display.c
2009-10-09kms: don't use scratch pixmaps at allDave Airlie
use our own wrapper to allocate a pixmap for wrapping a bo in.
2009-10-09drmmode: reload cursors on modesetDave Airlie
2009-10-07ATOM: rework crtc modesetAlex Deucher
- clean up tv timing handling - unify SetCRTCTiming and SetCRTCDTDTiming interfaces
2009-10-07ATOM: reorder crtc dpms based on bios recommendationsAlex Deucher
2009-10-07ATOM: add support for AdjustDisplayPll tableAlex Deucher
Depending on the output and clock, this table will adjust the pixelclock accordingly.
2009-10-07radeon: clamp the internal FB map to the aperture sizeAlex Deucher
We don't use the invisible memory yet and on cards with large amounts of vram this can cause the top of GART calculation to overflow. Fixes bug fdo bug 24301: http://bugs.freedesktop.org/show_bug.cgi?id=24301
2009-10-07radeon: fix rotation since mixed pixmaps.Dave Airlie
Passing null in here stops the mixed pixmap code doing it wrong, but I'm not 100% sure how it is meant to work, we have the same issue with the real front bo by the looks of it.