[Intel-gfx] [PATCH 0/5] drm/i915: Fix watermark calculations with various CCS modifiers

Ville Syrjala ville.syrjala at linux.intel.com
Fri Sep 30 10:42:57 UTC 2022


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

We are neglegting to consider all the new CCS modifiers as
Y-tiled in the watermark calculations. So we are incorrectrly
calculation the watermarks as if dealing with a linear surface.

Ville Syrjälä (5):
  drm/i915: Fix watermark calculations for gen12+ CCS modifiers
  drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
  drm/i915: Fix watermark calculations for DG2 CCS modifiers
  drm/i915: Fix watermark calculations for DG2 CCS+CC modifier
  drm/i915: Simplify modifier lookup in watermark code

 drivers/gpu/drm/i915/display/intel_fb.c      | 13 +++++++++++++
 drivers/gpu/drm/i915/display/intel_fb.h      |  1 +
 drivers/gpu/drm/i915/display/skl_watermark.c | 10 +++-------
 3 files changed, 17 insertions(+), 7 deletions(-)

-- 
2.35.1



More information about the Intel-gfx mailing list