1. 13 9月, 2017 5 次提交
  2. 01 9月, 2017 1 次提交
  3. 30 8月, 2017 1 次提交
  4. 18 8月, 2017 4 次提交
  5. 16 8月, 2017 8 次提交
  6. 26 7月, 2017 1 次提交
  7. 14 7月, 2017 15 次提交
  8. 30 6月, 2017 2 次提交
  9. 20 6月, 2017 1 次提交
    • A
      drm/amdgpu: Optimize mutex usage (v4) · 5ac55629
      Alex Xie 提交于
      In original function amdgpu_bo_list_get, the waiting
      for result->lock can be quite long while mutex
      bo_list_lock was holding. It can make other tasks
      waiting for bo_list_lock for long period.
      
      Secondly, this patch allows several tasks(readers of idr)
      to proceed at the same time.
      
      v2: use rcu and kref (Dave Airlie and Christian König)
      v3: update v1 commit message (Michel Dänzer)
      v4: rebase on upstream (Alex Deucher)
      Signed-off-by: NAlex Xie <AlexBin.Xie@amd.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      5ac55629
  10. 17 6月, 2017 1 次提交
    • D
      amdgpu: use drm sync objects for shared semaphores (v6) · 660e8558
      Dave Airlie 提交于
      This creates a new command submission chunk for amdgpu
      to add in and out sync objects around the submission.
      
      Sync objects are managed via the drm syncobj ioctls.
      
      The command submission interface is enhanced with two new
      chunks, one for syncobj pre submission dependencies,
      and one for post submission sync obj signalling,
      and just takes a list of handles for each.
      
      This is based on work originally done by David Zhou at AMD,
      with input from Christian Konig on what things should look like.
      
      In theory VkFences could be backed with sync objects and
      just get passed into the cs as syncobj handles as well.
      
      NOTE: this interface addition needs a version bump to expose
      it to userspace.
      
      TODO: update to dep_sync when rebasing onto amdgpu master.
      (with this - r-b from Christian)
      
      v1.1: keep file reference on import.
      v2: move to using syncobjs
      v2.1: change some APIs to just use p pointer.
      v3: make more robust against CS failures, we now add the
      wait sems but only remove them once the CS job has been
      submitted.
      v4: rewrite names of API and base on new syncobj code.
      v5: move post deps earlier, rename some apis
      v6: lookup post deps earlier, and just replace fences
      in post deps stage (Christian)
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      660e8558
  11. 15 6月, 2017 1 次提交
    • H
      drm/amdgpu: fix missed gpu info firmware when cache firmware during S3 · ab4fe3e1
      Huang Rui 提交于
      gpu_info firmware is released after data is used. But when system enters into
      suspend, upper class driver will cache all firmware names. At that time,
      gpu_info will be failing to load. It seems an upper class issue, that we should
      not release gpu_info firmware until device finished.
      
      [  903.236589] cache_firmware: amdgpu/vega10_sdma1.bin
      [  903.236590] fw_set_page_data: fw-amdgpu/vega10_sdma1.bin buf=ffff88041eee10c0 data=ffffc90002561000 size=17408
      [  903.236591] cache_firmware: amdgpu/vega10_sdma1.bin ret=0
      [  903.464160] __allocate_fw_buf: fw-amdgpu/vega10_gpu_info.bin buf=ffff88041eee2c00
      [  903.471815] (NULL device *): loading /lib/firmware/updates/4.11.0-custom/amdgpu/vega10_gpu_info.bin failed with error -2
      [  903.482870] (NULL device *): loading /lib/firmware/updates/amdgpu/vega10_gpu_info.bin failed with error -2
      [  903.492716] (NULL device *): loading /lib/firmware/4.11.0-custom/amdgpu/vega10_gpu_info.bin failed with error -2
      [  903.503156] (NULL device *): direct-loading amdgpu/vega10_gpu_info.bin
      Signed-off-by: NHuang Rui <ray.huang@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      ab4fe3e1