drm/i915: Move some utility functions to i915_util.h
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 21 Dec 2017 21:57:29 +0000 (21:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Dec 2017 09:13:47 +0000 (09:13 +0000)
commitb74eeeb6b1ab6e09311cc4a78c60309f1461dac8
treed9124a6ec4cec46af7a5f671842d0fdaf7f0455e
parent3138872ceb11712d0a216804ff9fc863c5f27a47
drm/i915: Move some utility functions to i915_util.h

We have dedicated header file for utility functions and macros.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171221185334.17396-2-michal.wajdeczko@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171221215735.30314-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_utils.h