]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move a few utility macros into a separate header
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jan 2017 15:30:22 +0000 (15:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jan 2017 15:34:45 +0000 (15:34 +0000)
commite00a1516e8f0c76b4349ea35601e402df2035478
tree0ee9b6d275272334d12f4f93602840e43252d871
parent23e2642d3302b0741a2f38d46b64fc2b94dedf0a
drm/i915: Move a few utility macros into a separate header

In order to defeat some circular dependencies between headers to allow use
of e.g. range_overflows() in a header, move the simple independent macros
into their own header.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170105153023.30575-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_utils.h [new file with mode: 0644]