summaryrefslogtreecommitdiff
path: root/src/radeon.h
AgeCommit message (Collapse)Author
2009-02-18R6xx/R7xx: fixup accel pathsAlex Deucher
2009-02-12R6xx/R7xx EXA: handle running out of vertex space in the copy pathAlex Deucher
2009-02-11R6xx/R7xx Xv: Add native support for packed formatsAlex Deucher
2009-02-09R6xx/R7xx Xv: implement native shader for planar formatsAlex Deucher
2009-02-03Initial R6xx/R7xx EXA and textured video supportAlex Deucher
2009-01-28Move encoder specific data to encoder dev_privAlex Deucher
2009-01-26Additional output cleanupAlex Deucher
2009-01-23Remove some unused cruftAlex Deucher
2009-01-19start to re-org outputsAlex Deucher
2008-12-22Merge branch 'atom-tvout'Dave Airlie
2008-12-22atombios/tv: add an option to enable atom tv-out for users.Dave Airlie
This code is still experimental but we will allow users to enable it for experimental reasons
2008-12-22radeon: setup 3D engine even when no DRI.Dave Airlie
This should fix some missing font issues in EXA without DRI cases.
2008-12-18radeon: add all new pci ids for rv730/rv710 familiesDave Airlie
2008-12-16DCE32: add support for DCE3.2 digital outputs.Dave Airlie
This adds support for the digital outputs on the RV730.
2008-12-15Remove remnants of unused DDCMode optionAlex Deucher
2008-12-10Add support for Apple eMacsAlex Deucher
Thanks to Joseph Adams for helping me sort this out. Verified on eMac G4/1.0 with radeon 7500 Later eMacs with radeon 9200 or 9600 chips may have different ddc setups. Need to verify.
2008-12-05Make VSync for EXA and Xv configurableAlex Deucher
2008-12-05Optimise RADEONWaitForVLinePierre Ossman
Only avoid the vlines we are rendering to, instead of the entire screen. This way we don't stall the card for longer than we absolutely have to. EXA calls fixed by Alex Deucher.
2008-12-04First pass at tear-free accelAlex Deucher
if the dest pixmap is the front buffer, stall the pipe until the vline is outside the active area. For EXA, pick crtc based on the larger mode area; ideally we'd have one pixmap per crtc. For Xv, use dst window area to determine crtc.
2008-12-03Make sure 3D state is emited when switching to 3D IBAlex Deucher
- fixes bug 18864
2008-12-03Only flush IB when direct rendering is enabledAlex Deucher
2008-12-02move 3d state init after RADEON_SWITCH_TO_3D()Alex Deucher
2008-11-25[PATCH] radeon: Fix PCI usage of 32-bit driver on 64-bit platformBenjamin Herrenschmidt
The radeon driver is storing PCI addresses in unsigned long's which won't work well on 32-bit platforms with 64-bit physical address space such as PowerPC 4xx. This fixes it by using unsigned long long instead.
2008-11-24Get hardcoded edid from the bios for servers that support itAlex Deucher
should fix bug 11300
2008-10-09radeon: rename radeon_memory to radeon_legacy_memory.Dave Airlie
This is a setup patch for the kms/memory management code.
2008-10-01Workaround to make initial rotation workAlex Deucher
Acceleration needs to be initialized before setting the mode for initial rotation to work. Changing the order in RADEONScreenInit() doesn't work because RADEONDRIKernelInit() hangs in the ioctl to initialize the CP if the mode is not set prior (even if the heads are turned off after setting the mode). The workaround is to set the modes twice, once before accel and once after. This needs to be looked into further.
2008-08-25Convert randr, Xv to a common allocatorAlex Deucher
2008-08-25Switch to using radeon_drm.h from the drmAlex Deucher
modelled after Matthias' similar rhd change
2008-08-25Move DRI to a separate structAlex Deucher
based on Matthias' similar work in rhd
2008-08-25Cleanups from rhd portEgbert Eich
- remove unused vars - remove static exa render vars
2008-08-25Move accel state to a separate structAlex Deucher
2008-08-25Move CP into a separate structAlex Deucher
2008-08-14PLL adjustmentsAlex Deucher
Seems higher dotclocks prefer a higher FB div. Someone with a lot of should try and find out where the div sweet spots are for various dotclock ranges. fixes bug 17125
2008-08-13Remove reset of 3D scissor registers when using the CP in the ddxAlex Deucher
They should only affect 3D and init3d() should take care of that case noticed by libv on IRC.
2008-08-08Further cleanup and unification of i2c codeAlex Deucher
- unify the ddc and i2c code - add gpio mask support for legacy chips - remove the magic gpio dance for ancient monitors (if you have an ancient monitor that ddc stops working on let me know). This should speed up DDC on legacy chips. -- radeon sw gpio i2c -- 4 sets of gpio registers for clk and data and corresponding bit masks mask - locks the gpio for use by sw get - reads the value off the gpio pad put - sets the gpio direction to output a - "other stuff" On legacy chips you clear them if you want to use a gpio for i2c. In some cases they are used for the output value when the gpio in the output state.
2008-08-08Fix VT switching on M6 chipsAlex Deucher
Some M6 chips have a faulty MEM_SIZE register that in some cases reports 0 on 8 MB cards. On EnterVT we check the MEM_SIZE reg as a check to see if the card is posted or not. Since this reg returns 0, the driver attempts to post the card which can lead to a hang. Switch this to check if either crtc is active as is done in the bios init code. fixes bug 13994
2008-07-21Clean up legacy display watermark setupAlex Deucher
- makes crtc1 and crtc2 watermark setup independant. - fixes the case where only crtc2 is active
2008-07-08atombios: add support for other endians.Benjamin Herrenschmidt
This is a cleaned up (in as much as atombios can be..) of benh's patch. airlied - removed benh's debugging for now, it might need to be put back later..
2008-07-08rv770 initial supportDave Airlie
adds pci ids and one register from AMD code
2008-07-03radeon: drop all use of CPMode.Dave Airlie
We never test the other codepath and I don't think I've ever recommended it for anyone.
2008-06-23RADEON: PLL tweaksJiří Paleček
Patch from Jiří Paleček (see debian bug 465864) with some tweaks by me. - abort rather than programming bad dividers if no pll dividers can be found - improve the pll selection algorithm - in general, prefer lower ref dividers I've tested this patch on a wide variety of chips (r1xx-r6xx) and clocks.
2008-06-23RADEON: adjust randr crtc/output prepare/commit orderingAlex Deucher
This fixes some occasional mode change problems with multiple heads active. It seems radeons generally like to turn on the whole output/crtc setup in one shot.
2008-06-03Call DRM_IOCTL_MODESET_CTL ioctl to avoid problems with DRM post vblank-rework.Michel Dänzer
2008-05-30RADEON: add Int10 optionAlex Deucher
On some radeons you can't read the bios without initializing int10. On ATOM-based secondary cards, intitializing int10 tends to hang the card.
2008-05-20On non-gcc compilers, use C99's __func__ instead of gcc's __FUNCTION__Alan Coopersmith
2008-05-20RADEON: cleanup connection detection and remove duplicate codeAlex Deucher
2008-05-14Add RS600 supportAlex Deucher
2008-05-13RS4xx: Split out RS400 and RS480 as separate familiesAlex Deucher
RS400 (intel based IGP) and RS480 (AMD based IGP) have different MC setups and need to be handled differently
2008-05-13Reinstate CARD* types that are part of external interfaces.Michel Dänzer
The compiler pointed this out...
2008-05-12Replace CARD{8,16,32} with uint{8,16,32}_tMatt Turner
As has been done with xf86-video-intel, replace all CARD* datatypes with uint*_t datatypes available from stdint.h.