1. 16 8月, 2017 2 次提交
  2. 26 7月, 2017 1 次提交
  3. 14 7月, 2017 13 次提交
  4. 01 7月, 2017 1 次提交
  5. 30 6月, 2017 1 次提交
    • A
      drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init · 27bad5b9
      Arnd Bergmann 提交于
      The debugfs interface has calls a function that was evidently
      defined under the wrong name in some configurations:
      
      drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:64:12: error: 'amdgpu_debugfs_test_ib_ring_init' used but never defined [-Werror]
      drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3803:12: error: 'amdgpu_debugfs_test_ib_init' defined but not used [-Werror=unused-function]
      
      This fixes the function name.
      
      Fixes: 4f0955fc ("drm/amdgpu: export test ib debugfs interface")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      27bad5b9
  6. 17 6月, 2017 1 次提交
  7. 15 6月, 2017 3 次提交
  8. 09 6月, 2017 1 次提交
  9. 07 6月, 2017 4 次提交
  10. 02 6月, 2017 1 次提交
  11. 01 6月, 2017 2 次提交
    • A
      drm/amdgpu: implement lru amdgpu_queue_mgr policy for compute v4 · 795f2813
      Andres Rodriguez 提交于
      Use an LRU policy to map usermode rings to HW compute queues.
      
      Most compute clients use one queue, and usually the first queue
      available. This results in poor pipe/queue work distribution when
      multiple compute apps are running. In most cases pipe 0 queue 0 is
      the only queue that gets used.
      
      In order to better distribute work across multiple HW queues, we adopt
      a policy to map the usermode ring ids to the LRU HW queue.
      
      This fixes a large majority of multi-app compute workloads sharing the
      same HW queue, even though 7 other queues are available.
      
      v2: use ring->funcs->type instead of ring->hw_ip
      v3: remove amdgpu_queue_mapper_funcs
      v4: change ring_lru_list_lock to spinlock, grab only once in lru_get()
      Signed-off-by: NAndres Rodriguez <andresx7@gmail.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      795f2813
    • S
      drm/amdgpu: optimize amdgpu driver load & resume time · 2dc80b00
      Shirish S 提交于
      amdgpu_device_resume() & amdgpu_device_init() have a high
      time consuming call of amdgpu_late_init() which sets the
      clock_gating state of all IP blocks and is blocking.
      This patch defers only this setting of clock gating state
      operation to post resume of amdgpu driver but ideally before
      the UI comes up or in some cases post ui as well.
      
      With this change the resume time of amdgpu_device comes down
      from 1.299s to 0.199s which further helps in reducing the overall
      system resume time.
      
      V1: made the optimization applicable during driver load as well.
      
      TEST:(For ChromiumOS on STONEY only)
      * UI comes up
      * amdgpu_late_init() call gets called consistently and no errors reported.
      Signed-off-by: NShirish S <shirish.s@amd.com>
      Reviewed-by: NHuang Rui <ray.huang@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      2dc80b00
  12. 25 5月, 2017 10 次提交