Skip to content

Commit bb3c3e7

Browse files
committed
drm/i915/bmg: Load DMC
Load Battlemage's DMC. We re-use XELPDP_DMC_MAX_FW_SIZE since BMG's display is a derivative of Xe_LPD+ and has the same MMIO offset limits. Reviewed-by: Dnyaneshwar Bhadane <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gustavo Sousa <[email protected]>
1 parent 76e220d commit bb3c3e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/i915/display/intel_dmc.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ static bool dmc_firmware_param_disabled(struct drm_i915_private *i915)
115115
#define XE2LPD_DMC_PATH DMC_PATH(xe2lpd)
116116
MODULE_FIRMWARE(XE2LPD_DMC_PATH);
117117

118+
#define BMG_DMC_PATH DMC_PATH(bmg)
119+
MODULE_FIRMWARE(BMG_DMC_PATH);
120+
118121
#define MTL_DMC_PATH DMC_PATH(mtl)
119122
MODULE_FIRMWARE(MTL_DMC_PATH);
120123

@@ -166,6 +169,9 @@ static const char *dmc_firmware_default(struct drm_i915_private *i915, u32 *size
166169
if (DISPLAY_VER_FULL(i915) == IP_VER(20, 0)) {
167170
fw_path = XE2LPD_DMC_PATH;
168171
max_fw_size = XE2LPD_DMC_MAX_FW_SIZE;
172+
} else if (DISPLAY_VER_FULL(i915) == IP_VER(14, 1)) {
173+
fw_path = BMG_DMC_PATH;
174+
max_fw_size = XELPDP_DMC_MAX_FW_SIZE;
169175
} else if (DISPLAY_VER_FULL(i915) == IP_VER(14, 0)) {
170176
fw_path = MTL_DMC_PATH;
171177
max_fw_size = XELPDP_DMC_MAX_FW_SIZE;

0 commit comments

Comments
 (0)