1. 22 6月, 2019 2 次提交
    • X
      drm/amdgpu/discovery: add ip discovery initial support · f39f5bb1
      Xiaojie Yuan 提交于
      The IP discovery table lists is populated by the psp at power on
      and includes all of the hw details on the board:
      - List of IPs and MMIO offsets
      - IP harvest details
      - IP configuration details
      
      v2: prefix struct and function names with 'amdgpu'
      v3: read table binary from vram using mmMM_INDEX and mmMM_DATA
          update TABLE_BINARY_MAX_SIZE to 64kb (1 TMR)
          add 'instance_number' field per ip info
          consider endianness and replace uint8/16/32_t with u8/16/32
          initialize register base addresses
          initialize adev->gfx.config and adev->gfx.cu_info to replace gpu info fw
          get major and minor version using a single api
          don't expose internal data structures in amdgpu_discovery.h
      v4: RCC_CONFIG_MEMSIZE is in MB units
          hold mmio_idx_lock while reading ip discovery binary
      v5: pick out discovery.h as a cross-OS header
          do structure pointer cast directly
          consider endianness while using the member of structure
          convert base addresses to dword
      
      at boot up, PSP BL copies ip discovery binary from VBIOS(SPIROM) image to the
      top of the frame buffer (just below the reserved regions for PSP & SMU).
      
      ip discovery data table includes the collection of each ip's identification
      number, base addresses, version number, and harvest setting placeholder.
      
      gc data table includes gfx info structure.
      Signed-off-by: NXiaojie Yuan <xiaojie.yuan@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      f39f5bb1
    • J
      drm/amdgpu: add mcbp unit test in debugfs (v3) · 6698a3d0
      Jack Xiao 提交于
      The MCBP unit test is used to test the functionality of MCBP.
      It emualtes to send preemption request and resubmit the unfinished
      jobs.
      
      v2: squash in fixes (Alex)
      v3: squash in memory leak fix (Jack)
      Acked-by: NHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: NJack Xiao <Jack.Xiao@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      6698a3d0
  2. 21 6月, 2019 5 次提交
  3. 12 6月, 2019 2 次提交
  4. 06 6月, 2019 1 次提交
    • A
      drm/amdgpu: fix a race in GPU reset with IB test (v2) · beff74bc
      Alex Deucher 提交于
      Split late_init into two functions, one (do_late_init) which
      just does the hw init, and late_init which calls do_late_init
      and schedules the IB test work.  Call do_late_init in
      the GPU reset code to run the init code, but not schedule
      the IB test code.  The IB test code is called directly
      in the gpu reset code so no need to run the IB tests
      in a separate work thread.  If we do, we end up racing.
      
      v2: Rework late_init.  Pull out the mgpu fan boost and xgmi
      pstate code into late_init so they get called in all cases.
      rename the late_init worker thread to delayed work since it's
      just the IB tests now which can happen later.  Schedule the
      work at init and resume time.  It's not needed at reset time
      because the IB tests are called directly.
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Cc: Xinhui Pan <xinhui.pan@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      beff74bc
  5. 25 5月, 2019 5 次提交
  6. 13 4月, 2019 1 次提交
  7. 03 4月, 2019 1 次提交
  8. 22 3月, 2019 1 次提交
  9. 20 3月, 2019 5 次提交
  10. 16 2月, 2019 1 次提交
  11. 26 1月, 2019 1 次提交
  12. 15 1月, 2019 2 次提交
  13. 11 12月, 2018 1 次提交
  14. 08 12月, 2018 1 次提交
  15. 05 12月, 2018 1 次提交
  16. 04 12月, 2018 1 次提交
  17. 29 11月, 2018 7 次提交
  18. 27 11月, 2018 1 次提交
  19. 08 11月, 2018 1 次提交