diff options
| author | José Roberto de Souza <[email protected]> | 2021-08-14 18:43:45 -0700 |
|---|---|---|
| committer | José Roberto de Souza <[email protected]> | 2021-08-16 10:31:17 -0700 |
| commit | 7b24b79bf5f9492a63a09d5752af3c155f45f793 (patch) | |
| tree | c2bc6cbabc31f44a6c8b02fc4aee4e1af10f5457 /tools/perf/scripts/python/libxed.py | |
| parent | d8959fb33890ba1956c142e83398e89812450ffc (diff) | |
drm/i915/display: Fix sel fetch plane offset calculation
skl_calc_main_surface_offset() is used to calculate an aligned plane
surface address considering the inner framebuffer x and y offset.
It can not be used by selective fetch functions becase there is no
PLANE_SEL_FETCH_SURF.
So the PLANE_SEL_FETCH_OFFSET.y should only be PLANE_OFFSET.y +
damaged_area_within_plane.y1.
This fixes glitches seen in fbcon caused by typing something in
the terminal.
BSpec: 55229
Reviewed-by: Gwan-gyeong Mun <[email protected]>
Cc: Gwan-gyeong Mun <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions