1. 05 3月, 2022 2 次提交
  2. 19 2月, 2022 1 次提交
  3. 14 12月, 2021 1 次提交
    • L
      drm/amdgpu: fix incorrect VCN revision in SRIOV · c40bdfb2
      Leslie Shi 提交于
      Guest OS will setup VCN instance 1 which is disabled as an enabled instance and
      execute initialization work on it, but this causes VCN ib ring test failure
      on the disabled VCN instance during modprobe:
      
      amdgpu 0000:00:08.0: amdgpu: ring vcn_enc_1.0 uses VM inv eng 5 on hub 1
      amdgpu 0000:00:08.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on vcn_dec_0 (-110).
      amdgpu 0000:00:08.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on vcn_enc_0.0 (-110).
      [drm:amdgpu_device_delayed_init_work_handler [amdgpu]] *ERROR* ib ring test failed (-110).
      
      v2: drop amdgpu_discovery_get_vcn_version and rename sriov_config to
      vcn_config
      v3: modify VCN's revision in SR-IOV and bare-metal
      
      Fixes: baf3f8f3 ("drm/amdgpu: handle SRIOV VCN revision parsing")
      Signed-off-by: NLeslie Shi <Yuliang.Shi@amd.com>
      Reviewed-by: NLijo Lazar <lijo.lazar@amd.com>
      Reviewed-by: NGuchun Chen <guchun.chen@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c40bdfb2
  4. 03 12月, 2021 1 次提交
  5. 02 12月, 2021 2 次提交
  6. 11 11月, 2021 1 次提交
  7. 22 10月, 2021 1 次提交
  8. 09 10月, 2021 1 次提交
  9. 05 10月, 2021 2 次提交
  10. 15 9月, 2021 1 次提交
  11. 02 9月, 2021 1 次提交
  12. 26 8月, 2021 1 次提交
  13. 19 6月, 2021 1 次提交
  14. 10 6月, 2021 1 次提交
    • A
      drm/amdgpu/vcn: drop gfxoff control for VCN2+ · 2c1b1ac7
      Alex Deucher 提交于
      Drop disabling of gfxoff during VCN use.  This allows gfxoff
      to kick in and potentially save power if the user is not using
      gfx for color space conversion or scaling.
      
      VCN1.0 had a bug which prevented it from working properly with
      gfxoff, so we disabled it while using VCN.  That said, most apps
      today use gfx for scaling and color space conversion rather than
      overlay planes so it was generally in use anyway. This was fixed
      on VCN2+, but since we mostly use gfx for color space conversion
      and scaling and rapidly powering up/down gfx can negate the
      advantages of gfxoff, we left gfxoff disabled. As more
      applications use overlay planes for color space conversion
      and scaling, this starts to be a win, so go ahead and leave
      gfxoff enabled.
      
      Note that VCN1.0 uses vcn_v1_0_idle_work_handler() and
      vcn_v1_0_ring_begin_use() so they are not affected by this
      patch.
      Reviewed-by: NJames Zhu <James.Zhu@amd.com>
      Acked-by: NChristian König <christian.koenig@amd.com>
      Reviewed-by: NBoyuan Zhang <Boyuan.Zhang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      2c1b1ac7
  15. 05 6月, 2021 1 次提交
  16. 20 5月, 2021 2 次提交
  17. 24 3月, 2021 2 次提交
  18. 16 12月, 2020 1 次提交
  19. 10 12月, 2020 1 次提交
    • N
      drm/amdgpu: clean up bo in vce and vcn test · e18d9a2b
      Nirmoy Das 提交于
      BO created with amdgpu_bo_create_reserved() wasn't clean
      properly before, which causes:
      
      [   21.056218] WARNING: CPU: 0 PID: 7 at drivers/gpu/drm/ttm/ttm_bo.c:518 ttm_bo_release+0x2bf/0x310 [ttm]
      <snip>
      [   21.056430] Call Trace:
      [   21.056525]  amdgpu_bo_unref+0x1a/0x30 [amdgpu]
      [   21.056635]  amdgpu_vcn_dec_send_msg+0x1b2/0x270 [amdgpu]
      [   21.056740]  amdgpu_vcn_dec_get_create_msg.constprop.0+0xd8/0x100 [amdgpu]
      [   21.056843]  amdgpu_vcn_dec_ring_test_ib+0x27/0x180 [amdgpu]
      [   21.056936]  amdgpu_ib_ring_tests+0xf1/0x150 [amdgpu]
      [   21.057024]  amdgpu_device_delayed_init_work_handler+0x11/0x30 [amdgpu]
      [   21.057030]  process_one_work+0x1df/0x370
      [   21.057033]  worker_thread+0x46/0x340
      [   21.057034]  ? process_one_work+0x370/0x370
      [   21.057037]  kthread+0x11b/0x140
      [   21.057039]  ? __kthread_bind_mask+0x60/0x60
      [   21.057043]  ret_from_fork+0x22/0x30
      Signed-off-by: NNirmoy Das <nirmoy.das@amd.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Link: https://patchwork.freedesktop.org/patch/406382/Signed-off-by: NChristian König <christian.koenig@amd.com>
      e18d9a2b
  20. 25 11月, 2020 2 次提交
  21. 05 11月, 2020 1 次提交
  22. 04 11月, 2020 1 次提交
  23. 03 11月, 2020 2 次提交
  24. 15 10月, 2020 2 次提交
  25. 13 10月, 2020 1 次提交
  26. 08 10月, 2020 1 次提交
  27. 06 10月, 2020 1 次提交
  28. 22 7月, 2020 2 次提交
  29. 16 7月, 2020 2 次提交
  30. 01 7月, 2020 1 次提交