summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-09Fix some issues with CustomEDID supportCsillag Kristof
- Fixes a memory allocation problem introduced with the previous version of the CustomEDID patch (now in GIT), and - Enhances the syntax of the CustomEDID option so that I can force digital output, even if the EDID was acquired over an analog link.
2009-10-09r600 EXA: fix up mask reg mixupAlex Deucher
2009-10-09r600 EXA: fix some compile warningsAlex Deucher
2009-10-09r600 EXA: properly check planemaskAlex Deucher
We only support per-component masks.
2009-10-09Revert "radeon: clamp the internal FB map to the aperture size"Dave Airlie
This reverts commit 5f846360c46f5a989f5d0fde6d251cdbd61d4968. Numerous reports of system hangs since this, I'm guessing some sort of conflict with the drm memory setup. This code has always been fragile between kernel/userspace drivers.
2009-10-09Revert "kms: setup colormap and gamma correctly."Dave Airlie
This reverts commit 60d9685abddccec17c1a9a5ec48cbe9c92543e0f. which breaks colormap on 1.6 X server Conflicts: src/drmmode_display.c
2009-10-09kms: don't use scratch pixmaps at allDave Airlie
use our own wrapper to allocate a pixmap for wrapping a bo in.
2009-10-09drmmode: reload cursors on modesetDave Airlie
2009-10-07ATOM: rework crtc modesetAlex Deucher
- clean up tv timing handling - unify SetCRTCTiming and SetCRTCDTDTiming interfaces
2009-10-07ATOM: reorder crtc dpms based on bios recommendationsAlex Deucher
2009-10-07ATOM: add support for AdjustDisplayPll tableAlex Deucher
Depending on the output and clock, this table will adjust the pixelclock accordingly.
2009-10-07radeon: clamp the internal FB map to the aperture sizeAlex Deucher
We don't use the invisible memory yet and on cards with large amounts of vram this can cause the top of GART calculation to overflow. Fixes bug fdo bug 24301: http://bugs.freedesktop.org/show_bug.cgi?id=24301
2009-10-07radeon: fix rotation since mixed pixmaps.Dave Airlie
Passing null in here stops the mixed pixmap code doing it wrong, but I'm not 100% sure how it is meant to work, we have the same issue with the real front bo by the looks of it.
2009-10-06radeon: Fix duplicated bit settingsRoel Kluin
[agd5f: adapted from kms patch] Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-06Don't call radeon_cs_flush_indirect() without KMS.Michel Dänzer
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=24316 .
2009-10-05kms: assume accel is working is info ioctl return -EINVALJerome Glisse
-EINVAL should only happen if the info ioctl doesn't support the get accel query. This patch assume that on such case accel is working.
2009-10-05kms: only touch gamma stuff on 1.7Dave Airlie
for correct colormap operation you probably want 1.7
2009-10-05R1/2xx EXA: Minimise number of draw primitives used for Composite operations.Alex Deucher
2009-10-05kms: don't use scratch pixmaps when copying fbcon.Dave Airlie
scratch pixmaps seem to interact badly with mixed pixmaps, it appears some state may be getting left around in the privates somewhere, since scratch pixmap headers don't get destroyed.
2009-10-04radeon: add support for Custom EDIDCsillag Kristof
Allows you to specify an edid per output from a file to override what is detected by DDC. Useful for problematic monitors or KVM switches that block DDC. Specifying an EDID that is not compatible with your monitor could damage your monitor so use with caution. agd5f: cache the custom edid at startup so we don't have to read it from file every time the output is queried.
2009-10-05kms: setup colormap and gamma correctly.Dave Airlie
We need to program the gamma at modeset. no need to use old cmap interface at all.
2009-10-04R6/7xx EXA: Add support for BGRA picture formats.Alex Deucher
Also add mysteriously missing case statements for ABGR destination formats.
2009-10-04radeon: fix build without kmsDave Airlie
2009-10-03Fix KMS on big endian machines.Michel Dänzer
Requires at least xserver 1.7 to work properly. Also make sure the front buffer is and stays tiled if colour tiling is enabled.
2009-10-03EXA: Bail earlier from PrepareCopy hook on trivially unsupportable conditions.Michel Dänzer
2009-10-03R3/5xx EXA: Add support for BGRA picture formats.Michel Dänzer
Also add mysteriously missing case statements for ABGR destination formats.
2009-10-03R3/5xx EXA: Minimise number of draw primitives used for Composite operations.Michel Dänzer
This should reduce the kernel CS checker overhead, if nothing else. I'll leave porting this to other chipset families to others who can test it.
2009-10-03EXA: Don't always flush when switching between 2D/3D engines with KMS.Michel Dänzer
This seems to work fine here now and help 2D performance quite a bit, let's see if it breaks anybody else's setup...
2009-10-03KMS: Double-buffer textured video source image upload.Michel Dänzer
In order to avoid stalling on previous frame. OTOH without KMS we can't do this but have to wait for the previous frame to finish rendering.
2009-10-03KMS: Don't hide HW cursor when it's updated.Michel Dänzer
Inspired by the intel driver; might avoid/reduce HW cursor flicker in some cases.
2009-10-03Fix some compiler warnings.Michel Dänzer
2009-10-02radeon: Remove gatos message from driver startupKenneth Graunke
Remove a message on driver startup which directs people to the old GATOS website; said site contains highly out of date software which is no longer necessary.
2009-09-30radeon/kms: fallback to shadowfb if kernel report acceleration is offJerome Glisse
This will fallback to shadowfb is GPU accel failed somewhere during KMS kernel init.
2009-09-25radeon: fix segfault in MMIO path in RADEONInit3DEngineAlex Deucher
fixes fdo bug 24158. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-25kms/r600: add support for vline relocsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-25radeon: fix vline handling for kmsAlex Deucher
drm crtc ids do not correspond to actual hw crtcs, as such the vline stuff was never enabled for Xv. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-26r600: fix buildDave Airlie
2009-09-26r600/xv: fix dst bo write domainDave Airlie
2009-09-26radeon: fix zaphodDave Airlie
2009-09-25r600: fix bo accounting for XvAlex Deucher
fixes Xv after changes in: 8f80e37eed3ec028718b4e71bbb9b598847fd94e Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-25r600: space check wasn't correct.Dave Airlie
the r6xx space check code was incorrect for the DFS case, since the dst bo was in GTT but the hardcoded cp_start function assumed the bos were where it thought. Ripped out assumptions and replaced with code more like other radeons.
2009-09-24radeon: remove old pre-randr rotation cruftAlex Deucher
leftover from the randr 1.2 conversion. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-20use AC_CHECK_HEADER instead of AC_CHECK_FILEMichael Olbrich
AC_CHECK_FILE is not possible when cross-compiling. Use AC_CHECK_HEADER / AC_PREPROC_IFELSE instead. [ Michel Dänzer: Shuffled things around slightly to make it work on my setup ] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Michel Dänzer <daenzer@vmware.com>
2009-09-19kms: disable dgaAlex Deucher
Can be dangerous with kms: http://lists.freedesktop.org/archives/xorg-devel/2009-September/002113.html
2009-09-19kms: init dga using xf86DiDGAInitAlex Deucher
fixes cursor problems in games like UT2004 and Penumbra Overture see fdo bug 24034
2009-09-18avivo: disable VGA rendering core when starting X.Dave Airlie
this thing can be rendering to VRAM when we don't expect it. turn it off. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-17Fix configuration to disable KMS if not finding libdrm_radeon.Pauli Nieminen
Most of KMS building was disabled if LIBDRM_RADEON was not detected. But at least configure was reporting KMS enabled even tough it was realy disabled.
2009-09-14radeon: Add missing libdrm_radeon cflags to compiler paramaters.Pauli Nieminen
This fixes compilation if libdrm_radeon is installed to non-standard location like /opt.
2009-09-11atom: fix typo in asus quirksAlex Deucher
Should be DVI-I, not DVI-D
2009-09-10r600: add CS UTS and DFS hooksAlex Deucher