]> www.infradead.org Git - users/hch/misc.git/commit
drm/i915/xe2hpd: Identify the memory type for SKUs with GDDR + ECC
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Mon, 24 Mar 2025 17:22:33 +0000 (10:22 -0700)
committerJani Nikula <jani.nikula@intel.com>
Mon, 7 Apr 2025 08:00:10 +0000 (11:00 +0300)
commitbc1feb8174b7e46c1806a6f684d89a47508f3a53
treecfd8f37568bb0de8abbc9b12892ef2d4dd28d52b
parent584cf613c24a4250d9be4819efc841aa2624d5b6
drm/i915/xe2hpd: Identify the memory type for SKUs with GDDR + ECC

Some SKUs of Xe2_HPD platforms (such as BMG) have GDDR memory type
with ECC enabled. We need to identify this scenario and add a new
case in xelpdp_get_dram_info() to handle it. In addition, the
derating value needs to be adjusted accordingly to compensate for
the limited bandwidth.

Bspec: 64602
Cc: Matt Roper <matthew.d.roper@intel.com>
Fixes: 3adcf970dc7e ("drm/xe/bmg: Drop force_probe requirement")
Cc: stable@vger.kernel.org
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250324-tip-v2-1-38397de319f8@intel.com
(cherry picked from commit 327e30123cafcb45c0fc5843da0367b90332999d)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bw.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/soc/intel_dram.c
drivers/gpu/drm/xe/xe_device_types.h