summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c
AgeCommit message (Collapse)Author
2010-04-24radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee
bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated.
2009-12-21radeon/r600: use new libdrm_radeon apiDave Airlie
2009-10-15radeon: return EINVAL for 0 length buffers.Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-08-31r100: Use shared debug code.Pauli Nieminen
Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
2009-08-23radeon: Check from kernel if dma buffer is idle.Pauli Nieminen
This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-20radeon: Update regulary cs processing info from kernel.Pauli Nieminen
This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-17radeon: remove RADEON_DEBUG_BO stuffAlex Deucher
This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
2009-08-12r600: fix warningAlex Deucher
2009-08-11r600: use the drm ioctls for swap and texture uploadAlex Deucher
NOTE: THIS REQUIRES AN UPDATED DRM!
2009-08-07radeon: enable tiling fallbacks in 3D driver.Dave Airlie
Only really got good testing on r500 so far, need to enable in DDX and play some more.
2009-08-03r600: fix the build when RADEON_DEBUG_BO is setAlex Deucher
2009-08-03r600: fix r600SetTexOffsetAlex Deucher
We need to properly set up a fake bo for the texture override, so add a new function to radeon_bo_legacy.c. This could probably be used on radeon/r200/r300 to unify the bo handling for texture override. compiz now works :)
2009-07-15Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa ↵Alex Deucher
into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
2009-07-15Use memcpy directly in the common codeAlex Deucher
This alleviates the need for an additional symbol.
2009-07-08Fix buffer age implementaion bug.Richard Li
2009-07-07r6xx/r7xx: add sw blit for tex uploadAlex Deucher
Can be used for buffer swap as well.
2009-07-06radeon/r200/r300: port to new space checking code in libdrmDave Airlie
This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
2009-06-12Merge master and fix conflictsAlex Deucher
2009-05-22radeon: reading back to scratch reg through status map doesn't workJerome Glisse
For some unknown reasons the scratch reg value doesn't endup in the status map at the scratch reg offset, this is a temporary work around until we figure out why it doesn't work.
2009-05-19Makeup checkin for radeon code change paired with r6/7 code.root
2009-02-23radeon: fixup legacy bo/cs out of VRAM waiting.Dave Airlie
This is similiar to the code from the F10 r300 bufmgr
2009-02-17radeon: initialise swapped objects pointerDave Airlie
2009-02-17radeon: legacy texMem interface fixups.Dave Airlie
The texmem.c interface is wildly messed up it really wants to own the objects so let it, pain in the ass but this code should work a lot better now
2009-02-17Revert "dri/radeon: export a function to cleanup a texture object."Dave Airlie
This reverts commit 5325f8624093bb1ec30d581b4ff64218ceab99f9.
2009-02-17radeon: fixup destroy texture object exit path and update LRUDave Airlie
the destroy path was doing bad things with structure names, make it do less bad things, use container_of instead
2009-02-17dri/radeon: export a function to cleanup a texture object.Dave Airlie
The radeon legacy code want to cleanup not free the texture obj, so export a function to do that and wrap it.
2009-02-12radeon/r200/r300: make build with out libdrm_radeon installed for nowDave Airlie
2009-02-12radeon: renaming and headers cleanupDave Airlie
2009-02-04radeon: call getpagesize once and store in a staticDave Airlie
2009-02-04radeon: only do the fb read if we are mapping a VRAM objectDave Airlie
this makes writing the DMA buffers got a lot better
2009-02-03radeon: add a reference to the static buffers so they don't get deletedDave Airlie
2009-02-03radeon_bo: align size of bo to page size.Dave Airlie
This is really required for the VRAM allocator upload function.
2009-01-31r200/r300: add aperture space checksDave Airlie
2009-01-29radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie
this gets back a lot of the lots speed in gears on r500 at least I also fixed the legacy bufmgr to deal when the dma space fills up
2009-01-22radeon: cleanup bo unref codepath in pending codeDave Airlie
assert for bad case hopefully
2009-01-22radeon: fix counting for cfree handles in an inlineDave Airlie
2009-01-23radeon: add r100/r200 workarounds for legacy agingDave Airlie
2009-01-14radeon/r200/r300: make legacy emit non-r300 specificDave Airlie
2009-01-14radeon/r200/r300: initial attempt to convert to common context codeDave Airlie
2008-11-15radeon: update to libdrm-radeon API changesJerome Glisse
2008-11-14r300: cs + DRI2 supportJerome Glisse
If DRI2 is enabled then switch cmd assembly to directly build hw packet.
2008-11-14r300: bo and cs abstraction.Jerome Glisse
This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse