drm/i915: Use a define for the default priority [0]
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 May 2017 12:10:02 +0000 (13:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 May 2017 12:38:08 +0000 (13:38 +0100)
commite4f815f6bf4694b275defee97d2cd36a4764d6a1
tree40b2f456ed5845beb6d59a107ab5233c5b490b7f
parenta4b2b01523a8f147112f44cd0867d246ed07b43c
drm/i915: Use a define for the default priority [0]

Explicitly assign the default priority, and give it a name. After much
discussion, we have chosen to call it I915_PRIORITY_NORMAL!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517121007.27224-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_request.h