Re: [PATCH] drm/amd/display: Write to correct dirty_rect

2023-03-13 Thread Hamza Mahfooz
On 3/12/23 20:47, Benjamin Cheng wrote: When FB_DAMAGE_CLIPS are provided in a non-MPO scenario, the loop does not use the counter i. This causes the fill_dc_dity_rect() to always fill dirty_rects[0], causing graphical artifacts when a damage clip aware DRM client sends more than 1 damage clip.

[PATCH] drm/amd/display: Write to correct dirty_rect

2023-03-13 Thread Benjamin Cheng
When FB_DAMAGE_CLIPS are provided in a non-MPO scenario, the loop does not use the counter i. This causes the fill_dc_dity_rect() to always fill dirty_rects[0], causing graphical artifacts when a damage clip aware DRM client sends more than 1 damage clip. Instead, use the flip_addrs->dirty_rect_co