drm/i915: Reserve some priority bits for internal use
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 12:32:03 +0000 (13:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 14:26:19 +0000 (15:26 +0100)
commit7651a4452ddf8ace48defd473ead6effe35059c7
tree4a9723c8b0bfb0f40c0b5df53db3ebb2421141ab
parent567a605705893afdffcedd35a0ba766f52604d94
drm/i915: Reserve some priority bits for internal use

In the next few patches, we will want to give a small priority boost to
some requests/queues but not so much that we perturb the user controlled
order. As such we will shift the user priority bits higher leaving
ourselves a few low priority bits for our internal bumping.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181001123204.23982-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_scheduler.h
drivers/gpu/drm/i915/selftests/intel_lrc.c