mbox series

[0/2] Fixes for selective fetch area calculation

Message ID 20220506054834.2822650-1-jouni.hogander@intel.com (mailing list archive)
Headers show
Series Fixes for selective fetch area calculation | expand

Message

Hogander, Jouni May 6, 2022, 5:48 a.m. UTC
Currently selective fetch area calculation ends up as bogus area in
following cases:

1. Updated plane is partially or fully outside pipe area
2. Big fb with only part of memory area used for plane

These end up as y1 = 0, y2 = 4 or y2 being outside pipe area. This
patch set addresses these by ensuring update area is within pipe area
and falling back to full update. 

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Mark Pearson <markpearson@lenovo.com>

Jouni Högander (2):
  drm/i915/psr: Use full update In case of area calculation fails
  drm/i915: Ensure damage clip area is within pipe area

 drivers/gpu/drm/i915/display/intel_psr.c | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)