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

Ville Syrjala ville.syrjala at linux.intel.com
Mon Oct 3 11:15:38 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.

v2: Fix tgl RC CCS vs. MC CCS to separate patches since they
    need separate fixes tags

Ville Syrjälä (6):
  drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
  drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
  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