summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>2022-11-17 13:30:14 -0800
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>2022-11-18 09:52:35 -0800
commitec35c41d91052a3a15dd3767075620af448b8030 (patch)
treea67288aa887eddff814a55cade9c7855ecd60395 /usr
parentdc73ac63e63ac1c0b8bd3d29cf0c17c98ea92146 (diff)
downloadlinux-ec35c41d91052a3a15dd3767075620af448b8030.tar.bz2
drm/i915/mtl: Fix dram info readout
MEM_SS_INFO_GLOBAL Register info read from the hardware is cached in val. However the variable is being modified when determining the DRAM type thereby clearing out the channels and qgv info extracted later in the function xelpdp_get_dram_info. Preserve the register value and use extracted fields in the switch statement. Fixes: 825477e77912 ("drm/i915/mtl: Obtain SAGV values from MMIO instead of GT pcode mailbox") Cc: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221117213015.584417-1-radhakrishna.sripada@intel.com
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions