1. 07 12月, 2017 1 次提交
    • P
      drm/amd/amdgpu: fix UVD mc offsets · c1fe75c9
      Piotr Redlewski 提交于
      When UVD bo is created, its size is based on the information from firmware
      header (ucode_size_bytes). The same value should be be used when programming
      UVD mc controller offsets, otherwise it can happen that
      (mmUVD_VCPU_CACHE_OFFSET2 + mmUVD_VCPU_CACHE_SIZE2) will point
      AMDGPU_GPU_PAGE_SIZE bytes after the UVD bo end.
      
      Second issue is that when programming the mmUVD_VCPU_CACHE_SIZE0 register,
      AMDGPU_UVD_FIRMWARE_OFFSET should be taken into account. If it isn't,
      (mmUVD_VCPU_CACHE_OFFSET2 + mmUVD_VCPU_CACHE_SIZE2) will always point
      AMDGPU_UVD_FIRMWARE_OFFSET bytes after the UVD bo end.
      
      v2: move firmware size calculation into macro definition
      v3: align firmware size to the gpu page size
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NPiotr Redlewski <predlewski@gmail.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c1fe75c9
  2. 05 12月, 2017 1 次提交
  3. 05 4月, 2017 1 次提交
  4. 30 3月, 2017 2 次提交
  5. 17 2月, 2017 1 次提交
  6. 14 2月, 2017 1 次提交
  7. 09 2月, 2017 2 次提交
  8. 18 1月, 2017 1 次提交
  9. 16 11月, 2016 1 次提交
  10. 11 11月, 2016 1 次提交
  11. 28 10月, 2016 1 次提交
  12. 26 10月, 2016 4 次提交
  13. 17 9月, 2016 1 次提交
  14. 25 8月, 2016 1 次提交
  15. 30 7月, 2016 2 次提交
  16. 08 7月, 2016 1 次提交
  17. 12 5月, 2016 3 次提交
  18. 05 5月, 2016 3 次提交
  19. 05 4月, 2016 1 次提交
  20. 13 2月, 2016 1 次提交
  21. 11 2月, 2016 5 次提交
  22. 08 2月, 2016 3 次提交
  23. 21 10月, 2015 1 次提交
  24. 24 9月, 2015 1 次提交