diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-03-25 05:28:42 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-03-31 18:09:40 +0300 |
commit | 930af58421acf971a2f377c07d4cc74f5f520066 (patch) | |
tree | 04d8f82659692a1cd2f3b4425859cf886e59fcf4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8d4bd9bb138a72e5794d6597ee8d1f85f272ef63 (diff) | |
download | linux-930af58421acf971a2f377c07d4cc74f5f520066.tar.xz |
drm/i915/dram: Consolidate logging of DRAM type
Instead of logging the dram type in the per version/platform function,
do it in the generic one. This fixes a few discrepancies depending on
the platform:
- There was no DRAM type logging for graphics version 12 and
above
- For graphics version 11, it would log the DRAM type in
skl_get_dram_info(), but could possibly override it later
without any log in icl_pcode_read_mem_global_info()
For bxt_get_dram_info(), there's no need to log the type for each dimm,
as the drm_WARN_ON() already covers the case they are not all the same.
This maintains the behavior of skl_get_dram_info() that would log the
DRAM type even on failures.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20250324-dram-type-v1-2-bf60ef33ac01@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions