mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 10:05:00 +08:00
d28ae3b281
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
15 lines
306 B
C
15 lines
306 B
C
/* 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__ */
|