]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6ff8967870924c976568f2f19fea46958d2b599
tree3c3d5b5b772da16f452f2a84463b5b61f6f64b9a
parent5d91e8d3efc566163b69d09a1a6c6bb0914b11d2
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]