summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-22exa/cs: add DFS from GTT optimisationDave Airlie
This uses the new libdrm busy interface, once I had this in place I added a error if this happened and it does on my desktop here, so may as well add the optimisation that used to be in my old KMS tree. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-19rs600: add support for DisplayPriority HIGHAlex Deucher
Still haven't implemented the actual watermark calculation, but this forces the display requests to urgent if the user specifies DisplayPriority HIGH.
2009-08-19radeon/kms: add initial colortiling support (disabled by default).Dave Airlie
This requires an X server from git with createpixmap2 support fixed up in it. On 1.6 and previous it won't do any tiling, if you are running git server please upgrade to latest git. Option "AllowColorTiling" "true" to enable and do some testing
2009-08-18AVIVO: add support for DisplayPriority HIGHAlex Deucher
If the DisplayPriority option is set to HIGH, force the diplay mem requests to urgent.
2009-08-17radeon: move detected monitor type debugging.Dave Airlie
We should print this after DAC detection to be useful for TV
2009-08-17atom: recall crtc source script after tv dpms onDave Airlie
For some reason we lost the DACB source when we dpms tv back on.
2009-08-17atombios: store dac detect result into save register.Dave Airlie
We end up writing back an empty save register over the dac detection results so the atombios table can no longer figure out the S-video vs composite so sets the wrong one up. this gets tv-out on my r580 with a composite connector working.
2009-08-17atom/tvout: set the correct scaler up for tv outDave Airlie
If we need to use the second scaler actually set the second scaler up.
2009-08-17kms: make tv out match the connector nameDave Airlie
2009-08-17r100/r200: dont emit wrong clamp modes.Dave Airlie
for rect textures you don't want to use wrap clamping which is the default.
2009-08-17radeon/tv: fix typo in crtc register modificationsDave Airlie
2009-08-11RV280: add agp quirkAlex Deucher
from Hartmut Niemann
2009-08-11radeon/r600: abstract vertex buffer for r600 & r700 hardwareJerome Glisse
Abstract vertex buffer, preliminary work before others change to bring cs support along IB support.
2009-08-10Fix misleading filenames in DRI setup failure messagesAdam Jackson
2009-08-07Properly let radeon_cs_flush_indirect() re-emit 2D state if necessary.Michel Dänzer
Also remove a superfluous assignment.
2009-08-07Add support for EXA_MIXED_PIXMAPS in xserver master.Michel Dänzer
2009-08-07Minor fixes for KMS EXA DownloadFromScreen hook.Michel Dänzer
Check we can handle the bpp, and remove superfluous flush.
2009-08-07Add KMS EXA UploadToScreen hook.Alex Deucher
Fixups by Michel Dänzer: Doesn't seem to be a win in terms of raw numbers, but should allow more pipelining and avoiding BO memory waste for small glyph pixmaps.
2009-08-07r200: fixup scissors for DDX.Dave Airlie
a) turn of R200_RE_CNTL - SCISSOR_ENABLE - this save us emitting R200_RE_TOP_LEFT, note scissor is still enabled. b) disable aux scissors.
2009-08-04radeon: fix compile with !kmsAlex Deucher
2009-08-04radeon: re-add asus connector quirksAlex Deucher
fixes bug 19943
2009-08-04radeon/kms: add simple DownloadFromScreen implementationJerome Glisse
What we want to do is add userspace object support to radeon kernel modesetting. Also this DFS is dumb and might endup doing blit from GTT to GTT.
2009-08-04RS880: enable accelAlex Deucher
2009-08-03radeon: add some new r7xx pci idsAlex Deucher
2009-08-01radeon: use XAA in some casesAlex Deucher
Use XAA in low memory situations or when the DRI is disabled. Using shadowfb might also be a viable option, maybe even a better option... fixes bug 21683
2009-08-01radeon: AGPMode quirk needed for SiSBryce Harrington
fixes bug 23065
2009-08-01radeon: AGPMode quirk needed for IBM Thinkpad T40 with Mobility M7 LWBryce Harrington
fixes bug 23064
2009-08-01radeon: AGPMode quirk needed for HP Omnibook 6200Bryce Harrington
fixed bug 23063
2009-08-01radeon: reload bicubic Xv texture on VT switchAlex Deucher
fixed bicubic filtering after VT switch or suspend/resume
2009-07-30radeon: fix r600 shadow fb mode with cursor allocation in wrong placeDave Airlie
From RHEL QE testing, we could end up with the cursor at 0 since we think EXA is in use when really it isn't. the info->useEXA = FALSe might be unnecessary but better to be explicit Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-07-29radeon: fix typo in object header to connector type conversionAlex Deucher
Should fix bug 19943
2009-07-28ati: change to using ABI version checkDave Airlie
2009-07-28ati: update for resources/RAC API removalDave Airlie
2009-07-27KMS: Explicitly specify VRAM and GTT domains when allocating BOs for pixmaps.Michel Dänzer
Without this, apparently they are initially allocated in system RAM (or possibly GTT), so any GPU rendering to them first triggers a copy of the whole uninitialized data to VRAM... We may want to explore more sophisticated schemes in the future, but for now this seems to improve KMS 2D performance quite a bit.
2009-07-25radeon: Set PCI/PCIE bus type properly per asicAlex Deucher
- r1xx-rv350 chips have the old pci gart - rv380+ chips have newer pcie gart Select the right kind regardless of whether the user selects PCI or PCIE.
2009-07-23radeon: fix KMS shadowfb for r6xx and newer hw.Jerome Glisse
We need to map front buffer and also to avoid EXA initialization when falling back to shadowfb on newer r6xx/r7xx when KMS is enabled.
2009-07-23RS780: fill in MC access functionsAlex Deucher
Also, r6xx/r7xx don't have indirect MC space, so don't try to access it.
2009-07-23R6xx/R7xx: clip rendering to destination surface dimensionsAlex Deucher
2009-07-19Guard reference to CRTC active field.Michel Dänzer
Fixes build against older xserver.
2009-07-18Also drop DRM master in KMS CloseScreen.Michel Dänzer
The LeaveVT hook isn't always called when the server dies, e.g. when quitting from the GDM greeter. This may cause existing servers to fall over if the dying server process still exists when they try to re-acquire master and set a mode. Also use drmSet/DropMaster() rather than ioctl() directly.
2009-07-18Set CRTC active flag to TRUE after a successful KMS mode set.Michel Dänzer
Otherwise some things like changing the colour map won't work properly.
2009-07-18Set the STALL bit in the CRTC_GUI_TRIG_VLINE registers.Michel Dänzer
As recommended by the register reference when using the WAIT_CRTC_VLINE bit in the WAIT_UNTIL register, as we are.
2009-07-18Enable vsync for DRI2 region copies.Michel Dänzer
2009-07-16R6xx/r7xx: reduce the amount of default state setupAlex Deucher
Most of the default state setup was extraneous or duplicated in the accel ops. There's no need to reset all the consts everytime you reset the default state for example. This leads to a 10x reduction in default state.
2009-07-16Update to xextproto 7.1 support.Peter Hutterer
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-15radeon: emit colorpitch relocs.Dave Airlie
This causes relocs to be emitted for the colorpitch. Shouldn't have no effect on current kernels, but will keep DDX going on kms kernels when tiling lands Also contains a missing reloc space for r200
2009-07-14Add an r420 AGP quirkAlex Deucher
fixes bug 22726
2009-07-14R3/4/5xx: only upload the bicubic texture onceAlex Deucher
Upload the bicubic texture once during textured video init rather than once per frame. Suggested by Michel Daenzer on IRC.
2009-07-14R3/4/5xx: fix bicubic Xv filtering with KMS changesAlex Deucher
fixes bug 22730
2009-07-13Add configure option to disable kms supportAlex Deucher
Useful to building with mixed kms/non-kms setups