Skip to content

Commit 57ed0df

Browse files
zehortigozamattrope
authored andcommitted
drm/i915/adl_p: Enable modular fia
Alderlake P have modular FIA like TGL but it is always modular in all skus, not like TGL that we had to read a register to check if it is monolithic or modular. BSpec: 55480 BSpec: 50572 Cc: Imre Deak <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Signed-off-by: Clinton Taylor <[email protected]> Signed-off-by: Matt Roper <[email protected]> Reviewed-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent f53979d commit 57ed0df

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,10 @@ tc_has_modular_fia(struct drm_i915_private *i915, struct intel_digital_port *dig
624624
if (!INTEL_INFO(i915)->display.has_modular_fia)
625625
return false;
626626

627+
/* TODO: check if in real HW MODULAR_FIA_MASK is set, if so remove this block */
628+
if (IS_ALDERLAKE_P(i915))
629+
return true;
630+
627631
wakeref = tc_cold_block(dig_port);
628632
val = intel_uncore_read(&i915->uncore, PORT_TX_DFLEXDPSP(FIA1));
629633
tc_cold_unblock(dig_port, wakeref);

drivers/gpu/drm/i915/i915_pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ static const struct intel_device_info adl_p_info = {
954954
XE_LPD_FEATURES,
955955
PLATFORM(INTEL_ALDERLAKE_P),
956956
.require_force_probe = 1,
957+
.display.has_modular_fia = 1,
957958
.platform_engine_mask =
958959
BIT(RCS0) | BIT(BCS0) | BIT(VECS0) | BIT(VCS0) | BIT(VCS2),
959960
.ppgtt_size = 48,

0 commit comments

Comments
 (0)