[Intel-gfx] [PATCH 4/8] drm/i915/mtl: workaround coherency issue for Media
Andi Shyti
andi.shyti at linux.intel.com
Wed Apr 19 12:38:39 UTC 2023
Hi Fei,
On Wed, Apr 19, 2023 at 12:59:09PM +0200, Andi Shyti wrote:
> Hi Fei,
>
> > --- a/drivers/gpu/drm/i915/gt/uc/intel_guc.c
> > +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc.c
> > @@ -743,6 +743,13 @@ struct i915_vma *intel_guc_allocate_vma(struct intel_guc *guc, u32 size)
> > if (IS_ERR(obj))
> > return ERR_CAST(obj);
> >
> > + /*
> > + * Wa_22016122933: For MTL the shared memory needs to be mapped
> > + * as WC on CPU side and UC (PAT index 2) on GPU side
>
> Isn't UC PAT index 3?
Sorry, it's 2... I was reading the wrong table.
Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
Andi
More information about the dri-devel
mailing list