[Intel-gfx] [PATCH] drm/i915: encapsulate forcewake in dev_priv

Chris Wilson chris at chris-wilson.co.uk
Wed Sep 14 00:25:46 CEST 2011


On Tue, 13 Sep 2011 15:07:28 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> I had this lying around and forgot to submit it. I feel it makes the
> forcewake stuff slightly cleaner, but this is only cosmetic.
> 
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>

I like it as it makes it clearer the capability we are testing for. But
when to use INTEL_INFO and when to set derived bits on dev_priv? That is
the question.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list