1. 21 6月, 2019 2 次提交
  2. 12 6月, 2019 2 次提交
  3. 30 4月, 2019 1 次提交
  4. 08 4月, 2019 1 次提交
    • N
      drm/amd/display: Fix negative cursor pos programming (v2) · bd13b2b8
      Nicholas Kazlauskas 提交于
      [Why]
      If the cursor pos passed from DM is less than the plane_state->dst_rect
      top left corner then the unsigned cursor pos wraps around to a large
      positive number since cursor pos is a u32.
      
      There was an attempt to guard against this in hubp1_cursor_set_position
      by checking the src_x_offset and src_y_offset and offseting the
      cursor hotspot within hubp1_cursor_set_position.
      
      However, the cursor position itself is still being programmed
      incorrectly as a large value.
      
      This manifests itself visually as the cursor disappearing or containing
      strange artifacts near the middle of the screen on raven.
      
      [How]
      Don't subtract the destination rect top left corner from the pos but
      add it to the hotspot instead. This happens before the pos gets
      passed into hubp1_cursor_set_position.
      
      This achieves the same result but avoids the subtraction wrap around.
      With this fix the original cursor programming logic can be used again.
      
      v2: add hunk that got dropped accidently when this patch was originally
      committed. (Alex)
      Fixes: 0921c41e ("drm/amd/display: Fix negative cursor pos programming")
      Signed-off-by: NNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
      Reviewed-by: NCharlene Liu <Charlene.Liu@amd.com>
      Acked-by: NLeo Li <sunpeng.li@amd.com>
      Acked-by: NMurton Liu <Murton.Liu@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      bd13b2b8
  5. 07 2月, 2019 1 次提交
  6. 26 1月, 2019 1 次提交
  7. 15 1月, 2019 3 次提交
  8. 20 11月, 2018 2 次提交
  9. 11 9月, 2018 1 次提交
  10. 28 8月, 2018 3 次提交
  11. 25 7月, 2018 1 次提交
  12. 17 7月, 2018 2 次提交
  13. 14 7月, 2018 4 次提交
  14. 11 7月, 2018 1 次提交
  15. 06 7月, 2018 1 次提交
  16. 30 5月, 2018 1 次提交
  17. 19 5月, 2018 2 次提交
  18. 16 5月, 2018 4 次提交
  19. 12 4月, 2018 2 次提交
  20. 20 2月, 2018 3 次提交
  21. 21 12月, 2017 2 次提交