mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 00:33:58 -04:00
Reuse i9xx_fsb_freq() for GT clock frequency initialization instead of depending on rawclk_freq. Note: If the init order was changed, we could use i915->fsb_freq directly. However, GT clock initialization is done in i915_driver_mmio_probe(), but intel_dram_detect() later in i915_driver_hw_probe(), with a dependency on intel_pcode_init(). Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/0678d8ec9772725b47d4fa5b14e3b3a34256d5cf.1718356614.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
16 lines
365 B
C
16 lines
365 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);
|
|
unsigned int i9xx_fsb_freq(struct drm_i915_private *i915);
|
|
|
|
#endif /* __INTEL_DRAM_H__ */
|