Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jan 4, 2012
  1. @anholt

    intel: Add an interface for setting the output file for decode.

    anholt authored
    Consumers often want to choose stdout vs stderr, and for testing I
    want to output to an open_memstream file.
    
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Commits on Dec 31, 2011
  1. @jobermayr @chadversary

    intel/intel_decode.c: Remove #include "intel_decode.h".

    jobermayr authored chadversary committed
    Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Commits on Dec 30, 2011
  1. @anholt

    intel: Disable unused decode_logic_op().

    anholt authored
    It was producing an unused code warning.  I'm tempted to just remove
    it, since it's unused, but I *might* use it soon.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  2. @anholt

    intel: Turn on normal warnings for intel_decode.c build.

    anholt authored
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  3. @anholt

    intel: Remove c99ish variable declarations.

    anholt authored
    I'd rather be able to use c99 variable declarations (there's a lot of
    awful code layout due to being c90ish), but I'll leave that for later.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  4. @anholt

    intel: Fix printf format warnings for intel_decode.

    anholt authored
    There was plenty of dropped useful data, and some horribly
    mis-formatted data.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  5. @anholt

    intel: Add printflike warnings for instr_out.

    anholt authored
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  6. @anholt

    intel: Fix a ton of signed vs unsigned and const char *warnings

    anholt authored
    We've got a different (better) set of warning flags in place in this
    tree.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  7. @anholt

    intel: Fix Wsigned-compare warnings (soon to be enabled).

    anholt authored
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  8. @anholt

    intel: Get intel_decode.c minimally building.

    anholt authored
    My plan is to use this drm_intel_dump_batchbuffer() interface for the
    current GPU tools, and the current Mesa batch dumping usage, while
    eventually building more interesting interfaces for other uses.
    
    Warnings are currently suppressed by using a helper lib with CFLAGS
    set manually, because the code is totally not ready for libdrm's warnings
    setup.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  9. @anholt

    intel: Minor style tweaks after Lindent.

    anholt authored
    Some comments weren't wrapped, and for some reason uint32_t *data got
    an extra space (while other instances of "type *identifier" didn't),
    and the indentation of the opcode-list structs got trashed.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  10. @anholt

    intel: Reformat intel_decode.c from intel-gpu-tools using Lindent.

    anholt authored
    We generally go for kernel style in this tree, and this 4-space indent
    stuff was bothering me.  The new results have some ugly bits, but
    they're in places where we desperately want to be using helper
    functions anyway.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  11. @anholt

    intel: intel: Add IS_GEN[567] macros.

    anholt authored
    These will be used by intel_decode.c, and were taken from intel-gpu-tools.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  12. @anholt

    intel: Make intel_chipset handle devid directly.

    anholt authored
    This will make these macros reusable from intel_decode.c, which
    doesn't have a bufmgr_gem context, without faking the struct.  We
    should generally only be using these macros from bufmgr_gem context
    setup anyway.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
  13. @anholt

    intel: Import intel_decode.c from intel-gpu-tools.

    anholt authored
    This is from commit dd9a5b4.
    We've been sharing this file between that repo and Mesa, and it's time
    to build a real interface using it.  I'm also hoping to apply some of
    its packet-walking logic for AUB dumping and batch validation
    purposes.
    
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
Commits on Dec 18, 2011
  1. @ickle

    tests/gem_flink: Check for MASTER before proceeding

    ickle authored
    gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not
    establish ourselves as authenticated before testing the ioctls. So
    instead of aborting, skip the test unless we have root privileges (and
    so DRM_MASTER and the DRM_AUTH restriction no longer applies).
    
    A future test could assert that the flink fails without proper
    authentication.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Commits on Dec 14, 2011
  1. @ickle

    intel: Reset vma list upon purge

    ickle authored
    During free we unconditionally delete the bo from the vma cache. This
    relies on the its list member being kept in a sane state. This fails
    after the object is purged, as the purge operation performs a pure
    deletion and doesn't reset the list member, leaving a pair of dangling
    pointers.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Commits on Dec 13, 2011
  1. libdrm: update drm headers from kernel, including new overlay ioctls …

    Jesse Barnes authored
    …& structs
    
    Add structs and functions necessary for the new plane and fb handling code,
    including a new header, drm_fourcc.h, that includes the surface formats
    supported by various DRM drivers.
    
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  2. @ickle

    configure: Bump version for 2.4.29

    ickle authored
    Yet another release required for new API
  3. @ickle

    intel: Remove the fresh assertions used to debug the vma cacheing

    ickle authored
    Hopefully all the bugs in the callers have been found, so time to
    handle the failures "gracefully" again.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  4. @ickle

    intel: Update map-count for an early error return during mapping

    ickle authored
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Commits on Dec 6, 2011
  1. @ickle

    intel: Evict cached VMA in order to make room for new mappings

    ickle authored
    As the max number of VMA mappings is a hard per-process limit, we need
    to include the number of currently active mappings when evicting in
    order to make room for a new mmap.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Commits on Dec 5, 2011
  1. @ickle

    intel: Add an interface to limit vma caching

    ickle authored
    There is a per-process limit on the number of vma that the process can
    keep open, so we cannot keep an unlimited cache of unused vma's (besides
    keeping track of all those vma in the kernel adds considerable overhead).
    However, in order to work around inefficiencies in the kernel it is
    beneficial to reuse the vma, so keep a MRU cache of vma.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  2. test/radeon: add missing files for dist

    Dave Airlie authored
  3. @ickle

    intel: Clean up mmaps on freeing the buffer

    ickle authored
    As a precautionary measure munmap on buffer free so that we never leak
    the vma. Also include a warning during debugging.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  4. @ickle

    configure: Bump version to 2.4.28

    ickle authored
    So that we can pull a couple of Intel bug fixes into xf86-video-intel.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  5. @ickle

    intel: Unmap buffers during drm_intel_gem_bo_unmap

    ickle authored
    We cannot afford to cache the vma per open bo as this may exhaust the
    per-process limits.
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=43075
    References: https://bugs.freedesktop.org/show_bug.cgi?id=40066
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Commits on Dec 4, 2011
  1. @danvet

    intel: limit aperture space to mappable area on gen3

    danvet authored
    Otherwise we blow up on heavy tiled blitter loads (with giant
    pixmaps).
    
    Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Commits on Nov 27, 2011
  1. @mlankhorst @ymanton

    nouveau: Mark nouveau subchannel unbound nouveau_grobj_free

    mlankhorst authored ymanton committed
    Valgrind throws warns about a user-after-free if you try to bind a
    new subchannel after the old one in that slot was freed,
    so remove it from the channel list.
    
    Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Commits on Nov 10, 2011
  1. tests/radeon: radeon specific test

    Jerome Glisse authored
    Initial test only include ttm test for stressing ttm memory
    allocations.
    
    Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Commits on Nov 1, 2011
  1. @jeremyhu

    Fix compilation with -Werror=int-to-pointer-cast -Werror=pointer-to-i…

    jeremyhu authored
    …nt-cast
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Commits on Oct 29, 2011
  1. @anholt

    configure: version bump for 2.4.27 release.

    anholt authored
    Push the new Intel API for use by mesa.
    
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  2. @anholt

    intel: Share the implementation of BO unmap between CPU and GTT mappi…

    anholt authored
    …ngs.
    
    Before this, consumers of the libdrm API that might map a buffer
    either way had to track which way was chosen at map time to call the
    appropriate unmap.  This relaxes that requirement by making
    drm_intel_bo_unmap() always appropriate.
    
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
  3. @anholt

    intel: Don't call the SW_FINISH ioctl unless a CPU-mapped write was d…

    anholt authored
    …one.
    
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
  4. @anholt

    intel: Remove stale comment.

    anholt authored
    This used to be next to some map refcounting code, but that is long dead.
    
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Something went wrong with that request. Please try again.