1. 17 7月, 2018 3 次提交
  2. 28 12月, 2017 2 次提交
  3. 18 12月, 2017 1 次提交
  4. 16 12月, 2017 1 次提交
  5. 08 12月, 2017 1 次提交
  6. 07 12月, 2017 1 次提交
  7. 05 12月, 2017 4 次提交
  8. 20 10月, 2017 3 次提交
  9. 10 10月, 2017 1 次提交
    • A
      drm/amdgpu: add framework for HW specific priority settings v9 · b2ff0e8a
      Andres Rodriguez 提交于
      Add an initial framework for changing the HW priorities of rings. The
      framework allows requesting priority changes for the lifetime of an
      amdgpu_job. After the job completes the priority will decay to the next
      lowest priority for which a request is still valid.
      
      A new ring function set_priority() can now be populated to take care of
      the HW specific programming sequence for priority changes.
      
      v2: set priority before emitting IB, and take a ref on amdgpu_job
      v3: use AMD_SCHED_PRIORITY_* instead of AMDGPU_CTX_PRIORITY_*
      v4: plug amdgpu_ring_restore_priority_cb into amdgpu_job_free_cb
      v5: use atomic for tracking job priorities instead of last_job
      v6: rename amdgpu_ring_priority_[get/put]() and align parameters
      v7: replace spinlocks with mutexes for KIQ compatibility
      v8: raise ring priority during cs_ioctl, instead of job_run
      v9: priority_get() before push_job()
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Acked-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAndres Rodriguez <andresx7@gmail.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      b2ff0e8a
  10. 14 7月, 2017 1 次提交
  11. 25 5月, 2017 6 次提交
  12. 11 5月, 2017 1 次提交
  13. 29 4月, 2017 1 次提交
  14. 28 1月, 2017 1 次提交
  15. 25 10月, 2016 1 次提交
    • C
      dma-buf: Rename struct fence to dma_fence · f54d1867
      Chris Wilson 提交于
      I plan to usurp the short name of struct fence for a core kernel struct,
      and so I need to rename the specialised fence/timeline for DMA
      operations to make room.
      
      A consensus was reached in
      https://lists.freedesktop.org/archives/dri-devel/2016-July/113083.html
      that making clear this fence applies to DMA operations was a good thing.
      Since then the patch has grown a bit as usage increases, so hopefully it
      remains a good thing!
      
      (v2...: rebase, rerun spatch)
      v3: Compile on msm, spotted a manual fixup that I broke.
      v4: Try again for msm, sorry Daniel
      
      coccinelle script:
      @@
      
      @@
      - struct fence
      + struct dma_fence
      @@
      
      @@
      - struct fence_ops
      + struct dma_fence_ops
      @@
      
      @@
      - struct fence_cb
      + struct dma_fence_cb
      @@
      
      @@
      - struct fence_array
      + struct dma_fence_array
      @@
      
      @@
      - enum fence_flag_bits
      + enum dma_fence_flag_bits
      @@
      
      @@
      (
      - fence_init
      + dma_fence_init
      |
      - fence_release
      + dma_fence_release
      |
      - fence_free
      + dma_fence_free
      |
      - fence_get
      + dma_fence_get
      |
      - fence_get_rcu
      + dma_fence_get_rcu
      |
      - fence_put
      + dma_fence_put
      |
      - fence_signal
      + dma_fence_signal
      |
      - fence_signal_locked
      + dma_fence_signal_locked
      |
      - fence_default_wait
      + dma_fence_default_wait
      |
      - fence_add_callback
      + dma_fence_add_callback
      |
      - fence_remove_callback
      + dma_fence_remove_callback
      |
      - fence_enable_sw_signaling
      + dma_fence_enable_sw_signaling
      |
      - fence_is_signaled_locked
      + dma_fence_is_signaled_locked
      |
      - fence_is_signaled
      + dma_fence_is_signaled
      |
      - fence_is_later
      + dma_fence_is_later
      |
      - fence_later
      + dma_fence_later
      |
      - fence_wait_timeout
      + dma_fence_wait_timeout
      |
      - fence_wait_any_timeout
      + dma_fence_wait_any_timeout
      |
      - fence_wait
      + dma_fence_wait
      |
      - fence_context_alloc
      + dma_fence_context_alloc
      |
      - fence_array_create
      + dma_fence_array_create
      |
      - to_fence_array
      + to_dma_fence_array
      |
      - fence_is_array
      + dma_fence_is_array
      |
      - trace_fence_emit
      + trace_dma_fence_emit
      |
      - FENCE_TRACE
      + DMA_FENCE_TRACE
      |
      - FENCE_WARN
      + DMA_FENCE_WARN
      |
      - FENCE_ERR
      + DMA_FENCE_ERR
      )
       (
       ...
       )
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      Acked-by: NSumit Semwal <sumit.semwal@linaro.org>
      Acked-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/20161025120045.28839-1-chris@chris-wilson.co.uk
      f54d1867
  16. 15 9月, 2016 1 次提交
    • B
      drm/amdgpu: mark symbols static where possible · 761c2e82
      Baoyou Xie 提交于
      We get a few warnings when building kernel with W=1:
      drivers/gpu/drm/amd/amdgpu/cz_smc.c:51:5: warning: no previous prototype for 'cz_send_msg_to_smc_async' [-Wmissing-prototypes]
      drivers/gpu/drm/amd/amdgpu/cz_smc.c:143:5: warning: no previous prototype for 'cz_write_smc_sram_dword' [-Wmissing-prototypes]
      drivers/gpu/drm/amd/amdgpu/iceland_smc.c:124:6: warning: no previous prototype for 'iceland_start_smc' [-Wmissing-prototypes]
      drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:3926:6: warning: no previous prototype for 'gfx_v8_0_rlc_stop' [-Wmissing-prototypes]
      drivers/gpu/drm/amd/amdgpu/amdgpu_job.c:94:6: warning: no previous prototype for 'amdgpu_job_free_cb' [-Wmissing-prototypes]
      ....
      
      In fact, these functions are only used in the file in which they are
      declared and don't need a declaration, but can be made static.
      So this patch marks these functions with 'static'.
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Acked-by: NHuang Rui <ray.huang@amd.com>
      Reviewed-by: NEdward O'Callaghan <funfunctor@folklore1984.net>
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      761c2e82
  17. 13 9月, 2016 1 次提交
  18. 15 7月, 2016 1 次提交
  19. 08 7月, 2016 9 次提交