diff options
author | Jani Nikula <jani.nikula@intel.com> | 2020-02-25 12:15:07 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-02-27 08:16:01 +0100 |
commit | d28ae3b28187fd50a8eabe4befca71ec9ced9a5c (patch) | |
tree | 3c3d5b5b772da16f452f2a84463b5b61f6f64b9a /drivers/gpu/drm/i915/intel_dram.h | |
parent | drm/i915: significantly reduce the use of <drm/i915_drm.h> (diff) | |
download | linux-d28ae3b28187fd50a8eabe4befca71ec9ced9a5c.tar.xz linux-d28ae3b28187fd50a8eabe4befca71ec9ced9a5c.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dram.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dram.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dram.h b/drivers/gpu/drm/i915/intel_dram.h new file mode 100644 index 000000000000..4ba13c13162c --- /dev/null +++ b/drivers/gpu/drm/i915/intel_dram.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2020 Intel Corporation + */ + +#ifndef __INTEL_DRAM_H__ +#define __INTEL_DRAM_H__ + +struct drm_i915_private; + +void intel_dram_edram_detect(struct drm_i915_private *i915); +void intel_dram_detect(struct drm_i915_private *i915); + +#endif /* __INTEL_DRAM_H__ */ |