1. 23 7月, 2021 1 次提交
  2. 15 7月, 2021 1 次提交
  3. 01 7月, 2021 2 次提交
    • L
      drm/amdgpu: Use explicit cardinality for clarity · e4e6a589
      Luben Tuikov 提交于
      RAS_MAX_RECORD_NUM may mean the maximum record
      number, as in the maximum house number on your
      street, or it may mean the maximum number of
      records, as in the count of records, which is also
      a number. To make this distinction whether the
      number is ordinal (index) or cardinal (count),
      rename this macro to RAS_MAX_RECORD_COUNT.
      
      This makes it easy to understand what it refers
      to, especially when we compute quantities such as,
      how many records do we have left in the table,
      especially when there are so many other numbers,
      quantities and numerical macros around.
      
      Also rename the long,
      amdgpu_ras_eeprom_get_record_max_length() to the
      more succinct and clear,
      amdgpu_ras_eeprom_max_record_count().
      
      When computing the threshold, which also deals
      with counts, i.e. "how many", use cardinal
      "max_eeprom_records_count", than the quantitative
      "max_eeprom_records_len".
      
      Simplify the logic here and there, as well.
      
      Cc: Guchun Chen <guchun.chen@amd.com>
      Cc: John Clements <john.clements@amd.com>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Cc: Alexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NLuben Tuikov <luben.tuikov@amd.com>
      Acked-by: NAlexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      e4e6a589
    • A
      drm/amdgpu: add new dimgrey cavefish DID · 06ac9b6c
      Alex Deucher 提交于
      Add new PCI device id.
      Reviewed-by: NGuchun Chen <guchun.chen@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      06ac9b6c
  4. 30 6月, 2021 1 次提交
  5. 19 6月, 2021 1 次提交
    • R
      drm/amd/display: Add Freesync video documentation · 5fd953a3
      Rodrigo Siqueira 提交于
      Recently, we added support for an experimental feature named Freesync
      video; for more details on that, refer to:
      
      commit 6f59f229 ("drm/amd/display: Skip modeset for front porch change")
      commit d10cd527 ("drm/amd/display: Add freesync video modes based on preferred modes")
      commit 0eb1af2e ("drm/amd/display: Add module parameter for freesync video mode")
      
      Nevertheless, we did not document it in detail in our driver. This
      commit introduces a kernel-doc and expands the module parameter
      description.
      
      Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: Harry Wentland <Harry.Wentland@amd.com>
      Signed-off-by: NRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Reviewed by: Aurabindo Pillai <aurabindo.pillai@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      5fd953a3
  6. 05 6月, 2021 1 次提交
  7. 02 6月, 2021 1 次提交
  8. 28 5月, 2021 1 次提交
  9. 27 5月, 2021 1 次提交
    • T
      drm/amdgpu: Implement mmap as GEM object function · 71df0368
      Thomas Zimmermann 提交于
      Moving the driver-specific mmap code into a GEM object function allows
      for using DRM helpers for various mmap callbacks.
      
      This change resolves several inconsistencies between regular mmap and
      prime-based mmap. The vm_ops field in vma is now set for all mmap'ed
      areas. Previously it way only set for regular mmap calls, prime-based
      mmap used TTM's default vm_ops. The function amdgpu_verify_access() is
      no longer being called and therefore removed by this patch.
      
      As a side effect, amdgpu_ttm_vm_ops and amdgpu_ttm_fault() are now
      implemented in amdgpu's GEM code.
      
      v4:
      	* rebased
      v3:
      	* rename mmap function to amdgpu_gem_object_mmap() (Christian)
      	* remove unnecessary checks from mmap (Christian)
      v2:
      	* rename amdgpu_ttm_vm_ops and amdgpu_ttm_fault() to
      	  amdgpu_gem_vm_ops and amdgpu_gem_fault() (Christian)
      	* the check for kfd_bo has meanwhile been removed
      Signed-off-by: NThomas Zimmermann <tzimmermann@suse.de>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210525151055.8174-3-tzimmermann@suse.de
      71df0368
  10. 25 5月, 2021 1 次提交
  11. 20 5月, 2021 3 次提交
  12. 11 5月, 2021 4 次提交
  13. 05 5月, 2021 1 次提交
  14. 29 4月, 2021 1 次提交
  15. 21 4月, 2021 2 次提交
  16. 14 4月, 2021 1 次提交
  17. 10 4月, 2021 6 次提交
  18. 24 3月, 2021 11 次提交