drm/i915: Document the split in internal and public execbuf flags
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 Sep 2017 11:01:35 +0000 (12:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 Sep 2017 16:19:24 +0000 (17:19 +0100)
commit74c1c694a2deab0561c1f502de9d32fdc7eb7b32
tree02afbca601efb70b3ed3cb9337eb180ea543b5a8
parent41693fd5237397d3c61b311af0fda1f6f39297c2
drm/i915: Document the split in internal and public execbuf flags

Since we reuse the same field for the user passing in their control
flags, and for the kernel to track a couple of bits of state, document
and check that those do not overlap.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170921110135.15990-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_gem_execbuffer.c