Link off between frames for edp
Subsystems (3)
cover Link off between frames for edp
Link Off Between Active Frames (LOBF) allows an eDP link to be turned Off and On durning long VBLANK durations without enabling any of the PSR/PSR2/PR modes of operation.
Bspec: 71477
Note: This is a feature has dependency on ALPM, AS SDP. So the below changes are done on top of the following patch series where review is ongoing. So compilation issue expected from CI.
https://patchwork.freedesktop.org/series/129938/
https://patchwork.freedesktop.org/series/126829/
These patches are not tested, sending early for review feedback
Animesh Manna (3):
drm/i915/alpm: Move alpm parameters from intel_psr drm/i915/alpm: Add compute config for lobf drm/i915/alpm: Enable lobf from source in ALPM_CTL
.../drm/i915/display/intel_display_types.h | 27 +++--- drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 92 ++++++++++++++----- drivers/gpu/drm/i915/display/intel_psr.h | 3 + 4 files changed, 89 insertions(+), 34 deletions(-)
Signature · 1 line
2.29.0
RFC 1/3 drm/i915/alpm: Move alpm parameters from intel_psr
ALPM can be enabled for non psr panel and currenly aplm-params are encapsulated under intel_psr struct, so moving out to intel_dp struct.
--- .../drm/i915/display/intel_display_types.h | 23 +++++----- drivers/gpu/drm/i915/display/intel_psr.c | 42 +++++++++---------- 2 files changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +11 -12
@@ -1715,18 +1715,6 @@ struct intel_psr {bool psr2_sel_fetch_cff_enabled;bool req_psr2_sdp_prior_scanline;u8 sink_sync_latency; - -struct { -u8 io_wake_lines; -u8 fast_wake_lines; - -/* LNL and beyond */ -u8 check_entry_lines; -u8 aux_less_wake_lines; -u8 silence_period_sym_clocks; -u8 lfps_half_cycle_num_of_syms; - } alpm_parameters; -ktime_t last_entry_attempt;ktime_t last_exit;bool sink_not_reliable;
@@ -1852,6 +1840,17 @@ struct intel_dp {unsigned long last_oui_write;bool colorimetry_support; + +struct { +u8 io_wake_lines; +u8 fast_wake_lines; + +/* LNL and beyond */ +u8 check_entry_lines; +u8 aux_less_wake_lines; +u8 silence_period_sym_clocks; +u8 lfps_half_cycle_num_of_syms; + } alpm_parameters; };enum lspcon_vendor {
drivers/gpu/drm/i915/display/intel_psr.c +20 -22
106 lines not on this page · raw message
Signature · 1 line
2.29.0
RFC 2/3 drm/i915/alpm: Add compute config for lobf
In reply to Animesh MannaLink Off Between Active Frames, is a new feature for eDP that allows the panel to go to lower power state after transmission of data. This is a feature on top of ALPM, AS SDP. Add compute config during atomic-check phase.
--- .../drm/i915/display/intel_display_types.h | 3 ++ drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 45 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_psr.h | 3 ++ 4 files changed, 52 insertions(+)
drivers/gpu/drm/i915/display/intel_display_types.h +3 -0
@@ -1851,6 +1851,9 @@ struct intel_dp {u8 silence_period_sym_clocks;u8 lfps_half_cycle_num_of_syms; } alpm_parameters; + +/* LOBF flags*/ +bool lobf_supported; };enum lspcon_vendor {
drivers/gpu/drm/i915/display/intel_dp.c +1 -0
@@ -2979,6 +2979,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,intel_vrr_compute_config (pipe_config, conn_state);intel_dp_compute_as_sdp (intel_dp, pipe_config, conn_state);intel_psr_compute_config (intel_dp, pipe_config, conn_state); +intel_psr_lobf_compute_config (intel_dp, pipe_config, conn_state);intel_dp_drrs_compute_config (connector, pipe_config, link_bpp_x16);intel_dp_compute_vsc_sdp (intel_dp, pipe_config, conn_state);intel_dp_compute_hdr_metadata_infoframe_sdp (intel_dp, pipe_config, conn_state);
drivers/gpu/drm/i915/display/intel_psr.c +45 -0
57 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_psr.h +3 -0
@@ -40,6 +40,9 @@ void intel_psr_init(struct intel_dp *intel_dp);void intel_psr_compute_config (struct intel_dp *intel_dp,struct intel_crtc_state *crtc_state,struct drm_connector_state *conn_state); +void intel_psr_lobf_compute_config (struct intel_dp *intel_dp, +struct intel_crtc_state *crtc_state, +struct drm_connector_state *conn_state);void intel_psr_get_config (struct intel_encoder *encoder,struct intel_crtc_state *pipe_config);void intel_psr_irq_handler (struct intel_dp *intel_dp,u32 psr_iir);
Signature · 1 line
2.29.0
Jani Nikula
maintainerRe: [RFC 2/3] drm/i915/alpm: Add compute config for lobf
Quoted 44 lines · Animesh Manna
Link Off Between Active Frames, is a new feature for eDP that allows the panel to go to lower power state after transmission of data. This is a feature on top of ALPM, AS SDP. Add compute config during atomic-check phase.
Signed-off-by Animesh Manna <[email protected]>--- .../drm/i915/display/intel_display_types.h | 3 ++ drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 45 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_psr.h | 3 ++ 4 files changed, 52 insertions(+)drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1851,6 +1851,9 @@ struct intel_dp {u8 silence_period_sym_clocks;u8 lfps_half_cycle_num_of_syms; } alpm_parameters; + +/* LOBF flags*/ +bool lobf_supported; };enum lspcon_vendor {drivers/gpu/drm/i915/display/intel_dp.c +1
-0@@ -2979,6 +2979,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,intel_vrr_compute_config (pipe_config, conn_state);intel_dp_compute_as_sdp (intel_dp, pipe_config, conn_state);intel_psr_compute_config (intel_dp, pipe_config, conn_state); +intel_psr_lobf_compute_config (intel_dp, pipe_config, conn_state);intel_dp_drrs_compute_config (connector, pipe_config, link_bpp_x16);intel_dp_compute_vsc_sdp (intel_dp, pipe_config, conn_state);intel_dp_compute_hdr_metadata_infoframe_sdp (intel_dp, pipe_config, conn_state);drivers/gpu/drm/i915/display/intel_psr.c +0
-0
drivers/gpu/drm/i915/display/intel_psr.c static bool intel_dp_get_alpm_status(struct intel_dp *intel_dp) · line 444
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_psr.c +6
-0@@ -436,6 +436,16 @@ static bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)return alpm_caps &DP_ALPM_CAP ; } +static bool intel_dp_get_aux_less_alpm_status (struct intel_dp *intel_dp) +{ +u8 alpm_caps =0 ; + +if (drm_dp_dpcd_readb (&intel_dp->aux,DP_RECEIVER_ALPM_CAP , + &alpm_caps) !=1 )
The compute config path must not access the hardware.
BR,
Jani.
Quoted 63 lines
drivers/gpu/drm/i915/display/intel_psr.c +39
-0+return false; +return alpm_caps &DP_ALPM_AUX_LESS_CAP ; +} +static u8 intel_dp_get_sink_sync_latency (struct intel_dp *intel_dp) {struct drm_i915_private *i915 =dp_to_i915 (intel_dp);@@ -1569,6 +1579,41 @@ void intel_psr_compute_config(struct intel_dp *intel_dp, crtc_state->has_psr2 =intel_psr2_config_valid (intel_dp, crtc_state); } +void intel_psr_lobf_compute_config (struct intel_dp *intel_dp, +struct intel_crtc_state *crtc_state, +struct drm_connector_state *conn_state) +{ +struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; +int waketime_in_lines, first_sdp_position; +int context_latency, guardband; +bool auxless_alpm; + + intel_dp->lobf_supported = false; + +if (!intel_dp_is_edp (intel_dp)) +return ; + +if (!intel_dp_as_sdp_supported (intel_dp)) +return ; + +if (CAN_PSR (intel_dp) ||CAN_PANEL_REPLAY (intel_dp)) +return ; + +if (_compute_alpm_params (intel_dp, crtc_state)) { + context_latency = adjusted_mode->crtc_vblank_start - adjusted_mode->crtc_vdisplay; + guardband = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - context_latency; + first_sdp_position = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_start; + auxless_alpm =intel_dp_get_aux_less_alpm_status (intel_dp); +if (auxless_alpm) + waketime_in_lines = intel_dp->alpm_parameters.io_wake_lines; +else + waketime_in_lines = intel_dp->alpm_parameters.aux_less_wake_lines; + +if ((context_latency + guardband) > (first_sdp_position + waketime_in_lines)) + intel_dp->lobf_supported = true; + } +} +void intel_psr_get_config (struct intel_encoder *encoder,struct intel_crtc_state *pipe_config) {drivers/gpu/drm/i915/display/intel_psr.h +3
-0@@ -40,6 +40,9 @@ void intel_psr_init(struct intel_dp *intel_dp);void intel_psr_compute_config (struct intel_dp *intel_dp,struct intel_crtc_state *crtc_state,struct drm_connector_state *conn_state); +void intel_psr_lobf_compute_config (struct intel_dp *intel_dp, +struct intel_crtc_state *crtc_state, +struct drm_connector_state *conn_state);void intel_psr_get_config (struct intel_encoder *encoder,struct intel_crtc_state *pipe_config);void intel_psr_irq_handler (struct intel_dp *intel_dp,u32 psr_iir);
Signature · 1 line
Jani Nikula, Intel
RE: [RFC 2/3] drm/i915/alpm: Add compute config for lobf
Quoted 67 lines
-----Original Message-----
From: Jani Nikula <[email protected]>
Sent: Monday, March 4, 2024 11:03 PM
To: Manna, Animesh <[email protected]>; intel- [email protected]
Cc: Hogander, Jouni <[email protected]>; Murthy, Arun R <[email protected]>; Manna, Animesh <[email protected]>
Subject: Re: [RFC 2/3] drm/i915/alpm: Add compute config for lobfdrivers/gpu/drm/i915/display/intel_dp.c intel_dp_compute_config(struct intel_encoder
Quoted 34 lines · Animesh Manna
Link Off Between Active Frames, is a new feature for eDP that allows the panel to go to lower power state after transmission of data. This is a feature on top of ALPM, AS SDP.
Add compute config during atomic-check phase.Signed-off-by Animesh Manna <[email protected]>--- .../drm/i915/display/intel_display_types.h | 3 ++ drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 45 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_psr.h | 3 ++ 4 files changed, 52 insertions(+)drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1851,6 +1851,9 @@ struct intel_dp {u8 silence_period_sym_clocks;u8 lfps_half_cycle_num_of_syms; } alpm_parameters; + +/* LOBF flags*/ +bool lobf_supported; };enum lspcon_vendor {drivers/gpu/drm/i915/display/intel_dp.c +0
-0@@ -2979,6 +2979,7 @@ intel_dp_compute_config(struct intel_encoder*encoder,
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_compute_config(struct intel_encoder *encoder,
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp.c +1
-0intel_vrr_compute_config (pipe_config, conn_state);intel_dp_compute_as_sdp (intel_dp, pipe_config, conn_state);intel_psr_compute_config (intel_dp, pipe_config, conn_state); +intel_psr_lobf_compute_config (intel_dp, pipe_config, conn_state); intel_dp_drrs_compute_config(connector, pipe_config,
link_bpp_x16);drivers/gpu/drm/i915/display/intel_dp.c intel_dp_compute_config(struct intel_encoder · line 2985
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0intel_dp_compute_vsc_sdp (intel_dp, pipe_config, conn_state); intel_dp_compute_hdr_metadata_infoframe_sdp(intel_dp,
pipe_config,drivers/gpu/drm/i915/display/intel_psr.c static bool intel_dp_get_alpm_status(struct
Quoted 6 lines
conn_state); diff --gita/drivers/gpu/drm/i915/display/intel_psr.cb/drivers/gpu/drm/i915/display/intel_psr.c
index4adcddba69c1..c08bffc2921a100644drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -436,6 +436,16 @@ static bool intel_dp_get_alpm_status(struct
intel_dp*intel_dp)Quoted 3 lines
drivers/gpu/drm/i915/display/intel_psr.c +0
-0return alpm_caps &DP_ALPM_CAP ; }
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_psr.c static bool intel_dp_get_alpm_status(struct intel_dp *intel_dp) · line 444
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_psr.c +6
-0+static bool intel_dp_get_aux_less_alpm_status (struct intel_dp +*intel_dp) { +u8 alpm_caps =0 ; + +if (drm_dp_dpcd_readb (&intel_dp->aux,DP_RECEIVER_ALPM_CAP , + &alpm_caps) !=1 )The compute config path must not access the hardware.
Sure, will put in init_connector() and store in a variable.
Regards,
Animesh
Quoted 76 lines
BR,
Jani.Quoted 22 lines
drivers/gpu/drm/i915/display/intel_psr.c +4
-0+return false; +return alpm_caps &DP_ALPM_AUX_LESS_CAP ; } +static u8 intel_dp_get_sink_sync_latency (struct intel_dp *intel_dp) { struct drm_i915_private *i915 = dp_to_i915(intel_dp); @@ -1569,6 +1579,41 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
crtc_state->has_psr2= intel_psr2_config_valid(intel_dp,crtc_state); }drivers/gpu/drm/i915/display/intel_psr.c +4
-0+void intel_psr_lobf_compute_config (struct intel_dp *intel_dp, +struct intel_crtc_state *crtc_state, +struct drm_connector_state *conn_state) { + struct drm_display_mode *adjusted_mode = &crtc_state-hw.adjusted_mode;
drivers/gpu/drm/i915/display/intel_psr.c +7
-0+int waketime_in_lines, first_sdp_position; +int context_latency, guardband; +bool auxless_alpm; + + intel_dp->lobf_supported = false; + +if (!intel_dp_is_edp (intel_dp))drivers/gpu/drm/i915/display/intel_psr.c void intel_psr_compute_config(struct intel_dp *intel_dp,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_psr.c +10
-0+return ; + +if (!intel_dp_as_sdp_supported (intel_dp)) +return ; + +if (CAN_PSR (intel_dp) ||CAN_PANEL_REPLAY (intel_dp)) +return ; + +if (_compute_alpm_params (intel_dp, crtc_state)) { + context_latency = adjusted_mode->crtc_vblank_start -
adjusted_mode->crtc_vdisplay;drivers/gpu/drm/i915/display/intel_psr.c
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_psr.c +1
-0+ guardband = adjusted_mode->crtc_vtotal - adjusted_mode-
crtc_vdisplay-context_latency;drivers/gpu/drm/i915/display/intel_psr.c +1
-0+ first_sdp_position = adjusted_mode->crtc_vtotal -
adjusted_mode->crtc_vsync_start;drivers/gpu/drm/i915/display/intel_psr.c
Quoted 1 line
drivers/gpu/drm/i915/display/intel_psr.c +1
-0+ auxless_alpm =
intel_dp_get_aux_less_alpm_status(intel_dp);drivers/gpu/drm/i915/display/intel_psr.c
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_psr.c +2
-0+if (auxless_alpm) + waketime_in_lines = intel_dp-alpm_parameters.io_wake_lines;
drivers/gpu/drm/i915/display/intel_psr.c +2
-0+else + waketime_in_lines = intel_dp-alpm_parameters.aux_less_wake_lines;
drivers/gpu/drm/i915/display/intel_psr.c +2
-0+ + if ((context_latency + guardband) > (first_sdp_position +
waketime_in_lines))Quoted 12 lines
drivers/gpu/drm/i915/display/intel_psr.c +4
-0+ intel_dp->lobf_supported = true; + } +} +void intel_psr_get_config (struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) { diff --git
a/drivers/gpu/drm/i915/display/intel_psr.hb/drivers/gpu/drm/i915/display/intel_psr.h
indexcde781df84d5..4bb77295288f100644drivers/gpu/drm/i915/display/intel_psr.h void intel_psr_init(struct intel_dp *intel_dp); · line 48
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_psr.h +3
-0@@ -40,6 +40,9 @@ void intel_psr_init(struct intel_dp *intel_dp);void intel_psr_compute_config (struct intel_dp *intel_dp,struct intel_crtc_state *crtc_state,struct drm_connector_state *conn_state); +void intel_psr_lobf_compute_config (struct intel_dp *intel_dp, +struct intel_crtc_state *crtc_state, +struct drm_connector_state *conn_state);void intel_psr_get_config (struct intel_encoder *encoder,struct intel_crtc_state *pipe_config);void intel_psr_irq_handler (struct intel_dp *intel_dp,u32 psr_iir);--
Jani Nikula, Intel
Re: [RFC 2/3] drm/i915/alpm: Add compute config for lobf
In reply to Animesh MannaQuoted 75 lines · Animesh Manna
Link Off Between Active Frames, is a new feature for eDP that allows the panel to go to lower power state after transmission of data. This is a feature on top of ALPM, AS SDP. Add compute config during atomic-check phase.
Signed-off-by Animesh Manna <[email protected]>---
.../drm/i915/display/intel_display_types.h | 3 ++ drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 45
+++++++++++++++++++
drivers/gpu/drm/i915/display/intel_psr.h | 3 ++4 files changed, 52 insertions(+)drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1851,6 +1851,9 @@ struct intel_dp { u8 silence_period_sym_clocks; u8 lfps_half_cycle_num_of_syms; } alpm_parameters; + + /* LOBF flags*/ + bool lobf_supported; };
enumlspcon_vendor{drivers/gpu/drm/i915/display/intel_dp.c +1
-0@@ -2979,6 +2979,7 @@ intel_dp_compute_config(struct intel_encoder *encoder, intel_vrr_compute_config(pipe_config, conn_state); intel_dp_compute_as_sdp(intel_dp, pipe_config, conn_state); intel_psr_compute_config(intel_dp, pipe_config, conn_state); + intel_psr_lobf_compute_config(intel_dp, pipe_config, conn_state); intel_dp_drrs_compute_config(connector, pipe_config,
link_bpp_x16);
intel_dp_compute_vsc_sdp(intel_dp,pipe_config,conn_state);intel_dp_compute_hdr_metadata_infoframe_sdp(intel_dp, pipe_config, conn_state);drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -436,6 +436,16 @@ static bool intel_dp_get_alpm_status(struct intel_dp *intel_dp) return alpm_caps & DP_ALPM_CAP; }
+static boolintel_dp_get_aux_less_alpm_status(struct intel_dp *intel_dp)drivers/gpu/drm/i915/display/intel_psr.c +9
-0+{ + u8 alpm_caps = 0; + + if (drm_dp_dpcd_readb(&intel_dp->aux, DP_RECEIVER_ALPM_CAP, + &alpm_caps) != 1) + return false; + return alpm_caps & DP_ALPM_AUX_LESS_CAP; +} +static u8
intel_dp_get_sink_sync_latency(struct intel_dp *intel_dp){
structdrm_i915_private*i915 =dp_to_i915(intel_dp);drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -1569,6 +1579,41 @@ void intel_psr_compute_config(struct intel_dp *intel_dp, crtc_state->has_psr2 = intel_psr2_config_valid(intel_dp, crtc_state); }
Quoted 4 lines
+void intel_psr_lobf_compute_config(structintel_dp*intel_dp, + structintel_crtc_state*crtc_state, + structdrm_connector_state
I think this could rather be intel_alpm_compute_config which would compute alpm parameters including enable for alpm, aux less and lobf.
Quoted 8 lines
*conn_state)
+{
+ structdrm_display_mode*adjusted_mode= &crtc_state-Quoted 1 line
hw.adjusted_mode;
+ int
waketime_in_lines,first_sdp_position; + intcontext_latency, guardband;
+ boolauxless_alpm;drivers/gpu/drm/i915/display/intel_psr.c +1
-0+
drivers/gpu/drm/i915/display/intel_psr.c void intel_psr_compute_config(struct intel_dp *intel_dp, · line 1600
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_psr.c +10
-0+ intel_dp->lobf_supported = false; + + if (!intel_dp_is_edp(intel_dp)) + return; + + if (!intel_dp_as_sdp_supported(intel_dp)) + return; + + if (CAN_PSR(intel_dp) || CAN_PANEL_REPLAY(intel_dp)) + return;
Maybe this should check crtc_state->has_psr2 and crtc_state-
Quoted 1 line
has_panel_replay?
BR,
Jouni Högander
Quoted 44 lines
+
+ if (_compute_alpm_params(intel_dp, crtc_state)) { + context_latency =adjusted_mode->crtc_vblank_start-adjusted_mode->crtc_vdisplay;
+ guardband =adjusted_mode->crtc_vtotal-adjusted_mode->crtc_vdisplay-context_latency;
+ first_sdp_position =adjusted_mode->crtc_vtotal-adjusted_mode->crtc_vsync_start;
+ auxless_alpm =intel_dp_get_aux_less_alpm_status(intel_dp);
+ if (auxless_alpm)
+ waketime_in_lines = intel_dp-Quoted 1 line
alpm_parameters.io_wake_lines;
+ else
+ waketime_in_lines = intel_dp-Quoted 1 line
alpm_parameters.aux_less_wake_lines;
+
+ if ((context_latency+ guardband) > (first_sdp_position+waketime_in_lines))
+ intel_dp->lobf_supported = true; + }drivers/gpu/drm/i915/display/intel_psr.c +2
-0+} +void
intel_psr_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config){drivers/gpu/drm/i915/display/intel_psr.h +0
-0@@ -40,6 +40,9 @@ void intel_psr_init(struct intel_dp *intel_dp); void intel_psr_compute_config(struct intel_dp *intel_dp, struct intel_crtc_state *crtc_state,struct
drm_connector_state*conn_state);
+void intel_psr_lobf_compute_config(structintel_dp*intel_dp, + structintel_crtc_state*crtc_state,
+ structdrm_connector_state*conn_state);
voidintel_psr_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config); voidintel_psr_irq_handler(struct intel_dp *intel_dp, u32 psr_iir);
RFC 3/3 drm/i915/alpm: Enable lobf from source in ALPM_CTL
In reply to Animesh MannaSet the Link Off Between Frames Enable bit in ALPM_CTL register.
--- drivers/gpu/drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 5 +++++ 2 files changed, 6 insertions(+)
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -1854,6 +1854,7 @@ struct intel_dp {/* LOBF flags*/ bool lobf_supported; +bool lobf_enabled; };enum lspcon_vendor {
drivers/gpu/drm/i915/display/intel_psr.c +5 -0
@@ -1770,6 +1770,11 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp)ALPM_CTL_EXTENDED_FAST_WAKE_TIME (intel_dp->alpm_parameters.fast_wake_lines); } +if (intel_dp->lobf_supported) { + alpm_ctl |=ALPM_CTL_LOBF_ENABLE ; + intel_dp->lobf_enabled = true; + } + alpm_ctl |=ALPM_CTL_ALPM_ENTRY_CHECK (intel_dp->alpm_parameters.check_entry_lines);intel_de_write (dev_priv,ALPM_CTL (cpu_transcoder), alpm_ctl);
Signature · 1 line
2.29.0
Patchwork
CI✗ Fi.CI.BUILD: failure for Link off between frames for edp
In reply to Animesh Manna== Series Details ==
== Series Details ==
Series: Link off between frames for edp
URL : https://patchwork.freedesktop.org/series/130650/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/130650/revisions/1/mbox/ not applied
Applying: drm/i915/alpm: Move alpm parameters from intel_psr
error: sha1 information is lacking or useless (drivers/gpu/drm/i915/display/intel_display_types.h).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 drm/i915/alpm: Move alpm parameters from intel_psr
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced