drm/i915: split out intel_dram.[ch] from i915_drv.c
authorJani Nikula <jani.nikula@intel.com>
Tue, 25 Feb 2020 11:15:07 +0000 (13:15 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Feb 2020 07:16:01 +0000 (09:16 +0200)
commitd28ae3b28187fd50a8eabe4befca71ec9ced9a5c
tree3c3d5b5b772da16f452f2a84463b5b61f6f64b9a
parent83d2bdb6a0e088a0ec8fe1e2877c8aa1a4a80330
drm/i915: split out intel_dram.[ch] from i915_drv.c

The DRAM related routines are pretty isolated from the rest of the
i915_drv.c, split it out to a separate file. Put the eDRAM stuff in the
same bag, and rename the visible functions to have intel_dram_
prefix. Do some benign whitespace fixes and dev_priv -> i915 conversions
while at it.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225111509.21879-1-jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_dram.c [new file with mode: 0644]
drivers/gpu/drm/i915/intel_dram.h [new file with mode: 0644]