summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-06Revert "KMS CS fixes."Dave Airlie
This reverts commit 11cf8a28eb46f48d101888552266921bee8b63fc. I'll bring this back in a few minutes, I've got a big change introducing a new cs space accounting scheme which this messes up and I think probably conflicts with what I've done. I promise i'll go over this and pick the bits that are still useful :)
2009-07-05KMS CS fixes.Michel Dänzer
* Flush CS before running out of space. * Don't flush CS every time when switching between 2D and 3D engine, but make sure to re-initialize 2D/3D state after flushing. Doesn't seem quite perfect yet (some rendering seems to get dropped on the floor sometimes), but this should fix a lot of CS failures people have been seeing.
2009-07-03radeon: don't set up overlay under KMS until we figure out how.Dave Airlie
2009-07-02Test BO pointer before passing it to radeon_bo_unref().Michel Dänzer
2009-07-02Warning fixes.Michel Dänzer
2009-07-02radeon: fix up configure check betterDave Airlie
2009-07-02radeon: fix it properly.Dave Airlie
I blame the flu
2009-07-02radeon: fix compile without kmsDave Airlie
2009-07-02radeon/dri2: fix dri2 - needs newest libdrm_radeonDave Airlie
2009-07-02radeon/dri2: call proper gem bo functionDave Airlie
2009-07-02radeon/kms: add textured video BO size checksDave Airlie
2009-07-02kms: drop DGADave Airlie
2009-07-02radeon: fix CS imbalanceDave Airlie
2009-07-02radeon: enable KMS buildDave Airlie
2009-07-02radeon/kms: fixup 3d state emission for KMSDave Airlie
This fixes font rendering under KMS (should have looked at dmesg)
2009-07-02kms: no need to reference fifo slotsDave Airlie
2009-07-02radeon: add KMS support (still disabled)Dave Airlie
This adds DRI2 + KMS + driver pixmaps support to the driver. I've decided to just do a completely separate KMS driver file instead of hacking the crap out of radeon_driver.c. So now I do the KMS check in radeon_probe.c time and set the DDX pointed up to a completely different set at this stage. This avoids a lot of if (kms) type crap in the code at the expense of making sure we make changes to both files if necessary. This code is still disabled in configure.ac as I broke EXA composite rendering somehow in KMS mode
2009-06-30EXA: fix the build on servers without EXA_HANDLES_PIXMAPSAlex Deucher
2009-06-30Warning fixes.Michel Dänzer
2009-06-30radeon: initial preparation for kms patch.Dave Airlie
This patch contains most of the changes to the EXA and texture video accel code. It adds a few bits of pixmap support but doesn't actually do anything useful KMS yet. Testing this should not have any regressions over what we have already, biggest worries are r6xx, I've fixed a textured video one, but no idea what other might lurk It won't build against libdrm radeon yet either
2009-06-29Check if the composite op is supported in R200CheckComposite.Fredrik Höglund
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-28R6xx/R7xx: fix pixel centersRoland Scheidegger
Make sure we are using GL mode (centers at 0.5) rather than D3D mode (centers at 0.0). This also fixes fdo bug 21963.
2009-06-28Add some missing M96 pci idsAlex Deucher
fixes fdo bug 22404
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-06-19Revert "Build fixes for -Werror that aren't ready for prime time yet."Michel Dänzer
This reverts commit ab20ea1530ec8a3a9fd4089775c4e157e50fe1bf. Whoops, pushed wrong branch...
2009-06-14Build fixes for -Werror that aren't ready for prime time yet.Michel Dänzer
2009-06-13Add quirk for asus hd3450 boardMarkus Gapp
Fixes bug 22266
2009-06-12Fix count in 3d state setup after 43374c7420e378918bec062f4cbd581f16adb6f0Alex Deucher
2009-06-11Only enable frac fb divs on rs600/rs690/rs740 for nowAlex Deucher
fixes bug 21413
2009-06-11Re-enable frac feedback dividers on AVIVO hardwareAlex Deucher
Preferring a freq <= target frequency seems to fix the previous issues with frac fb divs. Appears to work fine on all hardware I've tested on. See fdo bug 22229 for details. Should fix bugs: 22229, 21553, 21413, and possibly other ones related to unstable images at certain resolutions.
2009-06-11Add PLL flag to prefer frequencies <= the target freqAlex Deucher
This appears to be needed when using fractional feedback dividers. Based on a patch from Tom Hirst. See fdo bug 22229 for more details.
2009-06-09r1xx/r2xx: clip 3D rendering to destination bufferAlex Deucher
2009-06-09Consolidate indentical RADEONDoneSolid/RADEONDoneCopy functionsAlex Deucher
2009-06-09r3xx/r4xx/r5xx: clip 3D rendering to destination bufferAlex Deucher
2009-06-09r3xx/r4xx/r5xx: refactor exa prepare compositeAlex Deucher
- consolidate code duplicated between r3xx/r4xx and r5xx - make pixel shader setup easier to read and less redundant
2009-06-08R6xx/r7xx: don't clamp tex coords in composite VSAlex Deucher
Fixes broken repeat modes. see fdo bugs 21818, 22139
2009-06-04Add link to patch submission instructions to READMEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-04atom: connector quirkAlex Deucher
Some r6xx cards have a VGA and an HDMI port with a shared ddc line listed as an HDMI port with both analog and digital encoders. Fixes bug 19943
2009-05-29Add RV740 (HD4770) supportAlex Deucher
Verified by ernstp on IRC
2009-05-27radeon: remove dead codeAlex Deucher
2009-05-26R3xx/R4xx: increase EXA render target limitsAlex Deucher
now that we are using 1/12 subpixel mode
2009-05-26radeon: fix segfault if Option "NoAccel" is setMatthieu Herrb
2009-05-23Bump version to mark Git snapshot.Michel Dänzer
The fourth version component isn't visible in the log file.
2009-05-19Pre-atom: Improve engine clock setup codeAlex Deucher
Also remove SetMemoryClk() for pre-atom cards for now as it requires quite a bit more asic specific work. To set the mclk we'll need to use the mem reset/dll tables in the bios.
2009-05-18EXA: Set new EXA_SUPPORTS_OFFSCREEN_OVERLAPS flag when we have a 2D engine.Michel Dänzer
2009-05-18r4xx: Add some missing pci idsAlex Deucher
Noticed by Romain in bug 21798
2009-05-15R100: switch to normalized texture coordinatesAlex Deucher
for consistency with the other asics