summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_frontbuffer.h
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2021-08-14 18:43:45 -0700
committerJosé Roberto de Souza <jose.souza@intel.com>2021-08-16 10:31:17 -0700
commit7b24b79bf5f9492a63a09d5752af3c155f45f793 (patch)
treec2bc6cbabc31f44a6c8b02fc4aee4e1af10f5457 /drivers/gpu/drm/i915/display/intel_frontbuffer.h
parentd8959fb33890ba1956c142e83398e89812450ffc (diff)
downloadlinux-7b24b79bf5f9492a63a09d5752af3c155f45f793.tar.gz
linux-7b24b79bf5f9492a63a09d5752af3c155f45f793.tar.bz2
linux-7b24b79bf5f9492a63a09d5752af3c155f45f793.zip
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 <gwan-gyeong.mun@intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210815014346.373945-1-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_frontbuffer.h')
0 files changed, 0 insertions, 0 deletions