commit | 190980187e2b66397da6eaec1d25b3e3272c2361 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon May 13 13:01:02 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon May 13 13:57:57 2019 +0100 |
tree | 38c22d2acf4db021cfd231a791a809401b685bc4 | |
parent | 52c76fb18a34fc08dd06f32b9fc83f1375f083ee [diff] |
drm/i915: Check for no-op priority changes first In all likelihood, the priority and node are already in the CPU cache and by checking them first, we can avoid having to chase the *request->hwsp for the current breadcrumb. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190513120102.29660-3-chris@chris-wilson.co.uk