summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-17r2xx exa: fix typo in 27c3326863deae36bc35e2c3b73fffd400208ff1Alex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-17r1xx/r2xx EXA: handle RepeatNone properly with transformsAlex Deucher
Fallback with unsupported ops like r3xx, r6xx. Should fix fdo bug 28142. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-10kms: add support for the MSC swap & sync APIJerome Glisse
This patch is mostly a port over of Intel ddx code for MSC support. It needs a radeon KMS module with version 2.4 which has the query for hw crtc id. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-04r3xx-r5xx: fix texturing with small macrotiled pixmapsMarek Olšák
Pixmaps smaller than a macrotile cannot be used as textures because hardware automatically switches to macro-linear and therefore sampled pixels are messed up. This behavior is known as MACRO_SWITCH. The only sane workaround seems to be not using macrotiling for small pixmaps. The function RADEONMacroSwitch has been ported from r300g and implements MACRO_SWITCH the same way it's implemented in hardware. It's been well tested in r300g. This commit also fixes blit-based framebuffer reads, which are used for tiled surfaces in r300g, when ColorTiling is enabled. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-05-04radeon: fix pll_out_min default for pre-avivoAlex Deucher
Fixes fdo bug 27960
2010-04-23FB/MMIO_cnt should be ints, not pointers.Michel Dänzer
Pointed out by compiler warnings. https://bugs.freedesktop.org/show_bug.cgi?id=27817
2010-04-22r3xx: fix gb pipe setup for SE cardsAlex Deucher
Noticed by Tormod Volden
2010-04-22r3xx-r5xx: fix vertex unitsAlex Deucher
Noticed by Tormod Volden. RV3xx is 2, RV560,RV570 is 8
2010-04-21Reference count shared driver mappings.Owain Ainsworth
With MMIO it wasn't *such* a bit deal if we leaked the smallish mapping. with FB it could be a larger deal. So instead of worrying about this, reference count the mappings in the entity structure and unmap them when no one cares anymore. Prompted by a discussion with airlied Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-21Make consistent use of fbOffset and share fb mappings.Owain G. Ainsworth
What we were doing previously was mapping the framebuffer for zaphod for only this driver instances chunk, however, fbOffset was (rightly) set to the offset into the whole framebuffer we were using. Since in some cases we did operations on the FB virtual address + fbOffset (for example zeroing the framebuffer on entervt) we were actually pissing all over ourselves in those cases. Fix this by implementing shared fb mappings like we do for MMIO already, and whenever we wish to refer to our area of FB space we always use fbOffset. Fixes zaphod for some users on r600 chipsets, my 4870 is still behaving strangely on screen 0, but I suspect that is another bug. Once calculation (in PreInitAccel) is now wrong because of this, however dri on zaphod does now happen so this is irrelavent, add a comment to that effect. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-21Kill per-context SAREA support.Owain G. Ainsworth
It has never been used, and since the world is changing it almost certainly never will be. Good riddance. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-21Remove remnants of the ShowCache option.Owain G. Ainsworth
The rest of it died a long time ago. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-19radeon: add FireMV 2400 pci id.Dave Airlie
From RH#581927 - thanks to Carsten Clasohm Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-16r5xx texvid: deal with large numbers of vertsAlex Deucher
should fix fdo bug 25884
2010-04-16r3xx texvid: deal with large numbers of vertsAlex Deucher
should fix fdo bug 25884
2010-04-16r2xx texvid: deal with large numbers of vertsAlex Deucher
should fix fdo bug 25884
2010-04-16r1xx texvid: deal with large numbers of vertsAlex Deucher
should fix fdo bug 25884
2010-04-16r5xx textured video: split into prepare and draw functionsAlex Deucher
2010-04-16r3xx textured video: split into prepare and draw functionsAlex Deucher
2010-04-16r2xx textured video: split into prepare and draw functionsAlex Deucher
2010-04-16r1xx textured video: split into prepare and draw functionsAlex Deucher
2010-04-16Xv: track vtx_count, is_planar in port privAlex Deucher
2010-04-16radeon/kms: fix possible crtc mask for evergreenAlex Deucher
2010-04-16radeon/kms: fix crash when using more than two headsAlex Deucher
fixes fdo bug 27692
2010-04-16kms: add uevent support.Dave Airlie
When we get a hotplug event from the kernel we should notify the client side to reconfigure displays. based on work by ajax in intel driver. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-13radeon: add support for pll algo selectionAlex Deucher
tv-out on atom systems is very particular about it's dividers. force it to use the old algo. Should fix fdo bug 27593.
2010-04-12atom: disable TV encoder when VGA is in useAlex Deucher
Switching between TV and VGA caused problems on some systems since the TV encoder was left enabled. Should fix fdo bug 25520.
2010-04-12Xv overlay: set scalerwidth to 1920 on r3xx/r4xx chipsAlex Deucher
reported on phoronix forums.
2010-04-09radeon: add some new pci idsAlex Deucher
2010-04-08radeon: don't setup Xv on rn50Alex Deucher
It has no overlay or 3D engine. fixes fdo bug 27528
2010-04-01radeon: fix possible gpio i2c table overrunAlex Deucher
GPIO_I2C_INFO does not always have ATOM_MAX_SUPPORTED_DEVICE entries. Should fix Novell bug 589022.
2010-04-01r600/exa: further cleanup, use the object struct in the accel state.Dave Airlie
This cleans up the accel state objects as well. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-01r600: cleanup wasteful variables.Dave Airlie
Just assign directly to the structs. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-01r600: reduce function call overhead.Dave Airlie
Create a small accel object that can be used to reduce the amount of parameters passed to SetAccelState. This can be cleaned up a lot more. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-31r6xx+ EXA: fix swapped domains in kms UTSAlex Deucher
Noticed by Dave. Should fix fdo bug 27284
2010-03-30Add support for MacModel autodetection on OpenBSD.Owain G. Ainsworth
This allows radeon-equipped macs to work without an xorg.conf on openbsd. Patch originally written by Mark Kettenis (kettenis@openbsd.org)
2010-03-26radeon: add support eDP connectors with and LCD device tagAlex Deucher
should fix fdo bug 27322
2010-03-26radeon: fix name string for eDPAlex Deucher
2010-03-23r6xx+ EXA/Xv: add a R600SetAccelState functionAlex Deucher
This moves CS bo checking and alignment checks into a central location. It also cleans up the code.
2010-03-23r6xx+ EXA: always use a temp surface for overlapping copiesAlex Deucher
The scanline based fallback code was complex and added a lot of overhead. It also didn't work with kms.
2010-03-22r6xx+ EXA: always use the accel_state state in DoPrepareCopyAlex Deucher
2010-03-22r6xx EXA/Xv: track src/dst domainsAlex Deucher
Much of the code is shared, so track the src/dst domains so we make sure the uses consistent domains for each bo.
2010-03-17XAA: disable render accelAlex Deucher
It's been reported broken for a while. Should fix fdo bug 27151, others.
2010-03-18radeon: avoid using DRI1 init path on DRI2 driver.Dave Airlie
I was playing with multi-seat and found this code, fixed it up to be sane and more DRI2 like. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-16kms: fix ums naming compat for DisplayPortAlex Deucher
2010-03-15Fix some word accesses in AtomBios to work on all architectures.Michael Cree
The UINT16LE_TO_CPU(), etc., macros are used in the AtomBios code to fix up endian issues but they do not address bad alignment or assist architectures that cannot perform hardware byte or word accesses. This patch inserts use of the ldw_u(), etc., interface of the Xserver into certain AtomBios accesses to address alignment issues. This resolves Debian bug 572311, namely that the driver when compiled for generic Alpha architecture (i.e. doesn't use the byte-word extension) resulted in no display output on certain Radeon cards. Signed-off-by: Michael Cree <mcree@orcon.net.nz>
2010-03-15r6xx/r7xx: fix domain handling in accel codeAlex Deucher
Noticed by Pauli and Michel on IRC. Improves GetImage performace by a factor of ~10.
2010-03-15radeon: remove some leftover debugging outputAlex Deucher
2010-03-10radeon: add support for pal on legacy IGP chipsAndrzej Hajda
Based on my initial non-working patch. Fixes some element of fdo bug 12007
2010-03-09atom: i2c gpio fixesAlex Deucher
Basically a port of my kms patch. This allows us to remove some quirks.