aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-18Add burst command ioctlglamo-oldThomas White
2009-10-18Add subdata functionThomas White
2009-10-17WhitespaceThomas White
2009-10-17GEM buffer naming stuffThomas White
2009-10-17Remove log message when deleting with map_count > 0Thomas White
This happens all the time with the latest DDX changes. No point filling the log up.
2009-10-17Tweak to buffer waitThomas White
2009-10-17Count mappings correctlyThomas White
2009-10-17Initialise cref to zeroThomas White
2009-10-17Map counting fixesThomas White
2009-10-17Remove debugThomas White
This just removes a couple of debug messages which are no longer needed.
2009-10-17Formatting and copyright noticesThomas White
2009-10-17Single point of truth for the virtual addressThomas White
2009-10-17Set bo_gem->virtual = NULL on unmapThomas White
2009-10-17Don't forget to #include config.hThomas White
This is definitely needed, to help handle large files.
2009-10-17First part of GEM memory mapping implementationThomas White
2009-10-17This include doesn't belong hereThomas White
2009-10-17Update glamo_drm.h from kernel sourceThomas White
2009-10-17Add missing include and castThomas White
2009-10-17Authorship, whitespaceThomas White
2009-10-17Add domain #define, and install glamo_drm.hThomas White
2009-10-17Initial libdrm_glamo bitsThomas White
Conflicts: libdrm/Makefile.am
2009-10-13nouveau: nv30: add render target logbase2 width,heightPatrice Mandin
2009-10-13intel: Add the defines for the kernel overlay support landing in 2.6.33.Eric Anholt
2009-10-13intel: Fallback to atomic-ops.h [libatomic-ops-dev]Chris Wilson
Use the external implementation for atomic operations across a wide range of architectures. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-13configure: Typo in error message.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-12configure: Conditionally build libdrm_intelChris Wilson
Only build libdrm_intel automatically if we have support for atomic operations. To force configure to build drm pass --enable-intel, which will cause the configure to error if no support is found. Or pass --disable-intel to explicitly prevent libdrm_intel from being built. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-08Bump to 2.4.15 for release.Eric Anholt
2009-10-08intel: Remove the asserts about the ignored alignment parameter.Eric Anholt
I slipped it in with the alloc_tiled changes, since we were explicitly throwing the parameter away. It caught some bogus released code, which we've now fixed, so remove the asserts to keep old drivers working.
2009-10-06intel: Add a bo_alloc function for tiled BOs.Jesse Barnes
This simplifies driver code in handling object allocation, and also gives us an opportunity to possibly cache tiled buffers if it turns out to be a win. [anholt: This is chopped out of the execbuf2 patch, as it seems to be useful separately and cleans up the execbuf2 changes to be more obvious]
2009-10-06intel: Fix up some stale doxygen comments.Eric Anholt
2009-10-06intel: Reformat to the kernel coding style. Welcome to the 8-space future.Eric Anholt
This is done with: Lindent *.[ch] perl -pi -e 's|drm_intel_bo \* |drm_intel_bo *|g' *.[ch] perl -pi -e 's|drm_intel_bufmgr \* |drm_intel_bufmgr *|g' *.[ch] perl -pi -e 's|drm_intel_bo_gem \* |drm_intel_bo_gem *|g' *.[ch] perl -pi -e 's|drm_intel_bufmgr_gem \* |drm_intel_bufmgr_gem *|g' *.[ch] perl -pi -e 's|_fake \* |_fake *|g' *.[ch] hand-editing to whack indented comments into line and other touchups.
2009-10-06intel: Don't allocate more relocation entries than the BO could support.Eric Anholt
This saves 32k of relocation entry storage for many 965 state buffers. No noticeable impact on performance for cairo-gl firefox.
2009-10-03tests: Disable intel-specific tests with --disable-intelChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-03intel: Add a configure option to *disable* building libdrm-intelChris Wilson
In conjunction with the atomic operation patch, it may be more convenient for some people to disable building libdrm-intel and its dependencies upon the atomic intrinsics then it is for them to use a supported compiler. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-03intel: report errnoChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-03libdrm_radeon: Update RADEON_TILING_* flags to what's in current kernels.Michel Dänzer
2009-10-03libdrm_radeon: Zero-initialize structures to silence valgrind warningsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-02intel: Use atomic refcountersChris Wilson
As the target architecture for Intel GPUs is the x86, we can presume to have reasonable compiler support for Intel atomic intrinsics, i.e. gcc, and so use those in preference to pulling in a complicated mess of fragile assembly. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> [anholt: hand-resolved against my previous commit. This brings cairo-gl firefox-talos-gfx time from 65 seconds back down to 62 seconds.] Signed-off-by: Eric Anholt <eric@anholt.net>
2009-10-02intel: Mark cached bo as purgeableChris Wilson
Set the DONTNEED flag on cached buffers so that the kernel is free to discard those when under memory pressure. [anholt: This takes firefox-talos-gfx time from ~62 seconds to ~65 seconds on my GM965, but it seems like a hit worth taking for the improved functionality from saving memory] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
2009-10-02intel: Don't free the reloc list when putting a freed BO in the cache.Eric Anholt
This takes firefox-talos-gfx from 74 seconds to 70 seconds on my GM965.
2009-10-01intel: Add a new function to check if a BO's reloc tree references some BO.Eric Anholt
There are a bunch of places in GL where if we can't do this we have to flush the batchbuffer, and the cost of lookups here is outweighed by flush savings.
2009-09-21Bump to 2.4.14 for release.Eric Anholt
2009-09-21intel: Remove the max_entries stuff that complicated bo reuse.Eric Anholt
I thought I was going to do all sorts of crazy experiments with it. I never did, and it turned out the free-after-a-few-seconds plan is working out fine.
2009-09-21intel: Remove the old swrast flag for reducing cache flushing.Eric Anholt
It hasn't been doing anything effective since 52e5d24fae4af6f2f4a5304a516c8c5ab347a11b, and we pretty much don't bo_map pinned buffers any more anyway.
2009-09-17drmModeFreeConnector: free encoders and propertiesKeith Packard
These were leaking. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-09-15radeon: fix 32/64 bit issue with sign extensionDave Airlie
Not sure what intptr_t was up to here. Reported and tested by: Kevin DeKorte Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-07libdrm_intel: include B43 chipset checkZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-09-04libdrm_intel: add new pci idsZhenyu Wang
New ids for G41, Clarkdale and Arrandale. Make sure we don't need to count fence also on new chips. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-08-28Bump to version 2.4.13 for release.Eric Anholt
2009-08-28Add drm_intel_bo_busy to query whether mapping a BO would block.Eric Anholt