1. 25 5月, 2017 1 次提交
  2. 29 4月, 2017 3 次提交
  3. 30 3月, 2017 13 次提交
  4. 28 1月, 2017 1 次提交
    • A
      drm/amd/amdgpu: get maximum and used UVD handles (v4) · 44879b62
      Arindam Nath 提交于
      Change History
      --------------
      
      v4: Changes suggested by Emil, Christian
      - return -ENODATA for asics with unlimited sessions
      
      v3: changes suggested by Christian
      - Add a check for UVD IP block using AMDGPU_HW_IP_UVD
        query type.
      - Add a check for asic_type to be less than
        CHIP_POLARIS10 since starting Polaris, we support
        unlimited UVD instances.
      - Add kerneldoc style comment for
        amdgpu_uvd_used_handles().
      
      v2: as suggested by Christian
      - Add a new query AMDGPU_INFO_NUM_HANDLES
      - Create a helper function to return the number
        of currently used UVD handles.
      - Modify the logic to count the number of used
        UVD handles since handles can be freed in
        non-linear fashion.
      
      v1:
      - User might want to query the maximum number of UVD
        instances supported by firmware. In addition to that,
        if there are multiple applications using UVD handles
        at the same time, he might also want to query the
        currently used number of handles.
      
        For this we add two variables max_handles and
        used_handles inside drm_amdgpu_info_hw_ip. So now
        an application (or libdrm) can use AMDGPU_INFO IOCTL
        with AMDGPU_INFO_HW_IP_INFO query type to get these
        values.
      Signed-off-by: NArindam Nath <arindam.nath@amd.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      44879b62
  5. 09 12月, 2016 1 次提交
  6. 09 11月, 2016 1 次提交
  7. 26 10月, 2016 6 次提交
  8. 01 9月, 2016 1 次提交
  9. 23 8月, 2016 1 次提交
  10. 16 8月, 2016 1 次提交
  11. 08 8月, 2016 1 次提交
  12. 08 7月, 2016 1 次提交
  13. 13 5月, 2016 1 次提交
  14. 10 12月, 2015 1 次提交
  15. 22 10月, 2015 1 次提交
  16. 30 7月, 2015 1 次提交
  17. 23 7月, 2015 1 次提交
  18. 30 6月, 2015 2 次提交
  19. 10 6月, 2015 2 次提交