diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-13 13:01:02 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-13 13:57:57 +0100 |
commit | 190980187e2b66397da6eaec1d25b3e3272c2361 (patch) | |
tree | 38c22d2acf4db021cfd231a791a809401b685bc4 /drivers/gpu/drm/drm_internal.h | |
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
Diffstat (limited to 'drivers/gpu/drm/drm_internal.h')
0 files changed, 0 insertions, 0 deletions