1. 10 Sep, 2015 1 commit
  2. 04 Sep, 2015 1 commit
  3. 26 Aug, 2015 1 commit
    • Marek Olšák's avatar
      gallium/ddebug: new pipe for hang detection and driver state dumping (v2) · 525921ed
      Marek Olšák authored
      v2: lots of improvements
      This is like identity or trace, but simpler. It doesn't wrap most states.
      Run with:
        GALLIUM_DDEBUG=1000 [executable]
      where "executable" is the app and "1000" is in miliseconds, meaning that
      the context will be considered hung if a fence fails to signal in 1000 ms.
      If that happens, all shaders, context states, bound resources, draw
      parameters, and driver debug information (if any) will be dumped into:
      Note that the context is flushed after every draw/clear/copy/blit operation
      and then waited for to find the exact call that hangs.
      You can also do:
      to do the dumping after every draw/clear/copy/blit operation without
      flushing and waiting.
      Examples of driver states that can be dumped are:
      - Hardware status registers saying which hw block is busy (hung).
      - Disassembled shaders in a human-readable form.
      - The last submitted command buffer in a human-readable form.
      v2: drop pipe-loader changes, drop SConscript
          rename dd.h -> dd_pipe.h
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
  4. 21 Aug, 2015 1 commit
  5. 18 Aug, 2015 1 commit
  6. 14 Aug, 2015 2 commits
    • Marek Olšák's avatar
      winsys/amdgpu: add a new winsys for the new kernel driver · 2eb067db
      Marek Olšák authored
      v2: - lots of changes according to Emil Velikov's comments
          - implemented radeon_winsys::read_registers
      v3: - a lot of new work, many of them adapt to libdrm interface changes
      Squashed patches:
      winsys/amdgpu: implement radeon_winsys context support
      winsys/amdgpu: add reference counting for contexts
      winsys/amdgpu: add userptr support
      winsys/amdgpu: allocate IBs like normal buffers
      winsys/amdgpu: add IBs to the buffer list, adapt to interface changes
      winsys/amdgpu: don't use KMS handles as reloc hash keys
      winsys/amdgpu: sync buffer accesses to different rings
      winsys/amdgpu: use dependencies instead of waiting for last fence v2
      gallium/radeon: unify buffer_wait and buffer_is_busy in the winsys interface (amdgpu part)
      winsys/amdgpu: track fences per ring and be thread-safe
      winsys/amdgpu: simplify waiting on a variable in amdgpu_fence_wait
      gallium/radeon: allow the winsys to choose the IB size (amdgpu part)
      winsys/amdgpu: switch to new amdgpu_cs_query_fence_status interface
      winsys/amdgpu: handle fence and dependencies merge
      winsys/amdgpu follow libdrm change to move user fence into UMD
      winsys/amdgpu: use amdgpu_bo_va_op for va map/unmap v2
      winsys/amdgpu: use the new tiling flags
      winsys/amdgpu: switch to new GTT_USWC definition
      winsys/amdgpu: expose amdgpu_cs_query_reset_state to drivers
      winsys/amdgpu: fix valgrind warnings
      winsys/amdgpu: don't use VRAM with APUs that don't have much of it
      winsys/amdgpu: require LLVM 3.6.1 for VI because of bug fixes there
      winsys/amdgpu: remove amdgpu_winsys::num_cpus
      winsys/amdgpu: align BO size to page size
      winsys/amdgpu: reduce BO cache timeout
      winsys/amdgpu: remove useless flushing and waiting in amdgpu_bo_set_tiling
      winsys/amdgpu: use amdgpu_device_handle as a unique device ID instead of fd
      winsys/amdgpu: use safer access to amdgpu_fence_wait::signalled
      winsys/amdgpu: allow maximum IB size of 4 MB
      winsys/amdgpu: add ip_instance into amdgpu_fence
      gallium/radeon: add RING_COMPUTE instead of RADEON_FLUSH_COMPUTE
      winsys/amdgpu: set the ring type at CS initilization
      winsys/amdgpu: query the GART page size from the kernel
      winsys/amdgpu: correctly wait for shared buffers to become idle
      winsys/amdgpu: set the amdgpu_cs_fence structure only once at fence creation
      winsys/amdgpu: add a specific error message for cs_submit -> -ENOMEM
      winsys/amdgpu: check num_active_ioctls before calling amdgpu_bo_wait_for_idle
      winsys/amdgpu: clear user fence BO after allocating it
      winsys/amdgpu: fix user fences
      winsys/amdgpu: make amdgpu_winsys_create public
      winsys/amdgpu: remove thread offloading
      winsys/amdgpu: flatten the amdgpu_cs_context structure and simplify more
      v4: require libdrm 2.4.63
    • Christian König's avatar
      st/vdpau: add HEVC support v2 · 5609a698
      Christian König authored
      v2: fix return code
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarLeo Liu <leo.liu@amd.com>
  7. 11 Aug, 2015 1 commit
  8. 03 Aug, 2015 2 commits
  9. 01 Aug, 2015 5 commits
  10. 22 Jul, 2015 3 commits
  11. 17 Jul, 2015 1 commit
    • Eric Anholt's avatar
      mesa: Detect and provide macros for function attributes pure and const. · be1f49bd
      Eric Anholt authored
      These are really useful hints to the compiler in the absence of link-time
      optimization, and I'm going to use them in VC4.
      I've made the const attribute be ATTRIBUTE_CONST unlike other function
      attributes, because we have other things in the tree #defining CONST for
      their own unrelated purposes.
      v2: Alphabetize.
      Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
  12. 13 Jul, 2015 4 commits
  13. 08 Jul, 2015 1 commit
    • Julien Isorce's avatar
      darwin: Suppress type conversion warnings for GLhandleARB · c7f36574
      Julien Isorce authored
      This patch and its description are inspired from Jose Fonseca
      explanations and suggestions.
      With this patch the following logic applies and only if __APPLE__:
      When building mesa, GLhandleARB is defined as unsigned long and
      at some point casted to GLuint in gl fuction implementations.
      These exact points are where these errors and warnings appear.
      When building an application GLhandleARB is defined as void*.
      Later when calling a gl function, for example glBindAttribLocationARB,
      it will be dispatched to _mesa_BindAttribLocation. So internally
      void* will be treated as unsigned long which has the same size.
      So the same truncation happens when casting it to GLuint.
      Same when GLhandleARB appears as return value.
      For mesa it will be GLuint -> unsigned long.
      For an application it will be GLuint -> unsigned long -> void*.
      Note that the value will be preserved when casting back to GLuint.
      When GLhandleARB appears as a pointer there are also separate
      entry-points, i.e. _mesa_FuncNameARB. So the same logic can
      be applied.
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66346Signed-off-by: default avatarJulien Isorce <julien.isorce@gmail.com>
      Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
      Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
  14. 06 Jul, 2015 1 commit
  15. 01 Jul, 2015 2 commits
  16. 26 Jun, 2015 1 commit
  17. 23 Jun, 2015 5 commits
  18. 16 Jun, 2015 2 commits
  19. 13 Jun, 2015 1 commit
  20. 09 Jun, 2015 1 commit
    • Eric Anholt's avatar
      vc4: Drop subdirectory in vc4 build. · 8d10b2a0
      Eric Anholt authored
      Just because we put the source in a subdir, doesn't mean we need helper
      libraries in the build.  This will also simplify the Android build setup.
  21. 29 May, 2015 3 commits