summaryrefslogtreecommitdiff
path: root/src/radeon.h
AgeCommit message (Collapse)Author
2007-03-04radeon: add option to set pci aperture size from config fileDave Airlie
This requires a drm > 1.26 to work
2007-02-16Add "DRI" optionAlex Deucher
This option allows you to disable the DRI per card. It also removes the "RN50Force3D" option as it is now covered by this option. RN50 users should set this to TRUE if they want to force the DRI on.
2007-01-30add option to force the DRI on for RN50 chipsAlex Deucher
Allow user to force the DRI on for RN50 chips. 3D is not guaranteed to work on these chips, however in some cases it does. fixes bug 9802.
2006-12-08radeon: avoid unnecessary OUTPLL/INPLL calls when displaying videoRoland Scheidegger
It is not necessary to always emit a OUTPLL/INPLL pair when we display a video frame. On some chips there are erratas for which the workarounds cause a 10ms delay by those calls. This is related to #5876 though those affected may suffer from other slowness issues too.
2006-12-07radeon: Make cache flushing for R300 series less invasive.Michel Dänzer
Instead of calling the DRM CP idle ioctl, just emit the cache flush commands into the CP stream.
2006-12-03move crtc to connector mapping to a connector to crtc mapping.Dave Airlie
Still not allowing any clone modes, but heading in the correct direction I hope... there is a chance this will regress something from superpatch..
2006-12-03radeon: dynamically allocate connectorsDave Airlie
2006-12-02make CRTCs malloc'ed rather than part of EntDave Airlie
This is leading towards randr-1.2 believe me :-)
2006-12-02move HasCRTC2 to pRADEONEnt from infoDave Airlie
2006-11-29radeon: bug #1462, predownscale to make HD video work.Roland Scheidegger
Use the overlay scaler's predownscale capability to make videos with large horizontal resolution work if it exceeds the scaler buffer width. Make the scaler buffer width user-configurable since we don't know it for all chips, and using predownscaling may otherwise reduce quality even if it wouldn't be needed. This should fix bug #1462.
2006-11-17forgot SetPitch function is calledairlied
2006-11-17split mode handling code into separate modes source fileairlied
2006-11-12radeon: separate static controller setup from non-staticDave Airlie
2006-10-22Bug #6756: Attempt to fix repeat picture acceleration.Michel Daenzer
Always use normalized texture coordinates on R200 and fall back if a POT texture pitch doesn't match the HW's implicit pitch.
2006-10-15Disable all ouputs on initial mode set. The ones we want will getAlex Deucher
enabled by RADEONEnableDisplay().
2006-10-15Remove paneloff option. This is already covered by monitorlayout andAlex Deucher
shouldn't be needed with xrandr++. Also remove commented out Bioshotkey code.
2006-10-15Remove Bioshotkeys option. Leave the bios as configured at boot.Alex Deucher
Most distros enable this option by defalt anyway, and with xrandr++ it won't be an issue anyway.
2006-10-01fix LVDS plus internal TMDSAlex Deucher
2006-09-30radeon: Add support for page flipping with EXA.Michel Dänzer
Also use the damage layer directly instead of via shadowfb and blit dirty rectangles to the second page in LeaveServer in order to try and improve the tradeoff between performance and correctness.
2006-09-25remove all CVS annotations from the ATI driver filesDave Airlie
2006-09-23radeon: add reverse display option to switch displays on non-mobility cardsAlex Deucher
2006-09-22radeon: add simple map controllers callDave Airlie
2006-09-18radeon: add tv dac adj lookupDave Airlie
2006-09-18radeon: add save/restore of some new registersAlex Deucher
move some registers about
2006-09-18radeon: restructure files along lines of Alex's superpatchAlex Deucher
2006-07-03Reserve HW cursor memory statically instead of from EXA offscreen.Michel Dänzer
As a result, quite a bit of code can be removed that attempted to deal with the EXA offscreen memory disappearing, with varying success. Because the HW cursor memory is now always immediately after the front buffer and before the back buffer, this also fixes bug #6808. As the HW cursor memory is now reserved statically with EXA and XAA, change RADEONUseHWCursor() to check info->cursor instead of info->cursor_offset, for which 0 might become valid with HW cursor enabled in the future. Change info->cursor_offset from unsigned long to CARD32 as the corresponding register is 32 bits wide, and to avoid issues with printf.
2006-06-21Bug #7283: Build fixes for !defined(XF86DRI).Michel Dänzer
Thanks to Matthieu Herrb for pointing out some of these.
2006-06-18Implement accelerated EXA DownloadFromScreen hook.Michel Dänzer
x11perf -getimage numbers only increase by about 20-30% on my PowerBook with an M9, but by about 100 times(!) with a PCIe X550. I suspect the former could perform better with PCI as opposed to AGP transfers, which would also remove the need to disable this by default with AGP.
2006-06-18Add Option "DepthBits".Michel Dänzer
This allows getting higher depth buffer precision and stencil hardware acceleration in depth 16 or saving some video RAM at the cost of these features in depth 24.
2006-06-15Fix semantic glitches pointed out by gcc -Wall.Michel Dänzer
The radeon driver builds warning-free with gcc -Wall here now.
2006-06-15fix more printf formatsDave Airlie
2006-06-15Fix some implicit function declarations.Michel Dänzer
2006-05-01Bugzilla #6755 <https://bugs.freedesktop.org/show_bug.cgi?id=6755> PatchMichel Daenzer
#5536 <https://bugs.freedesktop.org/attachment.cgi?id=5536>: Change HostDataBlit interface to take dst_offset_pitch and coordinates instead of just a destination pointer, as the latter is not sufficient with tiling. Also, use HW clipping to avoid overwriting destination data outside of the specified width. Adapt to new HostDataBlit interface. This fixes corruption with UploadToScreen to the front buffer (from exaPutImage).
2006-04-26Make the ATI driver use the PCI BAR size to determine the MMIO registerDave Airlie
aperture size. Otherwise it tries to overmap things if they are up near the end of memory.
2006-04-21Add support for backing up the PCIE GART table on VT switch. This makesDave Airlie
suspend/resume work a lot better on PCIE cards.
2006-04-01- Fix dpi when switching from clone to dualhead with MergedFB.Alex Deucher
- Add ConstantDPI option to force a particlar dpi across mode changes Both based on Thomas Winischhofer's sis code.
2006-03-22Convert use of xf86fopen() and other xf86 wrapped libc symbols to use libcKristian Høgsberg
symbols directly. The xf86* versions aren't supposed to be used directly. Drop libc wrapper; don't include xf86_ansic.h and add includes now missing.
2006-03-15Fix various issues with DRI & server recycle by putting DRICloseSreen inBenjamin Herrenschmidt
the normal CloseScreen callback chain at a spot that matches the call to DRIFinishScreenInit in order to unwrap at the right time.
2006-03-09More memory map fixes !!! This time, we add a way to get the DRM kernelBenjamin Herrenschmidt
module version early, in order to properly limit the framebuffer size when a module that doesn't support the new map is loaded. That will improve backward compatibility. I also made the minimum required kernel module version 1.3 which hopefully shouldn't be a problem for anybody, and cleaned up the ordering in which we test for DRM version to enable features
2006-03-09Update drivers that support EXA for the new EXA ABI. This consists ofEric Anholt
moving all the accel and card members into the driver ptr, filling in the exa_major/ exa_minor fields, and always using LoadSubModule so we can check the module version up front. Only tested on ATI.
2006-02-26Fix page flipping with XAA. The new code ended up calling ShadowFBInit()Benjamin Herrenschmidt
before XAAInit(), which breaks ShadowFB.
2006-02-25Add pci ids known to exist (see #4284 for instance). There are stillRoland Scheidegger
entries which probably don't really exist (cancelled cards and such), leave them as-is. Fix the name of some entries, mostly based on the .inf file of the newest catalyst driver. Use own family id for rv410 and rs400, though there is no different code (yet?).
2006-02-16Memory map and misc fixes. This completely reworks the way the driverBenjamin Herrenschmidt
detects available & accessible video memory and initializes the card internal memory map. Along the way, I re-ordered some of the stuffs in pre-init in order to remove some dodgy codepath, fixed various init, exit and vt switch issues, and overall made the driver more robust. The full memory map fix requires an updated DRM. The X driver no longer tries to position the AGP aperture, this becomes entirely DRM responsibility.
2006-01-08Bug #5523: Make radeon compile without USE_XAA. (Tilman Sauerbeck)Adam Jackson
2005-11-09Fix DoLoadableServer NO build.Kevin E Martin
2005-10-09Secure the Radeon PCIE GART tables in framebuffer memory by not allowingXORG-6_8_99_901Dave Airlie
the clients to get access to a secure area of framebuffer.
2005-09-20Only include radeon_dri.h & radeon_sarea.h if XF86DRI is defined.Alan Coopersmith
Include "compiler.h" to define __inline__ on non-gcc compilers
2005-09-17Switch radeon driver to using a card type rather than having a IsPCI flag,Dave Airlie
allow for PCI/AGP/PCIE cards. Set PCI gart allocation to only happen on PCIE cards. Add Radeon PCIE card detection using capability bits.
2005-09-12Move GART offset/size outside XAADave Airlie
2005-09-11Add support for EXA to the radeon driver. Building EXA and XAA support isEric Anholt
controlled at compile time, plus the runtime option of Option "AccelMethod" "EXA" or "XAA". The XAA support appears to remain as before, while the EXA pieces need just a little more polishing. Notable features: - Render acceleration working on Radeon 100 and 200-series with DRI on. - DRI works with EXA Notable issues: - DGA disabled in the EXA case. - Backbuffer moves disabled in the EXA case. - No textured XVideo. - MMIO render acceleration is close but still has some issues. - Memory pressure while using Composite is really troublesome with DRI on. This patch is based on an initial patch by Zack Rusin, with significant work by Benjamin Herrenschmidt and myself.