mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 14:02:37 -04:00
drm/i915/xe3lpd: Add condition for EDP to powerdown P2.PG
Add condition for P2.PG power down value. v2: change subject line to better match patch condition Bspec: 74494 Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241018200311.67324-8-matthew.s.atwood@intel.com
This commit is contained in:
committed by
Matt Roper
parent
3fe856180c
commit
69cb729ec1
@@ -3143,7 +3143,8 @@ static u8 cx0_power_control_disable_val(struct intel_encoder *encoder)
|
||||
if (intel_encoder_is_c10phy(encoder))
|
||||
return CX0_P2PG_STATE_DISABLE;
|
||||
|
||||
if (IS_BATTLEMAGE(i915) && encoder->port == PORT_A)
|
||||
if ((IS_BATTLEMAGE(i915) && encoder->port == PORT_A) ||
|
||||
(DISPLAY_VER(i915) >= 30 && encoder->type == INTEL_OUTPUT_EDP))
|
||||
return CX0_P2PG_STATE_DISABLE;
|
||||
|
||||
return CX0_P4PG_STATE_DISABLE;
|
||||
|
||||
Reference in New Issue
Block a user