drm/i915: extract fixed point math to i915_fixed.h
authorJani Nikula <jani.nikula@intel.com>
Fri, 16 Nov 2018 12:07:25 +0000 (14:07 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 20 Nov 2018 10:42:26 +0000 (12:42 +0200)
commit2d332ee12396d8f9007e1f896c48cc9088cf55be
tree3199b0b71bcfb95bd02fbfaac4c50c4dc8291ba6
parent7fa28e146994da1e8a4124623d7da97b798ea520
drm/i915: extract fixed point math to i915_fixed.h

Reduce bloat in one of the bigger header files. Fix some indentation
while at it. No functional changes.

v2: Add include guards (Joonas)

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181116120729.7580-1-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_fixed.h [new file with mode: 0644]