1. 14 11月, 2020 3 次提交
  2. 13 11月, 2020 1 次提交
    • L
      drm/amd/amdgpu/amdgpu_display: Remove pointless header · 4a00eb18
      Lee Jones 提交于
      It seems only to repeat the function name.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'amdgpu_connector' not described in 'amdgpu_display_ddc_probe'
       drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'use_aux' not described in 'amdgpu_display_ddc_probe'
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: report to <xorg-driver-ati@lists.x.org>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      4a00eb18
  3. 11 11月, 2020 2 次提交
  4. 31 10月, 2020 2 次提交
  5. 17 10月, 2020 1 次提交
  6. 30 9月, 2020 2 次提交
    • J
      drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config · a39d0d7b
      Jean Delvare 提交于
      A recent attempt to fix a ref count leak in
      amdgpu_display_crtc_set_config() turned out to be doing too much and
      "fixed" an intended decrease as if it were a leak. Undo that part to
      restore the proper balance. This is the very nature of this function
      to increase or decrease the power reference count depending on the
      situation.
      
      Consequences of this bug is that the power reference would
      eventually get down to 0 while the display was still in use,
      resulting in that display switching off unexpectedly.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Fixes: e008fa6f ("drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config")
      Cc: stable@vger.kernel.org
      Cc: Navid Emamdoost <navid.emamdoost@gmail.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      a39d0d7b
    • J
      drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config · 3514521c
      Jean Delvare 提交于
      A recent attempt to fix a ref count leak in
      amdgpu_display_crtc_set_config() turned out to be doing too much and
      "fixed" an intended decrease as if it were a leak. Undo that part to
      restore the proper balance. This is the very nature of this function
      to increase or decrease the power reference count depending on the
      situation.
      
      Consequences of this bug is that the power reference would
      eventually get down to 0 while the display was still in use,
      resulting in that display switching off unexpectedly.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Fixes: e008fa6f ("drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config")
      Cc: stable@vger.kernel.org
      Cc: Navid Emamdoost <navid.emamdoost@gmail.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      3514521c
  7. 24 9月, 2020 1 次提交
  8. 25 8月, 2020 2 次提交
  9. 01 7月, 2020 1 次提交
  10. 23 5月, 2020 1 次提交
  11. 20 5月, 2020 1 次提交
  12. 13 2月, 2020 2 次提交
  13. 14 1月, 2020 1 次提交
  14. 23 11月, 2019 1 次提交
  15. 21 11月, 2019 1 次提交
  16. 19 11月, 2019 1 次提交
  17. 14 11月, 2019 1 次提交
  18. 25 10月, 2019 1 次提交
  19. 03 10月, 2019 1 次提交
  20. 13 8月, 2019 1 次提交
  21. 06 8月, 2019 1 次提交
  22. 31 7月, 2019 3 次提交
  23. 11 6月, 2019 1 次提交
  24. 25 5月, 2019 1 次提交
  25. 16 1月, 2019 2 次提交
  26. 15 1月, 2019 1 次提交
  27. 09 1月, 2019 2 次提交
  28. 03 1月, 2019 1 次提交
  29. 29 11月, 2018 1 次提交
    • N
      drm/amdgpu: Correct get_crtc_scanoutpos behavior when vpos >= vtotal · 520f08df
      Nicholas Kazlauskas 提交于
      When variable refresh rate is active the hardware counter can return
      a position >= vtotal. This results in a vpos being returned from
      amdgpu_display_get_crtc_scanoutpos that's a positive value. The
      positive value indicates to the caller that the display is
      currently in scanout when the display is actually still in vblank.
      
      This is because the vfront porch duration is unknown with variable
      refresh active and will end when either a page flip occurs or the
      timeout specified by the driver/display is reached.
      
      The behavior of the amdgpu_display_get_crtc_scanoutpos remains the
      same when the position is below vtotal. When the position is above
      vtotal the function will return a value that is effectively -vbl_end,
      the size of the vback porch.
      
      The only caller affected by this change is the DRM helper for
      calculating vblank timestamps. This change corrects behavior for
      calculating the page flip timestamp from being the previous timestamp
      to the calculation to the next timestamp when position >= vtotal.
      Signed-off-by: NNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
      Reviewed-by: NHarry Wentland <harry.wentland@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      520f08df