summaryrefslogtreecommitdiff
path: root/src/radeon.h
AgeCommit message (Collapse)Author
2009-03-26R6xx/R7xx EXA: rework composite pixel shaderAlex Deucher
- move to vram storage - move swizzle logic to tex setup
2009-03-22radeon: add new chip idsAlex Deucher
2009-03-13r600: reload shaders into VRAM on resumeDave Airlie
As VRAM gets zeroed out over s/r, we need to reload the shaders.
2009-03-09R4xx: add R4xxATOM optionAlex Deucher
If set, enables the use of atombios for modesetting on r4xx cards.
2009-03-02R6xx/R7xx EXA: combine composite mask/non-mask VSAlex Deucher
Also fix set_bool_const() the CF bool consts are not contiguous by shader type There are 96 boolean constants (32 each for PS, VS, GS) and they are ordered as follows: ps, vs, gs ... ps, vs, gs
2009-03-02R6xx/R7xx Xv: combine packed and planar shadersAlex Deucher
use a bool const to select the tex fetch routine
2009-03-01R6xx/R7xx: write vertexes directly to the IBAlex Deucher
Reduces the vertex buffer setup overhead
2009-02-26Merge branch 'r6xx-r7xx-support' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
2009-02-24R6xx/R7xx EXA: use a temp surface for overlapping copyMark van Doesburg
2009-02-24Only call RADEONWaitForVLine if it might actually do anything useful.Michel Dänzer
Otherwise it and RADEONBiggerCrtcArea show up pretty high in x11perf -aa*text profiles.
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-12AVIVO: fix dualhead/rotation for realAlex Deucher
2009-02-11Revert "Radeon EXA: wait for the engine to be idle before sw access"Alex Deucher
This reverts commit 0c4694c58f2ec152b19023626bc7ced891d9da65. This patch just adds latency and thus isn't a real solution
2009-02-11R6xx/R7xx Xv: Add native support for packed formatsAlex Deucher
2009-02-10Radeon EXA: wait for the engine to be idle before sw accessAlex Deucher
Really we need proper fencing with timestamps but this should help in the short term. This should help with minor corruption issues and possibly lockups.
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