[Intel-gfx] [PATCH 1/1] drm/i915: Reorder shadow registers on gen8 for faster lookup

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 12 08:47:14 PST 2016

On Tue, Jan 12, 2016 at 05:28:24PM +0200, Mika Kuoppala wrote:
> The most common thing on normal operation is ring tail
> pointer update. Put it first in the shadow register list for
> gen8, like we do with gen9.

With execlists it is not. Also BSD2?

Do you have the complete list of shadowed regs available?

NEEDS_FORCE_WAKE() is just reg<40000, so I am inclined to favor that
test first. Do you have a couple of profiles to show how wrong am I?

Note that the first course of action would probably to special case the
hot writes as I915_WRITE_FW.

Chris Wilson, Intel Open Source Technology Centre

More information about the Intel-gfx mailing list