1. 27 5月, 2021 1 次提交
  2. 11 5月, 2021 3 次提交
  3. 06 5月, 2021 1 次提交
    • B
      drm/amdgpu: Use device specific BO size & stride check. · 234055fd
      Bas Nieuwenhuizen 提交于
      The builtin size check isn't really the right thing for AMD
      modifiers due to a couple of reasons:
      
      1) In the format structs we don't do set any of the tilesize / blocks
      etc. to avoid having format arrays per modifier/GPU
      2) The pitch on the main plane is pixel_pitch * bytes_per_pixel even
      for tiled ...
      3) The pitch for the DCC planes is really the pixel pitch of the main
      surface that would be covered by it ...
      
      Note that we only handle GFX9+ case but we do this after converting
      the implicit modifier to an explicit modifier, so on GFX9+ all
      framebuffers should be checked here.
      
      There is a TODO about DCC alignment, but it isn't worse than before
      and I'd need to dig a bunch into the specifics. Getting this out in
      a reasonable timeframe to make sure it gets the appropriate testing
      seemed more important.
      
      Finally as I've found that debugging addfb2 failures is a pita I was
      generous adding explicit error messages to every failure case.
      
      Fixes: f258907f ("drm/amdgpu: Verify bo size can fit framebuffer size on init.")
      Tested-by: NSimon Ser <contact@emersion.fr>
      Signed-off-by: NBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      234055fd
  4. 29 4月, 2021 2 次提交
  5. 16 4月, 2021 1 次提交
  6. 10 4月, 2021 3 次提交
  7. 24 3月, 2021 2 次提交
  8. 23 3月, 2021 1 次提交
  9. 03 2月, 2021 2 次提交
  10. 19 1月, 2021 1 次提交
  11. 13 1月, 2021 1 次提交
  12. 09 12月, 2020 3 次提交
  13. 14 11月, 2020 3 次提交
  14. 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
  15. 11 11月, 2020 2 次提交
  16. 31 10月, 2020 2 次提交
  17. 17 10月, 2020 1 次提交
  18. 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
  19. 24 9月, 2020 1 次提交
  20. 25 8月, 2020 2 次提交
  21. 01 7月, 2020 1 次提交
  22. 23 5月, 2020 1 次提交
  23. 20 5月, 2020 1 次提交
  24. 13 2月, 2020 2 次提交