Re: [RFC PATCH 096/162] drm/i915: setup the LMEM region

2020-11-30 Thread Jani Nikula
On Fri, 27 Nov 2020, Matthew Auld wrote: > + /* Enables Local Memory functionality in GAM */ > + I915_WRITE(GEN12_LMEM_CFG_ADDR, I915_READ(GEN12_LMEM_CFG_ADDR) | > LMEM_ENABLE); Please use intel_uncore_read/write and intel_de_read/write throughout the series. We don't want any new users

[RFC PATCH 096/162] drm/i915: setup the LMEM region

2020-11-27 Thread Matthew Auld
Hook up the LMEM region. Addresses will start from zero, and for CPU access we get LMEM_BAR which is just a 1:1 mapping of said region. Based on a patch from Michel Thierry. Cc: Abdiel Janulgue Cc: Lucas De Marchi Cc: Joonas Lahtinen Cc: Rodrigo Vivi Signed-off-by: Matthew Auld Signed-off-by