Re: [Intel-gfx] [PATCH 2/2] drm/i915: Prove an assert for when we expect forcewake to be held

2017-10-06 Thread Chris Wilson
s/Prove/Provide/ Quoting Chris Wilson (2017-10-06 15:54:59) > Add assert_forcewakes_active() (the complementary function to > assert_forcewakes_inactive) that documents the requirement of a > function for its callers to be holding the forcewake ref (i.e. the > function is part of a sequence over w

[Intel-gfx] [PATCH 2/2] drm/i915: Prove an assert for when we expect forcewake to be held

2017-10-06 Thread Chris Wilson
Add assert_forcewakes_active() (the complementary function to assert_forcewakes_inactive) that documents the requirement of a function for its callers to be holding the forcewake ref (i.e. the function is part of a sequence over which RC6 must be prevented). One such example is during ringbuffer r