[Intel-gfx] [PATCH 0/4] drm/i915: Fix older platforms

Ville Syrjala ville.syrjala at linux.intel.com
Wed Apr 21 15:33:57 UTC 2021


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

Fix a div-by-zero on gen2, and make the L-shaped memory detection
actually work on cl/ctg. Atm the SWIZZLE_UNKNOWN stuff just trips
some GEM_BUG_ONs. This doesn't fix those but since I populate all
my memory channels symmetrically I get to avoid the GEM_BUG_ONs
by correctly detecting that I don't have an L-shaped memory
configuration.

Ville Syrjälä (4):
  drm/i915: Avoid div-by-zero on gen2
  drm/i915: Read C0DRB3/C1DRB3 as 16 bits again
  drm/i915: Give C0DRB3/C1DRB3 a _BW suffix
  drm/i915: Rewrite CL/CTG L-shaped memory detection

 drivers/gpu/drm/i915/gem/i915_gem_mman.c     |  2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 19 ++++++++++---------
 drivers/gpu/drm/i915/i915_debugfs.c          | 16 ++++++++++++----
 drivers/gpu/drm/i915/i915_reg.h              |  8 ++++++--
 4 files changed, 29 insertions(+), 16 deletions(-)

-- 
2.26.3



More information about the Intel-gfx mailing list