mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-21 11:25:22 -04:00
drm/i915/dram: Pack dram_info better
struct dram_info has two holes in the middle. Shuffle things around to plug them. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250902133113.18778-4-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -12,9 +12,6 @@ struct drm_i915_private;
|
||||
struct drm_device;
|
||||
|
||||
struct dram_info {
|
||||
bool wm_lv_0_adjust_needed;
|
||||
u8 num_channels;
|
||||
bool symmetric_memory;
|
||||
enum intel_dram_type {
|
||||
INTEL_DRAM_UNKNOWN,
|
||||
INTEL_DRAM_DDR2,
|
||||
@@ -28,10 +25,13 @@ struct dram_info {
|
||||
INTEL_DRAM_GDDR_ECC,
|
||||
__INTEL_DRAM_TYPE_MAX,
|
||||
} type;
|
||||
u8 num_qgv_points;
|
||||
u8 num_psf_gv_points;
|
||||
unsigned int fsb_freq;
|
||||
unsigned int mem_freq;
|
||||
u8 num_channels;
|
||||
u8 num_qgv_points;
|
||||
u8 num_psf_gv_points;
|
||||
bool symmetric_memory;
|
||||
bool wm_lv_0_adjust_needed;
|
||||
};
|
||||
|
||||
void intel_dram_edram_detect(struct drm_i915_private *i915);
|
||||
|
||||
Reference in New Issue
Block a user