[Intel-gfx] [PATCH] drm/i915: Fix indirect context size calculation
Chris Wilson
chris at chris-wilson.co.uk
Tue Apr 14 14:38:13 UTC 2020
Quoting Mika Kuoppala (2020-04-14 13:20:00)
> Hardware needs cacheline count for indirect context size.
> Count of zero means that the feature is disabled.
> If we only divide size with cacheline bytes, we get
> one cacheline short of execution.
I thought we only emitted cacheline chunks by design?
I see us checking for
GEM_DEBUG_WARN_ON(!IS_ALIGNED(wa_bb[i]->offset, CACHELINE_BYTES)))
so what's the reason? I expect that's in the next patch.
-Chris
More information about the Intel-gfx
mailing list