mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 08:13:56 -04:00
While edram detection ostensibly belongs with the rest of the dram stuff in soc/intel_dram.c, it's only required by i915 core, not display. Extract it to a separate i915_edram.[ch] file. This allows us to drop the edram_size_mb member from struct xe_device. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/612edb7b70755655fbf193ba8af1c539fb93b698.1763578288.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
12 lines
238 B
C
12 lines
238 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* Copyright © 2025 Intel Corporation */
|
|
|
|
#ifndef __I915_DRAM_H__
|
|
#define __I915_DRAM_H__
|
|
|
|
struct drm_i915_private;
|
|
|
|
void i915_edram_detect(struct drm_i915_private *i915);
|
|
|
|
#endif /* __I915_DRAM_H__ */
|