summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-12-20RADEON: check for xf86_crtc_clip_video_helper() in configure.acAlex Deucher
use xf86_crtc_clip_video_helper() from the server if available.
2007-12-19Fix RN50 mode filtering.Adam Jackson
The old code would attempt to limit the maximum pixel size of the screen by limiting the maximum PLL frequency. This ends up confusing the PLL computation code since sometimes your maximum freq can be lower than your minimum freq. More to the point it's just wrong, maximum PLL frequency isn't the same thing as maximum pixel clock, and even that isn't the same thing as maximum scanout pixels per second. The correct thing to do is filter by the mode's effective memory bandwidth.
2007-12-19Merge branch 'master' of ↵Alex Deucher
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
2007-12-19RADEON: skip empty connectors when creating outputsAlex Deucher
2007-12-19RADEON: add support for legacy radeons with DVI and no connector tableAlex Deucher
2007-12-18RADEON: fix fd leak in lid detect codeArkadiusz Miskiewicz
2007-12-18RADEON: more cleanups and warning fixesArkadiusz Miskiewicz
2007-12-18RADEON: driver cleanups, warning fixesArkadiusz Miskiewicz
2007-12-17RADEON: typo from last commitAlex Deucher
2007-12-17RADEON: add output enable masksAlex Deucher
add output enable masks for outputs that drive more than one connector. Make sure we don't turn off an output that's driving another connector.
2007-12-17RADEON: whitespace clean-upsAlex Deucher
2007-12-17RADEON: more PLL fixesAlex Deucher
- reduce the calculation accuracy - certain LVDS panels seem to only like certain ref_divs - add pll flags to handle special cases - adjust the pll limits on legacy cards
2007-12-16RADEON: Make sure LVDS_EN bit is set when enabling LVDSAlex Deucher
2007-12-15radeon: Default to 1x again with non-v3 AGP cards.Michel Dänzer
Seems more reliable in general than what was set up by firmware - fingers crossed...
2007-12-15radeon: Warning fixes.Michel Dänzer
The lid detection code probably wouldn't work on other non-x86 platforms though...
2007-12-14RADEON: Fix the vertex coordinates for transformed picturesFredrik Höglund
This partially fixes transformed pictures on R100/R200 based cards. The texture still doesn't appear to be clamped correctly, but since that doesn't matter for rotations at perpendicular angles, I'm committing this now so randr rotation and reflection will work properly.
2007-12-14RADEON: Fix PLL set up on certain notebooksAlex Deucher
Some LVDS panels require specific PLL dividers as specified in the bios tables. Make sure to use them if the output is LVDS.
2007-12-14RADEON: select fb_div0 for LVDS on RV410 (x700) mobilityAlex Deucher
Fixes bug 8038 I wonder if desktop RV410 need a similar fix. If your x700 laptop panel has problems after this let me know.
2007-12-12RADEON: only enable vblanks if we want themAlex Deucher
should fix bug 13610
2007-12-12RADEON: use /proc/acpi to determine lid statusAlex Deucher
Linux only
2007-12-12RADEON: fix cursors when using rotationAlex Deucher
allocate separate cursor buffers for each crtc
2007-12-11sparse fixes and cleanups from arekmArkadiusz Miskiewicz
2007-12-11RADEON: rewrite PLL computationAlex Deucher
Algorithm adapted from BeOS radeon driver with some tweaks by me. Actually calulate and use the reference divider rather than using the bios default. Also, always calculate the PLL, rather than falling back to bios dividers. This should fix bugs 12913, 13590, 13533, possibly others.
2007-12-10RADEON: only update crtc values when RMX is activeAlex Deucher
2007-12-10RADEON: bios PLL cleanupAlex Deucher
2007-12-07radeon: Use %u instead of %d for unsigned value.LisaWu
2007-12-07radeon: Use gettimeofday instead of xf86getsecs.Michel Dänzer
2007-12-04RADEON: add MacModel imac-g5-isight for iMac G5 iSightAlex Deucher
Thanks to Étienne Bersac for helping to figure this out.
2007-12-04RADEON: fix typoÉtienne Bersac
2007-12-02radeon: Further XVideo fixes.Michel Dänzer
* Make sure pitch constraints are always met for DMA upload blits. * RGB24 is not affected by endianness.
2007-12-02radeon: Fix crash with XVideo 24bit RGB images.Kusanagi Kouichi
See https://bugs.freedesktop.org/show_bug.cgi?id=13274 .
2007-12-02Fix build against xserver master.Michel Dänzer
(DE)ALLOCATE_LOCAL are gone.
2007-12-01RADEON: add options for force TV out as detected and to set TV standardAlex Deucher
Also fix a typo in internal tv-out parsing
2007-11-30RADEON: rework MacModel optionAlex Deucher
this brings in some previous research from Michel Dänzer, Sjoerd Simons, and myself. Hopefully, the driver will pick the correct MacModel in more cases. This also changes the default connector table for desktop Macs to dual DVI rather than DVI+VGA as that seems to be the case more often than not. External TMDS chips are handled separately now as well. Eventually we should add an option to allow the user to specify what external TMDS chip they need, but we don't have enough info yet, so we'll rely on OF to init the external chip in most cases for now.
2007-11-29RADEON: add MacModel "mini-internal" for minis with internal TMDSAlex Deucher
Some macs (minis and powerbooks) use internal tmds, others use external tmds and not just for dual-link TMDS, it shows up with single-link as well. Unforunately, there doesn't seem to be any good way to figure it out.
2007-11-26RADEON: fix backlight control on some laptopsArkadiusz Miskiewicz
It seems the bios scratch regs are involved in backlight control on some laptops. This patch fixes the problematic laptops and doesn't seem to break the previous bios lid and output control fixes.
2007-11-26RADEON: only return status unknown for XPRESS chipsAlex Deucher
this seems to cause more issues than it attempted to fix so limit it to XPRESS chips for now.
2007-11-22radeon: fix openoffice/render bug on r100 chipsAdam Jackson
2007-11-22Revert "Disable RENDER acceleration by default on some RV200 chips."Dave Airlie
This reverts commit 145da701bf4fb9c0ad9f95620b20914ae0126852. pull in fix from ajax next commit
2007-11-22Disable RENDER acceleration by default on some RV200 chips.Stefan Dirsch
Novell Bug #341699: Render acceleration is known to be broken on at least "Radeon 7500 QW" and "Radeon Mobility M7 LW".
2007-11-22really do not set up surface regs for depth buf on r100-class igps (bug #13080)Roland Scheidegger
fix the if condition testing for these chips...
2007-11-20radeon: restructure pci ids to avoid effort laterpci-rehashDave Airlie
This uses a single file with all the pciids and parameters for radeon family and setup in it. I don't run the perl script at build time to avoid a perl dependency on build but adding pci ids should be done via the csv file with openoffice or gnumeric if possible.
2007-11-15RADEON: set proper defaults for tv dac BGADJ/DACADJAlex Deucher
we should get these values from the bios tables, but for now use some reasonable defaults. This should fix the washed out color problems on bugs 1082 and 12844.
2007-11-15RADEON: Make sure we set the MT properly for connected status unknownAlex Deucher
2007-11-13ignore sometime bogus agp_mode bit from chip (bug #13190)Roland Scheidegger
bit is wrong on at least X700 cards with rialto pcie-agp bridge chip, should be safe to use just the bit from the bridge hopefully to make agp setup work on these cards and not adversely affect others.
2007-11-05radeon: Use indirect register access for (un)hiding the cursor.Michel Dänzer
This avoids hangs that occur when touching these registers while the card is busy with some cards.
2007-11-05radeon: Fix build warning on powerpc.Michel Dänzer
2007-11-05Revert "radeon: Reinstate sync in radeon_crtc_show/hide_cursor."Michel Dänzer
This reverts commit 0241cac643fa1c08a45ea44f5c670b290e760ad8. Taking the DRI lock in paths called from the SIGIO handler isn't safe. For example, the SIGIO handler may be called while the lock is held by an AIGLX context, resulting in deadlock. See e.g. https://bugs.freedesktop.org/show_bug.cgi?id=13005 .
2007-10-28Fix typo in 'disposing cursor'Brice Goglin
Bug #12984.
2007-10-27RADEON: disable FP DETECT for DVI.Alex Deucher
These bits don't seem to be reliable or routed right in all cases.