[Intel-gfx] [PATCH 6/7] drm/i915: Only grab timestamps when needed

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 11 06:36:26 PST 2016


On Mon, Jan 11, 2016 at 02:08:40PM +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> No need to call ktime_get_raw_ns twice per unlimited wait and can
> also elimate a local variable.

But we could eliminate both, and the unsightly pointless assignment only
required to shut gcc up.

Still preferring my patch.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list