Panel replay phase1 implementation
Subsystems (3)
v8 cover Panel replay phase1 implementation
Panel Replay is a power saving feature for DP 2.0 monitor and similar to PSR on EDP.
These patches are basic enablement patches added on top of existing psr framework to enable full-screen live active frame update mode of panel replay. Panel replay also can be enabled in selective update mode which will be enabled in a incremental approach.
As per current design panel replay priority is higher than psr. intel_dp->psr.panel_replay_enabled flag indicate panel replay is enabled. intel_dp->psr.panel_replay_enabled + intel_dp->psr.psr2_enabled indicates panel replay is enabled in selective update mode. intel_dp->psr.panel_replay_enabled + intel_dp->psr.psr2_enabled + intel_psr.selective_fetch enabled indicates panel replay is enabled in selective update mode with selective fetch.
PSR replated flags remain same like before.
Note: The patches are under testing by using panel replay emulator and panel is not avalible.
Animesh Manna (5):
drm/panelreplay: dpcd register definition for panelreplay drm/i915/panelreplay: Initializaton and compute config for panel
replay
drm/i915/panelreplay: Enable panel replay dpcd initialization for DP drm/i915/panelreplay: enable/disable panel replay drm/i915/panelreplay: Debugfs support for panel replay
Jouni Högander (1):
drm/i915/psr: Move psr specific dpcd init into own function
drivers/gpu/drm/i915/display/intel_ddi.c | 7 +- .../drm/i915/display/intel_display_types.h | 15 +- drivers/gpu/drm/i915/display/intel_dp.c | 49 ++- drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 + drivers/gpu/drm/i915/display/intel_psr.c | 292 +++++++++++++----- drivers/gpu/drm/i915/display/intel_psr.h | 7 + include/drm/display/drm_dp.h | 23 ++ 7 files changed, 291 insertions(+), 105 deletions(-)
Signature · 1 line
2.29.0
PATCH v8 1/6 drm/panelreplay: dpcd register definition for panelreplay
Add DPCD register definition for discovering, enabling and checking status of panel replay of the sink.
--- include/drm/display/drm_dp.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
include/drm/display/drm_dp.h +23 -0
@@ -543,6 +543,10 @@/* DFP Capability Extension */ #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3/* 2.0 */ +#define DP_PANEL_REPLAY_CAP 0x0b0/* DP 2.0 */ +# define DP_PANEL_REPLAY_SUPPORT (1 << 0) +# define DP_PANEL_REPLAY_SU_SUPPORT (1 << 1) +/* Link Configuration */ #define DP_LINK_BW_SET 0x100# define DP_LINK_RATE_TABLE 0x00/* eDP 1.4 */
@@ -716,6 +720,13 @@#define DP_BRANCH_DEVICE_CTRL 0x1a1# define DP_BRANCH_DEVICE_IRQ_HPD (1 << 0) +#define PANEL_REPLAY_CONFIG 0x1b0/* DP 2.0 */ +# define DP_PANEL_REPLAY_ENABLE (1 << 0) +# define DP_PANEL_REPLAY_UNRECOVERABLE_ERROR_EN (1 << 3) +# define DP_PANEL_REPLAY_RFB_STORAGE_ERROR_EN (1 << 4) +# define DP_PANEL_REPLAY_ACTIVE_FRAME_CRC_ERROR_EN (1 << 5) +# define DP_PANEL_REPLAY_SU_ENABLE (1 << 6) +#define DP_PAYLOAD_ALLOCATE_SET 0x1c0#define DP_PAYLOAD_ALLOCATE_START_TIME_SLOT 0x1c1#define DP_PAYLOAD_ALLOCATE_TIME_SLOT_COUNT 0x1c2
@@ -1105,6 +1116,18 @@#define DP_LANE_ALIGN_STATUS_UPDATED_ESI 0x200e/* status same as 0x204 */ #define DP_SINK_STATUS_ESI 0x200f/* status same as 0x205 */ +#define DP_PANEL_REPLAY_ERROR_STATUS 0x2020/* DP 2.1*/ +# define DP_PANEL_REPLAY_LINK_CRC_ERROR (1 << 0) +# define DP_PANEL_REPLAY_RFB_STORAGE_ERROR (1 << 1) +# define DP_PANEL_REPLAY_VSC_SDP_UNCORRECTABLE_ERROR (1 << 2) + +#define DP_SINK_DEVICE_PR_AND_FRAME_LOCK_STATUS 0x2022/* DP 2.1 */ +# define DP_SINK_DEVICE_PANEL_REPLAY_STATUS_MASK (7 << 0) +# define DP_SINK_FRAME_LOCKED_SHIFT 3 +# define DP_SINK_FRAME_LOCKED_MASK (3 << 3) +# define DP_SINK_FRAME_LOCKED_STATUS_VALID_SHIFT 5 +# define DP_SINK_FRAME_LOCKED_STATUS_VALID_MASK (1 << 5) +/* Extended Receiver Capability: See DP_DPCD_REV for definitions */ #define DP_DP13_DPCD_REV 0x2200
Signature · 1 line
2.29.0
PATCH v8 2/6 drm/i915/psr: Move psr specific dpcd init into own function
In reply to Animesh MannaFrom: Jouni Högander <[email protected]>
This patch is preparing adding panel replay specific dpcd init.
--- drivers/gpu/drm/i915/display/intel_psr.c | 41 +++++++++++++----------- 1 file changed, 23 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/display/intel_psr.c +23 -18
@@ -474,27 +474,22 @@ static void intel_dp_get_su_granularity(struct intel_dp *intel_dp) intel_dp->psr.su_y_granularity = y; } -void intel_psr_init_dpcd (struct intel_dp *intel_dp) +static void _psr_init_dpcd (struct intel_dp *intel_dp) { -struct drm_i915_private *dev_priv = +struct drm_i915_private *i915 =to_i915 (dp_to_dig_port (intel_dp)->base.base.dev); -drm_dp_dpcd_read (&intel_dp->aux,DP_PSR_SUPPORT , intel_dp->psr_dpcd, -sizeof (intel_dp->psr_dpcd)); - -if (!intel_dp->psr_dpcd[0 ]) -return ; -drm_dbg_kms (&dev_priv->drm,"eDP panel supports PSR version %x\n" , +drm_dbg_kms (&i915->drm,"eDP panel supports PSR version %x\n" , intel_dp->psr_dpcd[0 ]);if (drm_dp_has_quirk (&intel_dp->desc,DP_DPCD_QUIRK_NO_PSR )) { -drm_dbg_kms (&dev_priv->drm, +drm_dbg_kms (&i915->drm,"PSR support not currently available for this panel\n" );return ; }if (!(intel_dp->edp_dpcd[1 ] &DP_EDP_SET_POWER_CAP )) { -drm_dbg_kms (&dev_priv->drm, +drm_dbg_kms (&i915->drm,"Panel lacks power state control, PSR cannot be enabled\n" );return ; }
@@ -503,8 +498,8 @@ void intel_psr_init_dpcd(struct intel_dp *intel_dp) intel_dp->psr.sink_sync_latency =intel_dp_get_sink_sync_latency (intel_dp); -if (DISPLAY_VER (dev_priv) >=9 && - (intel_dp->psr_dpcd[0 ] ==DP_PSR2_WITH_Y_COORD_IS_SUPPORTED )) { +if (DISPLAY_VER (i915) >=9 && + intel_dp->psr_dpcd[0 ] ==DP_PSR2_WITH_Y_COORD_IS_SUPPORTED ) {bool y_req = intel_dp->psr_dpcd[1 ] &DP_PSR2_SU_Y_COORDINATE_REQUIRED ;bool alpm =intel_dp_get_alpm_status (intel_dp);
@@ -521,14 +516,24 @@ void intel_psr_init_dpcd(struct intel_dp *intel_dp)* GTC first. */ intel_dp->psr.sink_psr2_support = y_req && alpm; -drm_dbg_kms (&dev_priv->drm,"PSR2 %ssupported\n" , +drm_dbg_kms (&i915->drm,"PSR2 %ssupported\n" , intel_dp->psr.sink_psr2_support ?"" :"not " ); + } +} -if (intel_dp->psr.sink_psr2_support) { - intel_dp->psr.colorimetry_support = -intel_dp_get_colorimetry_status (intel_dp); -intel_dp_get_su_granularity (intel_dp); - } +void intel_psr_init_dpcd (struct intel_dp *intel_dp) +{ +drm_dp_dpcd_read (&intel_dp->aux,DP_PSR_SUPPORT , intel_dp->psr_dpcd, +sizeof (intel_dp->psr_dpcd)); + +if (intel_dp->psr_dpcd[0 ]) +_psr_init_dpcd (intel_dp); +/* TODO: Add PR case here */ + +if (intel_dp->psr.sink_psr2_support) { + intel_dp->psr.colorimetry_support = +intel_dp_get_colorimetry_status (intel_dp); +intel_dp_get_su_granularity (intel_dp); } }
Signature · 1 line
2.29.0
PATCH v8 3/6 drm/i915/panelreplay: Initializaton and compute config for panel replay
In reply to Animesh MannaModify existing PSR implementation to enable panel replay feature of DP 2.0 which is similar to PSR feature of EDP panel. There is different DPCD address to check panel capability compare to PSR and vsc sdp header is different.
v1: Initial version.
v2:
- Set source_panel_replay_support flag under HAS_PANEL_REPLAY() condition check. [Jouni]
- Code restructured around intel_panel_replay_init
and renamed to intel_panel_replay_init_dpcd. [Jouni]
- Remove the initial code modification around has_psr2 flag. [Jouni]
- Add CAN_PANEL_REPLAY() in intel_encoder_can_psr which is used to enable in intel_psr_post_plane_update. [Jouni]
v3:
- Initialize both psr and panel-replay. [Jouni]
- Initialize both panel replay and psr if detected. [Jouni]
- Refactoring psr function by introducing _psr_compute_config(). [Jouni]
- Add check for !is_edp while deriving source_panel_replay_support. [Jouni]
- Enable panel replay dpcd initialization in a separate patch. [Jouni]
v4:
- HAS_PANEL_REPLAY() check not needed during sink capability check. [Jouni]
- Set either panel replay source support or psr. [Jouni]
v5:
- HAS_PANEL_REPLAY() removed and use HAS_DP20() instead. [Jouni]
- Move psr related code to intel_psr.c. [Jani]
- Reset sink_panel_replay_support flag during disconnection. [Jani]
v6: return statement restored which is removed by misatke. [Jouni]
v7: cosmetic changes. [Arun]
--- .../drm/i915/display/intel_display_types.h | 14 +-- drivers/gpu/drm/i915/display/intel_dp.c | 49 ++++++++-- drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 + drivers/gpu/drm/i915/display/intel_psr.c | 96 ++++++++++++++----- drivers/gpu/drm/i915/display/intel_psr.h | 7 ++ 5 files changed, 123 insertions(+), 46 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +3 -11
@@ -1208,6 +1208,7 @@ struct intel_crtc_state {bool has_psr2;bool enable_psr2_sel_fetch;bool req_psr2_sdp_prior_scanline; +bool has_panel_replay;bool wm_level_disabled;u32 dc3co_exitline;u16 su_y_granularity;
@@ -1705,6 +1706,8 @@ struct intel_psr {bool irq_aux_error;u16 su_w_granularity;u16 su_y_granularity; +bool source_panel_replay_support; +bool sink_panel_replay_support;u32 dc3co_exitline;u32 dc3co_exit_delay;struct delayed_work dc3co_work;
@@ -1990,17 +1993,6 @@ dp_to_lspcon(struct intel_dp *intel_dp)#define dp_to_i915 (__intel_dp) to_i915(dp_to_dig_port(__intel_dp)->base.base.dev) -#define CAN_PSR (intel_dp) ((intel_dp)->psr.sink_support && \ - (intel_dp)->psr.source_support) - -static inline bool intel_encoder_can_psr (struct intel_encoder *encoder) -{ -if (!intel_encoder_is_dp (encoder)) -return false; - -return CAN_PSR (enc_to_intel_dp (encoder)); -} -static inline struct intel_digital_port *hdmi_to_dig_port (struct intel_hdmi *intel_hdmi) {
drivers/gpu/drm/i915/display/intel_dp.c +40 -9
75 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dp_mst.c +3 -0
@@ -43,6 +43,7 @@#include "intel_dpio_phy.h" #include "intel_hdcp.h" #include "intel_hotplug.h" +#include "intel_psr.h" #include "skl_scaler.h" static int intel_dp_mst_check_constraints(struct drm_i915_private *i915, int bpp,
@@ -420,6 +421,8 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder,intel_ddi_compute_min_voltage_level (dev_priv, pipe_config); +intel_psr_compute_config (intel_dp, pipe_config, conn_state); +return 0 ; }
drivers/gpu/drm/i915/display/intel_psr.c +70 -26
154 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_psr.h +7 -0
@@ -21,6 +21,13 @@ struct intel_encoder;struct intel_plane ;struct intel_plane_state ; +#define CAN_PSR (intel_dp) ((intel_dp)->psr.sink_support && \ + (intel_dp)->psr.source_support) + +#define CAN_PANEL_REPLAY (intel_dp) ((intel_dp)->psr.sink_panel_replay_support && \ + (intel_dp)->psr.source_panel_replay_support) + +bool intel_encoder_can_psr (struct intel_encoder *encoder);void intel_psr_init_dpcd (struct intel_dp *intel_dp);void intel_psr_pre_plane_update (struct intel_atomic_state *state,struct intel_crtc *crtc);
Signature · 1 line
2.29.0
PATCH v8 4/6 drm/i915/panelreplay: Enable panel replay dpcd initialization for DP
In reply to Animesh MannaDue to similarity panel replay dpcd initialization got added in psr function which is specific for edp panel. This patch enables panel replay initialization for dp connector.
--- drivers/gpu/drm/i915/display/intel_psr.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/display/intel_psr.c +3 -0
@@ -2742,6 +2742,9 @@ void intel_psr_init(struct intel_dp *intel_dp)if (!(HAS_PSR (dev_priv) ||HAS_DP20 (dev_priv)))return ; +if (!intel_dp_is_edp (intel_dp)) +intel_psr_init_dpcd (intel_dp); +/* * HSW spec explicitly says PSR is tied to port A. * BDW+ platforms have a instance of PSR registers per transcoder but
Signature · 1 line
2.29.0
PATCH v8 5/6 drm/i915/panelreplay: enable/disable panel replay
In reply to Animesh MannaTRANS_DP2_CTL register is programmed to enable panel replay from source and sink is enabled through panel replay dpcd configuration address.
Bspec: 1407940617
v1: Initial version.
v2:
- Use pr_* flags instead psr_* flags. [Jouni]
- Remove intel_dp_is_edp check as edp1.5 also has panel replay. [Jouni]
v3: Cover letter updated and selective fetch condition check is added before updating its bit in PSR2_MAN_TRK_CTL register. [Jouni]
v4: Selective fetch related PSR2_MAN_TRK_CTL programmming dropped. [Jouni]
v5: Added PSR2_MAN_TRK_CTL programming as needed for Continuous Full Frame (CFF) update.
v6: Rebased on latest.
Note: Initial plan is to enable panel replay in full-screen live active frame update mode. In a incremental approach panel replay will be enabled in selctive update mode if there is any gap in curent implementation.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 7 ++- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 63 ++++++++++++++----- 3 files changed, 55 insertions(+), 16 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +6 -1
@@ -2717,10 +2717,15 @@ static void intel_ddi_pre_enable_dp(struct intel_atomic_state *state, const struct drm_connector_state *conn_state) {struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev); +struct intel_dp *intel_dp =enc_to_intel_dp (encoder); -if (HAS_DP20 (dev_priv)) +if (HAS_DP20 (dev_priv)) {intel_dp_128b132b_sdp_crc16 (enc_to_intel_dp (encoder), crtc_state); +if (crtc_state->has_panel_replay) +drm_dp_dpcd_writeb (&intel_dp->aux,PANEL_REPLAY_CONFIG , +DP_PANEL_REPLAY_ENABLE ); + }if (DISPLAY_VER (dev_priv) >=14 )mtl_ddi_pre_enable_dp (state, encoder, crtc_state, conn_state);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -1708,6 +1708,7 @@ struct intel_psr {u16 su_y_granularity;bool source_panel_replay_support;bool sink_panel_replay_support; +bool panel_replay_enabled;u32 dc3co_exitline;u32 dc3co_exit_delay;struct delayed_work dc3co_work;
drivers/gpu/drm/i915/display/intel_psr.c +48 -15
130 lines not on this page · raw message
Signature · 1 line
2.29.0
PATCH v8 6/6 drm/i915/panelreplay: Debugfs support for panel replay
In reply to Animesh MannaAdd debugfs support which will print source and sink status per connector basis. Existing i915_psr_status and i915_psr_sink_status will be used to get the source and sink status of panel replay.
v1: Initial version. [rb-ed by Arun]
v2: Added check for DP 2.0 and connector type in connector_debugfs_add().
v3: Optimization and cosmetic changes. [Jouni]
--- drivers/gpu/drm/i915/display/intel_psr.c | 93 +++++++++++++++++------- 1 file changed, 66 insertions(+), 27 deletions(-)
drivers/gpu/drm/i915/display/intel_psr.c +66 -27
@@ -2813,12 +2813,19 @@ static int psr_get_status_and_error_status(struct intel_dp *intel_dp, {struct drm_dp_aux *aux = &intel_dp->aux;int ret; +unsigned int offset; - ret =drm_dp_dpcd_readb (aux,DP_PSR_STATUS , status); + offset = intel_dp->psr.panel_replay_enabled ? +DP_SINK_DEVICE_PR_AND_FRAME_LOCK_STATUS :DP_PSR_STATUS ; + + ret =drm_dp_dpcd_readb (aux, offset, status);if (ret !=1 )return ret; - ret =drm_dp_dpcd_readb (aux,DP_PSR_ERROR_STATUS , error_status); + offset = intel_dp->psr.panel_replay_enabled ? +DP_PANEL_REPLAY_ERROR_STATUS :DP_PSR_ERROR_STATUS ; + + ret =drm_dp_dpcd_readb (aux, offset, error_status);if (ret !=1 )return ret;
@@ -3039,7 +3046,7 @@ psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) status = live_status[status_val]; } -seq_printf (m,"Source PSR status: %s [0x%08x]\n" , status, val); +seq_printf (m,"Source PSR/PanelReplay status: %s [0x%08x]\n" , status, val); }static int intel_psr_status (struct seq_file *m,struct intel_dp *intel_dp)
@@ -3052,18 +3059,23 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp)bool enabled;u32 val; -seq_printf (m,"Sink support: %s" ,str_yes_no (psr->sink_support)); -if (psr->sink_support) +seq_printf (m,"Sink support: PSR = %s, Panel Replay = %s" , +str_yes_no (psr->sink_support), +str_yes_no (psr->sink_panel_replay_support)); + +if (psr->sink_support || psr->sink_panel_replay_support)seq_printf (m," [0x%02x]" , intel_dp->psr_dpcd[0 ]);seq_puts (m,"\n" ); -if (!psr->sink_support) +if (!(psr->sink_support || psr->sink_panel_replay_support))return 0 ; wakeref =intel_runtime_pm_get (&dev_priv->runtime_pm);mutex_lock (&psr->lock); -if (psr->enabled) +if (psr->panel_replay_enabled) + status ="Panel Replay Enabled" ; +else if (psr->enabled) status = psr->psr2_enabled ?"PSR2 enabled" :"PSR1 enabled" ;else status ="disabled" ;
@@ -3076,14 +3088,17 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) goto unlock; } -if (psr->psr2_enabled) { +if (psr->panel_replay_enabled) { + val =intel_de_read (dev_priv,TRANS_DP2_CTL (cpu_transcoder)); + enabled = val &TRANS_DP2_PANEL_REPLAY_ENABLE ; + }else if (psr->psr2_enabled) { val =intel_de_read (dev_priv,EDP_PSR2_CTL (cpu_transcoder)); enabled = val &EDP_PSR2_ENABLE ; }else { val =intel_de_read (dev_priv,psr_ctl_reg (dev_priv, cpu_transcoder)); enabled = val &EDP_PSR_ENABLE ; } -seq_printf (m,"Source PSR ctl: %s [0x%08x]\n" , +seq_printf (m,"Source PSR/PanelReplay ctl: %s [0x%08x]\n" ,str_enabled_disabled (enabled), val);psr_source_status (intel_dp, m); seq_printf(m, "Busy frontbuffer bits: 0x%08x\n",
@@ -3221,6 +3236,15 @@ void intel_psr_debugfs_register(struct drm_i915_private *i915) i915, &i915_edp_psr_status_fops); } +static const char *psr_mode_str (struct intel_dp *intel_dp) { +if (intel_dp->psr.panel_replay_enabled) +return "PANEL-REPLAY" ; +else if (intel_dp->psr.enabled) +return "PSR" ; + +return "unknown" ; +} +static int i915_psr_sink_status_show (struct seq_file *m,void *data) {struct intel_connector *connector = m->private;
@@ -3235,12 +3259,19 @@ static int i915_psr_sink_status_show(struct seq_file *m, void *data)"reserved" , "sink internal error", }; +static const char *const panel_replay_status[] = { +"Sink device frame is locked to the Source device" , +"Sink device is coasting, using the VTotal target" , +"Sink device is governing the frame rate (frame rate unlock is granted)" , +"Sink device in the process of re-locking with the Source device" , + };const char *str;int ret;u8 status, error_status; +u32 idx; -if (!CAN_PSR (intel_dp)) { -seq_puts (m,"PSR Unsupported\n" ); +if (!(CAN_PSR (intel_dp) ||CAN_PANEL_REPLAY (intel_dp))) { +seq_puts (m,"PSR/Panel-Replay Unsupported\n" );return -ENODEV ; }
@@ -3251,28 +3282,33 @@ static int i915_psr_sink_status_show(struct seq_file *m, void *data)if (ret)return ret; - status &=DP_PSR_SINK_STATE_MASK ; -if (status <ARRAY_SIZE (sink_status)) - str = sink_status[status]; -else - str ="unknown" ; + str ="unknown" ; +if (intel_dp->psr.panel_replay_enabled) { + idx = (status &DP_SINK_FRAME_LOCKED_MASK ) >>DP_SINK_FRAME_LOCKED_SHIFT ; +if (idx <ARRAY_SIZE (panel_replay_status)) + str = panel_replay_status[idx]; + }else if (intel_dp->psr.enabled) { + idx = status &DP_PSR_SINK_STATE_MASK ; +if (idx <ARRAY_SIZE (sink_status)) + str = sink_status[idx]; + } -seq_printf (m,"Sink PSR status: 0x%x [%s]\n" , status, str); +seq_printf (m,"Sink %s status: 0x%x [%s]\n" ,psr_mode_str (intel_dp), status, str); -seq_printf (m,"Sink PSR error status: 0x%x" , error_status); +seq_printf (m,"Sink %s error status: 0x%x" ,psr_mode_str (intel_dp), error_status);if (error_status & (DP_PSR_RFB_STORAGE_ERROR |DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR |DP_PSR_LINK_CRC_ERROR )) -seq_puts (m,":\n" ); -else -seq_puts (m,"\n" ); +seq_puts (m,":\n" ); +else +seq_puts (m,"\n" );if (error_status &DP_PSR_RFB_STORAGE_ERROR ) -seq_puts (m,"\tPSR RFB storage error\n" ); +seq_printf (m,"\t%s RFB storage error\n" ,psr_mode_str (intel_dp));if (error_status &DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR ) -seq_puts (m,"\tPSR VSC SDP uncorrectable error\n" ); +seq_printf (m,"\t%s VSC SDP uncorrectable error\n" ,psr_mode_str (intel_dp));if (error_status &DP_PSR_LINK_CRC_ERROR ) -seq_puts (m,"\tPSR Link CRC error\n" ); +seq_printf (m,"\t%s Link CRC error\n" ,psr_mode_str (intel_dp));return ret; }
@@ -3292,13 +3328,16 @@ void intel_psr_connector_debugfs_add(struct intel_connector *connector)struct drm_i915_private *i915 =to_i915 (connector->base.dev);struct dentry *root = connector->base.debugfs_entry; -if (connector->base.connector_type != DRM_MODE_CONNECTOR_eDP) -return ; +if (connector->base.connector_type != DRM_MODE_CONNECTOR_eDP) { +if (!(HAS_DP20 (i915) && + connector->base.connector_type == DRM_MODE_CONNECTOR_DisplayPort)) +return ; + }debugfs_create_file ("i915_psr_sink_status" ,0444 , root, connector, &i915_psr_sink_status_fops); -if (HAS_PSR (i915)) +if (HAS_PSR (i915) ||HAS_DP20 (i915))debugfs_create_file ("i915_psr_status" ,0444 , root, connector, &i915_psr_status_fops); }
Signature · 1 line
2.29.0
Re: [PATCH v8 6/6] drm/i915/panelreplay: Debugfs support for panel replay
Hello Animesh,
Thank you for the changes. Now the patch is much shorter, cleaner and easier to review. See my inline comments below.
Quoted 69 lines · Animesh Manna
Add debugfs support which will print source and sink status per connector basis. Existing
i915_psr_statusandi915_psr_sink_statuswill be used to get the source and sink status of panel replay.v1: Initial version. [rb-ed by Arun]
v2: Added check for DP 2.0 and connector type inconnector_debugfs_add().
v3: Optimization and cosmetic changes. [Jouni]Cc Jouni Högander <[email protected]>Cc Arun R Murthy <[email protected]>Cc Jani Nikula <[email protected]>Reviewed-by Arun R Murthy <[email protected]>Signed-off-by Animesh Manna <[email protected]>---
drivers/gpu/drm/i915/display/intel_psr.c | 93 +++++++++++++++++----- --1 file changed, 66 insertions(+), 27 deletions(-)drivers/gpu/drm/i915/display/intel_psr.c +1
-0@@ -2813,12 +2813,19 @@ static int psr_get_status_and_error_status(struct intel_dp *intel_dp, { struct drm_dp_aux *aux = &intel_dp->aux; int ret; + unsigned int offset;
- ret =drm_dp_dpcd_readb(aux, DP_PSR_STATUS, status); + offset =intel_dp->psr.panel_replay_enabled?
+DP_SINK_DEVICE_PR_AND_FRAME_LOCK_STATUS:DP_PSR_STATUS;
+
+ ret =drm_dp_dpcd_readb(aux, offset, status);
if (ret != 1)
return ret;
- ret =drm_dp_dpcd_readb(aux, DP_PSR_ERROR_STATUS, error_status);
+ offset =intel_dp->psr.panel_replay_enabled?
+DP_PANEL_REPLAY_ERROR_STATUS:DP_PSR_ERROR_STATUS; +
+ ret =drm_dp_dpcd_readb(aux, offset, error_status); if (ret != 1)
return ret;drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3039,7 +3046,7 @@ psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) status = live_status[status_val]; }
- seq_printf(m, "Source PSR status: %s [0x%08x]\n", status, val);
+ seq_printf(m, "Source PSR/PanelReplay status: %s [0x%08x]\n", status, val);
}
static intintel_psr_status(struct seq_file *m, struct intel_dp *intel_dp)drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3052,18 +3059,23 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) bool enabled; u32 val;
- seq_printf(m, "Sink support: %s", str_yes_no(psr-
Quoted 8 lines
Quoted 1 line
sink_support));- if (
psr->sink_support)
+ seq_printf(m, "Sink support: PSR = %s, Panel Replay = %s", +str_yes_no(psr->sink_support),
+str_yes_no(psr->sink_panel_replay_support)); +
+ if (psr->sink_support||psr->sink_panel_replay_support)seq_printf(m, " [0x%02x]", intel_dp->psr_dpcd[0]);
The output will look like this:
Sink support: PSR = yes, Panel Replay = yes, [0x01]
I think more logical would be:
Sink support: PSR = yes [0x01], Panel Replay = yes
Quoted 30 lines
seq_puts(m, "\n");
- if (!psr->sink_support)
+ if (!(psr->sink_support ||psr->sink_panel_replay_support)) return 0;
wakeref =intel_runtime_pm_get(&dev_priv->runtime_pm);mutex_lock(&psr->lock);
- if (psr->enabled)
+ if (psr->panel_replay_enabled)
+ status = "Panel Replay Enabled";
+ else if (psr->enabled)
status =psr->psr2_enabled? "PSR2 enabled" : "PSR1 enabled";
else
status = "disabled";drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3076,14 +3088,17 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) goto unlock; }
- if (psr->psr2_enabled) {
+ if (psr->panel_replay_enabled) {
+ val =intel_de_read(dev_priv, TRANS_DP2_CTL(cpu_transcoder));
+ enabled = val &TRANS_DP2_PANEL_REPLAY_ENABLE; + } else if (psr->psr2_enabled) {
val =intel_de_read(dev_priv, EDP_PSR2_CTL(cpu_transcoder));
Quoted 8 lines
enabled = val &
EDP_PSR2_ENABLE;
} else {
val =intel_de_read(dev_priv, psr_ctl_reg(dev_priv, cpu_transcoder));
enabled = val &EDP_PSR_ENABLE;
}
- seq_printf(m, "Source PSR ctl: %s [0x%08x]\n",
+ seq_printf(m, "Source PSR/PanelReplay ctl: %s [0x%08x]\n",
Use correct name here. Which is DP2 ctl.
Quoted 123 lines
str_enabled_disabled(enabled), val);psr_source_status(intel_dp, m); seq_printf(m, "Busy frontbuffer bits: 0x%08x\n",drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3221,6 +3236,15 @@ void intel_psr_debugfs_register(struct drm_i915_private *i915) i915, &i915_edp_psr_status_fops); }drivers/gpu/drm/i915/display/intel_psr.c +9
-0+static const char *psr_mode_str (struct intel_dp *intel_dp) { + if (intel_dp->psr.panel_replay_enabled) + return "PANEL-REPLAY"; + else if(intel_dp->psr.enabled) + return "PSR"; + + return "unknown"; +} +static int
i915_psr_sink_status_show(struct seq_file *m, void *data){
structintel_connector*connector =m->private;drivers/gpu/drm/i915/display/intel_psr.c +7
-0@@ -3235,12 +3259,19 @@ static int i915_psr_sink_status_show(struct seq_file *m, void *data) "reserved", "sink internal error", }; + static const char * const panel_replay_status[] = { + "Sink device frame is locked to the Source device", + "Sink device is coasting, using the VTotal target", + "Sink device is governing the frame rate (frame rate unlock is granted)", + "Sink device in the process of re-locking with the Source device", + }; const char *str; int ret; u8 status, error_status; + u32 idx;
- if (!CAN_PSR(intel_dp)) {
- seq_puts(m, "PSR Unsupported\n");
+ if (!(CAN_PSR(intel_dp) ||CAN_PANEL_REPLAY(intel_dp))) { + seq_puts(m, "PSR/Panel-Replay Unsupported\n"); return-ENODEV;
}drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3251,28 +3282,33 @@ static int i915_psr_sink_status_show(struct seq_file *m, void *data) if (ret) return ret;
- status &=DP_PSR_SINK_STATE_MASK;
- if (status <ARRAY_SIZE(sink_status))
- str = sink_status[status];
- else
- str = "unknown";
+ str = "unknown";
+ if (intel_dp->psr.panel_replay_enabled) {
+ idx = (status &DP_SINK_FRAME_LOCKED_MASK) >>DP_SINK_FRAME_LOCKED_SHIFT;
+ if (idx <ARRAY_SIZE(panel_replay_status)) + str = panel_replay_status[idx]; + } else if (intel_dp->psr.enabled) {
+ idx = status &DP_PSR_SINK_STATE_MASK;
+ if (idx <ARRAY_SIZE(sink_status))
+ str = sink_status[idx];
+ }
- seq_printf(m, "Sink PSR status: 0x%x [%s]\n", status, str); + seq_printf(m, "Sink %s status: 0x%x [%s]\n",psr_mode_str(intel_dp), status, str);
- seq_printf(m, "Sink PSR error status: 0x%x",error_status); + seq_printf(m, "Sink %s error status: 0x%x",psr_mode_str(intel_dp),error_status);
if (error_status& (DP_PSR_RFB_STORAGE_ERROR|DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR|DP_PSR_LINK_CRC_ERROR))
- seq_puts(m, ":\n");
- else
- seq_puts(m, "\n");
+ seq_puts(m, ":\n");
+ else
+ seq_puts(m, "\n");
if (error_status&DP_PSR_RFB_STORAGE_ERROR)
- seq_puts(m, "\tPSR RFB storage error\n"); + seq_printf(m, "\t%s RFB storage error\n",psr_mode_str(intel_dp));
if (error_status&DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR) - seq_puts(m, "\tPSR VSC SDP uncorrectable error\n"); + seq_printf(m, "\t%s VSC SDP uncorrectable error\n",psr_mode_str(intel_dp));
if (error_status&DP_PSR_LINK_CRC_ERROR)
- seq_puts(m, "\tPSR Link CRC error\n");
+ seq_printf(m, "\t%s Link CRC error\n",psr_mode_str(intel_dp));
return ret;
}drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3292,13 +3328,16 @@ void intel_psr_connector_debugfs_add(struct intel_connector *connector) struct drm_i915_private *i915 = to_i915(connector->base.dev); struct dentry *root = connector->base.debugfs_entry;
- if (connector->base.connector_type!=DRM_MODE_CONNECTOR_eDP) - return;
+ if (connector->base.connector_type!=DRM_MODE_CONNECTOR_eDP) {
+ if (!(HAS_DP20(i915) &&
+connector->base.connector_type==DRM_MODE_CONNECTOR_DisplayPort))
+ return;
+ }
debugfs_create_file("i915_psr_sink_status", 0444, root, connector,&i915_psr_sink_status_fops);
- if (HAS_PSR(i915))
+ if (HAS_PSR(i915)||HAS_DP20(i915))debugfs_create_file("i915_psr_status", 0444, root, connector, &i915_psr_status_fops);
}
RE: [PATCH v8 6/6] drm/i915/panelreplay: Debugfs support for panel replay
Quoted 136 lines
-----Original Message-----
From: Hogander, Jouni <[email protected]>
Sent: Monday, November 6, 2023 1:33 PM
To: [email protected]; Manna, Animesh <[email protected]>; [email protected]
Cc: Murthy, Arun R <[email protected]>; Nikula, Jani <[email protected]>
Subject: Re: [PATCH v8 6/6] drm/i915/panelreplay: Debugfs support for panel replayHello Animesh,
Thank you for the changes. Now the patch is much shorter, cleaner and easier to review. See my inline comments below.
Quoted 66 lines · Animesh Manna
Add debugfs support which will print source and sink status per connector basis. Existing
i915_psr_statusandi915_psr_sink_statuswill be used to get the source and sink status of panel replay.v1: Initial version. [rb-ed by Arun]
v2: Added check for DP 2.0 and connector type inconnector_debugfs_add().
v3: Optimization and cosmetic changes. [Jouni]Cc Jouni Högander <[email protected]>Cc Arun R Murthy <[email protected]>Cc Jani Nikula <[email protected]>Reviewed-by Arun R Murthy <[email protected]>Signed-off-by Animesh Manna <[email protected]>---
drivers/gpu/drm/i915/display/intel_psr.c | 93 +++++++++++++++++----- --1 file changed, 66 insertions(+), 27 deletions(-)drivers/gpu/drm/i915/display/intel_psr.c +9
-2@@ -2813,12 +2813,19 @@ static int psr_get_status_and_error_status(struct intel_dp *intel_dp, { struct drm_dp_aux *aux = &intel_dp->aux; int ret; + unsigned int offset; - ret = drm_dp_dpcd_readb(aux, DP_PSR_STATUS, status); + offset = intel_dp->psr.panel_replay_enabled ? + DP_SINK_DEVICE_PR_AND_FRAME_LOCK_STATUS :DP_PSR_STATUS ; + + ret = drm_dp_dpcd_readb(aux, offset, status); if (ret != 1) return ret; - ret = drm_dp_dpcd_readb(aux, DP_PSR_ERROR_STATUS, error_status); + offset = intel_dp->psr.panel_replay_enabled ? + DP_PANEL_REPLAY_ERROR_STATUS : DP_PSR_ERROR_STATUS; + + ret = drm_dp_dpcd_readb(aux, offset, error_status);if (ret != 1)
return ret;drivers/gpu/drm/i915/display/intel_psr.c +1
-1@@ -3039,7 +3046,7 @@ psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) status = live_status[status_val]; } - seq_printf(m, "Source PSR status: %s [0x%08x]\n", status, val); + seq_printf(m, "Source PSR/PanelReplay status: %s [0x%08x]\n", status, val);}
static int
intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp)drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3052,18 +3059,23 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) bool enabled; u32 val;drivers/gpu/drm/i915/display/intel_psr.c static int intel_psr_status(struct seq_file · line 3069
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_psr.c +5
-2- seq_printf(m, "Sink support: %s", str_yes_no(psr- >sink_support)); - if (psr->sink_support) + seq_printf(m, "Sink support: PSR = %s, Panel Replay = %s", + str_yes_no(psr->sink_support), + str_yes_no(psr->sink_panel_replay_support)); + + if (psr->sink_support || psr->sink_panel_replay_support) seq_printf(m, " [0x%02x]", intel_dp->psr_dpcd[0]);The output will look like this:
Sink support: PSR = yes, Panel Replay = yes, [
0x01]I think more logical would be:
Sink support: PSR = yes [
0x01], Panel Replay = yesQuoted 32 lines
drivers/gpu/drm/i915/display/intel_psr.c +4
-2seq_puts(m, "\n"); - if (!psr->sink_support) + if (!(psr->sink_support || psr->sink_panel_replay_support)) return 0; wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); mutex_lock(&psr->lock); - if (psr->enabled) + if (psr->panel_replay_enabled) + status = "Panel Replay Enabled"; + else if (psr->enabled)status =
psr->psr2_enabled? "PSR2 enabled" : "PSR1 enabled";
else
status = "disabled";drivers/gpu/drm/i915/display/intel_psr.c +4
-1@@ -3076,14 +3088,17 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) goto unlock; } - if (psr->psr2_enabled) { + if (psr->panel_replay_enabled) { + val = intel_de_read(dev_priv,TRANS_DP2_CTL (cpu_transcoder)); + enabled = val & TRANS_DP2_PANEL_REPLAY_ENABLE; + } else if (psr->psr2_enabled) { val = intel_de_read(dev_priv,EDP_PSR2_CTL (cpu_transcoder)); enabled = val & EDP_PSR2_ENABLE; } else {
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_psr.c static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) · line 3101
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_psr.c +1
-1val = intel_de_read(dev_priv, psr_ctl_reg(dev_priv, cpu_transcoder)); enabled = val & EDP_PSR_ENABLE; } - seq_printf(m, "Source PSR ctl: %s [0x%08x]\n", + seq_printf(m, "Source PSR/PanelReplay ctl: %s [0x%08x]\n",Use correct name here. Which is DP2 ctl.
The clt registers are different for panel-replay/psr2/psr, so kept as PSR/PanelReplay ctl and cannot put DP2 ctl. Otherwise, will keep like below:seq_printf(m, "Source ctl: %s [0x%08x]\n", str_enabled_disabled(enabled), val);
Please ley me know if it looks ok to you.
Regards,
Animesh
Quoted 125 lines
Quoted 101 lines
str_enabled_disabled(enabled), val);psr_source_status(intel_dp, m);
seq_printf(m, "Busy frontbuffer bits: 0x%08x\n", @@ -3221,6 +3236,15 @@ voidintel_psr_debugfs_register(struct drm_i915_private *i915)
i915,&i915_edp_psr_status_fops); }drivers/gpu/drm/i915/display/intel_psr.c +9
-0+static const char *psr_mode_str (struct intel_dp *intel_dp) { + if (intel_dp->psr.panel_replay_enabled) + return "PANEL-REPLAY"; + else if(intel_dp->psr.enabled) + return "PSR"; + + return "unknown"; +} +static int
i915_psr_sink_status_show(struct seq_file *m, void *data){
structintel_connector*connector =m->private; @@ -3235,12 +3259,19 @@ static inti915_psr_sink_status_show(struct seq_file *m, void *data)
"reserved",
"sink internal error",
};
+ static const char * const panel_replay_status[] = { + "Sink device frame is locked to the Source device", + "Sink device is coasting, using the VTotal target", + "Sink device is governing the frame rate (frame rate unlock is granted)",
+ "Sink device in the process of re-locking with the Source device",
+ };
const char *str;
int ret;
u8 status,error_status;
+ u32 idx;- if (!CAN_PSR(intel_dp)) {
- seq_puts(m, "PSR Unsupported\n");
+ if (!(CAN_PSR(intel_dp) ||CAN_PANEL_REPLAY(intel_dp))) { + seq_puts(m, "PSR/Panel-Replay Unsupported\n"); return-ENODEV;
}drivers/gpu/drm/i915/display/intel_psr.c +12
-7@@ -3251,28 +3282,33 @@ static int i915_psr_sink_status_show(struct seq_file *m, void *data) if (ret) return ret; - status &= DP_PSR_SINK_STATE_MASK; - if (status < ARRAY_SIZE(sink_status)) - str = sink_status[status]; - else - str = "unknown"; + str = "unknown"; + if (intel_dp->psr.panel_replay_enabled) { + idx = (status & DP_SINK_FRAME_LOCKED_MASK) >>DP_SINK_FRAME_LOCKED_SHIFT ; + if (idx < ARRAY_SIZE(panel_replay_status)) + str = panel_replay_status[idx]; + } else if (intel_dp->psr.enabled) { + idx = status & DP_PSR_SINK_STATE_MASK; + if (idx < ARRAY_SIZE(sink_status)) + str = sink_status[idx]; + } - seq_printf(m, "Sink PSR status: 0x%x [%s]\n", status, str); + seq_printf(m, "Sink %s status: 0x%x [%s]\n",psr_mode_str (intel_dp), status, str); - seq_printf(m, "Sink PSR error status: 0x%x", error_status); + seq_printf(m, "Sink %s error status: 0x%x",psr_mode_str (intel_dp), error_status);if (
error_status& (DP_PSR_RFB_STORAGE_ERROR|DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR|DP_PSR_LINK_CRC_ERROR))
- seq_puts(m, ":\n");
- else
- seq_puts(m, "\n");
+ seq_puts(m, ":\n");
+ else
+ seq_puts(m, "\n");
if (error_status&DP_PSR_RFB_STORAGE_ERROR)
- seq_puts(m, "\tPSR RFB storage error\n"); + seq_printf(m, "\t%s RFB storage error\n",psr_mode_str(intel_dp));
if (error_status&DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR) - seq_puts(m, "\tPSR VSC SDP uncorrectable error\n"); + seq_printf(m, "\t%s VSC SDP uncorrectable error\n",psr_mode_str(intel_dp));
if (error_status&DP_PSR_LINK_CRC_ERROR)
- seq_puts(m, "\tPSR Link CRC error\n");
+ seq_printf(m, "\t%s Link CRC error\n",psr_mode_str(intel_dp));return ret;
}drivers/gpu/drm/i915/display/intel_psr.c void intel_psr_connector_debugfs_add(struct · line 3296
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_psr.c +0
-1@@ -3292,13 +3328,16 @@ void intel_psr_connector_debugfs_add(struct intel_connector *connector) struct drm_i915_private *i915 = to_i915(connector->base.dev); struct dentry *root = connector->base.debugfs_entry; - if (connector->base.connector_type !=
DRM_MODE_CONNECTOR_eDP)drivers/gpu/drm/i915/display/intel_psr.c void intel_psr_connector_debugfs_add(struct · line 3332
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_psr.c +1
-1- return; + if (connector->base.connector_type !=
DRM_MODE_CONNECTOR_eDP)Quoted 15 lines
drivers/gpu/drm/i915/display/intel_psr.c +5
-1{ + if (!(HAS_DP20(i915) && + connector->base.connector_type == DRM_MODE_CONNECTOR_DisplayPort)) + return; + } debugfs_create_file("i915_psr_sink_status", 0444, root, connector, &i915_psr_sink_status_fops); - if (HAS_PSR(i915)) + if (HAS_PSR(i915) || HAS_DP20(i915))debugfs_create_file("i915_psr_status", 0444, root, connector,
&i915_psr_status_fops); }
Re: [PATCH v8 6/6] drm/i915/panelreplay: Debugfs support for panel replay
Quoted 160 lines · Animesh
Quoted 151 lines
-----Original Message-----
From: Hogander, Jouni <[email protected]>
Sent: Monday, November 6, 2023 1:33 PM
To: [email protected]; Manna, Animesh <[email protected]>; [email protected]
Cc: Murthy, Arun R <[email protected]>; Nikula, Jani <[email protected]>
Subject: Re: [PATCH v8 6/6] drm/i915/panelreplay: Debugfs support for
panel replayHello Animesh,
Thank you for the changes. Now the patch is much shorter, cleaner and
easier to review. See my inline comments below.Quoted 75 lines · Animesh Manna
Add debugfs support which will print source and sink status per connector basis. Existing
i915_psr_statusandi915_psr_sink_status
will be used to get the source and sink status of panel replay.v1: Initial version. [rb-ed by Arun]
v2: Added check for DP 2.0 and connector type inconnector_debugfs_add().
v3: Optimization and cosmetic changes. [Jouni]Cc Jouni Högander <[email protected]>Cc Arun R Murthy <[email protected]>Cc Jani Nikula <[email protected]>Reviewed-by Arun R Murthy <[email protected]>Signed-off-by Animesh Manna <[email protected]>---
drivers/gpu/drm/i915/display/intel_psr.c | 93 +++++++++++++++++-
----
--1 file changed, 66 insertions(+), 27 deletions(-)drivers/gpu/drm/i915/display/intel_psr.c +7
-2@@ -2813,12 +2813,19 @@ static int psr_get_status_and_error_status(struct intel_dp *intel_dp, { struct drm_dp_aux *aux = &intel_dp->aux; int ret; + unsigned int offset; - ret = drm_dp_dpcd_readb(aux, DP_PSR_STATUS, status); + offset = intel_dp->psr.panel_replay_enabled ? + DP_SINK_DEVICE_PR_AND_FRAME_LOCK_STATUS :DP_PSR_STATUS ; + + ret = drm_dp_dpcd_readb(aux, offset, status); if (ret != 1) return ret; - ret = drm_dp_dpcd_readb(aux, DP_PSR_ERROR_STATUS, error_status); + offset = intel_dp->psr.panel_replay_enabled ? + DP_PANEL_REPLAY_ERROR_STATUS :
DP_PSR_ERROR_STATUS;
+
+ ret =drm_dp_dpcd_readb(aux, offset, error_status); if (ret != 1)
return ret;drivers/gpu/drm/i915/display/intel_psr.c +1
-1@@ -3039,7 +3046,7 @@ psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) status = live_status[status_val]; } - seq_printf(m, "Source PSR status: %s [0x%08x]\n", status, val); + seq_printf(m, "Source PSR/PanelReplay status: %s[0x%08x]\n",
status, val);
}static int
intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp)drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3052,18 +3059,23 @@ static int intel_psr_status(struct
seq_file
*m, structintel_dp*intel_dp)
bool enabled;
u32 val;- seq_printf(m, "Sink support: %s", str_yes_no(psr-
Quoted 1 line
sink_support));Quoted 9 lines
- if (
psr->sink_support)
+ seq_printf(m, "Sink support: PSR = %s, Panel Replay = %s",
+str_yes_no(psr->sink_support),
+str_yes_no(psr->sink_panel_replay_support)); +
+ if (psr->sink_support||psr->sink_panel_replay_support) seq_printf(m, " [0x%02x]", intel_dp-Quoted 1 line
psr_dpcd[0]);
The output will look like this:
Sink support: PSR = yes, Panel Replay = yes, [
0x01]I think more logical would be:
Sink support: PSR = yes [
0x01], Panel Replay = yesQuoted 37 lines
seq_puts(m, "\n");
- if (!psr->sink_support)
+ if (!(psr->sink_support || psr-Quoted 1 line
sink_panel_replay_support))return 0;
wakeref =
intel_runtime_pm_get(&dev_priv->runtime_pm);mutex_lock(&psr->lock);- if (
psr->enabled)
+ if (psr->panel_replay_enabled)
+ status = "Panel Replay Enabled";
+ else if (psr->enabled)
status =psr->psr2_enabled? "PSR2 enabled" :
"PSR1
enabled";
else
status = "disabled";drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3076,14 +3088,17 @@ static int intel_psr_status(struct
seq_file
*m, structintel_dp*intel_dp)
goto unlock;
}- if (
psr->psr2_enabled) {
+ if (psr->panel_replay_enabled) {
+ val =intel_de_read(dev_priv, TRANS_DP2_CTL(cpu_transcoder));
+ enabled = val &TRANS_DP2_PANEL_REPLAY_ENABLE; + } else if (psr->psr2_enabled) {
val =intel_de_read(dev_priv, EDP_PSR2_CTL(cpu_transcoder));
enabled = val &EDP_PSR2_ENABLE;
} else {
val = intel_de_read(dev_priv, psr_ctl_reg(dev_priv,Quoted 8 lines
Quoted 6 lines
cpu_transcoder));
enabled = val &EDP_PSR_ENABLE; }
- seq_printf(m, "Source PSR ctl: %s [0x%08x]\n", + seq_printf(m, "Source PSR/PanelReplay ctl: %s [0x%08x]\n",Use correct name here. Which is DP2 ctl.
Quoted 7 lines
The clt registers are different for panel-replay/psr2/psr, so kept as PSR/PanelReplay ctl and cannot put DP2 ctl.
Otherwise, will keep like below:seq_printf(m, "Source ctl: %s [0x%08x]\n", str_enabled_disabled(enabled), val);Please ley me know if it looks ok to you.
Ok. fair argument. Let's keep it as it is in this version.
BR,
Jouni Högander
Quoted 148 lines
Regards,
AnimeshQuoted 144 lines
Quoted 118 lines
str_enabled_disabled(enabled), val);psr_source_status(intel_dp, m); seq_printf(m, "Busy frontbuffer bits: 0x%08x\n", @@ - 3221,6
+3236,15 @@ void intel_psr_debugfs_register(structdrm_i915_private
*i915)
i915,&i915_edp_psr_status_fops); }drivers/gpu/drm/i915/display/intel_psr.c +9
-0+static const char *psr_mode_str (struct intel_dp *intel_dp) { + if (intel_dp->psr.panel_replay_enabled) + return "PANEL-REPLAY"; + else if(intel_dp->psr.enabled) + return "PSR"; + + return "unknown"; +} +static int
i915_psr_sink_status_show(struct seq_file *m, void *data)
{
structintel_connector*connector =m->private; @@ - 3235,12
+3259,19 @@ static int i915_psr_sink_status_show(structseq_file*m,
void *data)
"reserved",
"sink internal error",
};
+ static const char * const panel_replay_status[] = { + "Sink device frame is locked to the Source device",
+ "Sink device is coasting, using the VTotal target",
+ "Sink device is governing the frame rate (frame rate
unlock is granted)",
+ "Sink device in the process of re-locking with the
Source device",
+ };
const char *str;
int ret;
u8 status,error_status;
+ u32 idx;- if (!CAN_PSR(intel_dp)) {
- seq_puts(m, "PSR Unsupported\n");
+ if (!(CAN_PSR(intel_dp) ||CAN_PANEL_REPLAY(intel_dp))) { + seq_puts(m, "PSR/Panel-Replay Unsupported\n"); return-ENODEV;
}drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3251,28 +3282,33 @@ static inti915_psr_sink_status_show(struct
seq_file*m, void *data)
if (ret)
return ret;- status &=
DP_PSR_SINK_STATE_MASK;
- if (status <ARRAY_SIZE(sink_status))
- str = sink_status[status];
- else
- str = "unknown";
+ str = "unknown";
+ if (intel_dp->psr.panel_replay_enabled) {
+ idx = (status &DP_SINK_FRAME_LOCKED_MASK) >>DP_SINK_FRAME_LOCKED_SHIFT;
+ if (idx <ARRAY_SIZE(panel_replay_status)) + str = panel_replay_status[idx]; + } else if (intel_dp->psr.enabled) {
+ idx = status &DP_PSR_SINK_STATE_MASK; + if (idx <ARRAY_SIZE(sink_status)) + str = sink_status[idx];
+ }- seq_printf(m, "Sink PSR status: 0x%x [%s]\n", status, str);
+ seq_printf(m, "Sink %s status: 0x%x [%s]\n",psr_mode_str(intel_dp), status, str);- seq_printf(m, "Sink PSR error status: 0x%x",
error_status);
+ seq_printf(m, "Sink %s error status: 0x%x",psr_mode_str(intel_dp),error_status);if (
error_status& (DP_PSR_RFB_STORAGE_ERROR|DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR|DP_PSR_LINK_CRC_ERROR))
- seq_puts(m, ":\n");
- else
- seq_puts(m, "\n");
+ seq_puts(m, ":\n");
+ else
+ seq_puts(m, "\n");
if (error_status&DP_PSR_RFB_STORAGE_ERROR)
- seq_puts(m, "\tPSR RFB storage error\n"); + seq_printf(m, "\t%s RFB storage error\n",psr_mode_str(intel_dp));
if (error_status&DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR) - seq_puts(m, "\tPSR VSC SDP uncorrectable error\n");
+ seq_printf(m, "\t%s VSC SDP uncorrectable error\n",psr_mode_str(intel_dp));
if (error_status&DP_PSR_LINK_CRC_ERROR)
- seq_puts(m, "\tPSR Link CRC error\n"); + seq_printf(m, "\t%s Link CRC error\n",psr_mode_str(intel_dp));return ret;
}drivers/gpu/drm/i915/display/intel_psr.c +0
-0@@ -3292,13 +3328,16 @@ void
intel_psr_connector_debugfs_add(struct intel_connector *connector)
structdrm_i915_private*i915 = to_i915(connector-Quoted 4 lines
Quoted 1 line
base.dev);
struct dentry *root =
connector->base.debugfs_entry;- if (
connector->base.connector_type!=
DRM_MODE_CONNECTOR_eDP)Quoted 2 lines
- return;
+ if (connector->base.connector_type!=
DRM_MODE_CONNECTOR_eDP)Quoted 18 lines
{
+ if (!(HAS_DP20(i915) &&
+connector->base.connector_type==DRM_MODE_CONNECTOR_DisplayPort))
+ return;
+ }debugfs_create_file("i915_psr_sink_status", 0444, root, connector,
&i915_psr_sink_status_fops);- if (
HAS_PSR(i915))
+ if (HAS_PSR(i915)||HAS_DP20(i915)) debugfs_create_file("i915_psr_status", 0444, root,
connector,&i915_psr_status_fops);
}
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Panel replay phase1 implementation (rev10)
In reply to Animesh Manna== Series Details ==
== Series Details ==
Series: Panel replay phase1 implementation (rev10)
URL : https://patchwork.freedesktop.org/series/94470/
State : warning
== Summary ==
Error: dim checkpatch failedf025bc5ed357 drm/panelreplay: dpcd register definition for panelreplay a6ba947cd35c drm/i915/psr: Move psr specific dpcd init into own function d0b4de45d90a drm/i915/panelreplay: Initializaton and compute config for panel replay -:366: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_dp' - possible side-effects? #366: FILE: drivers/gpu/drm/i915/display/intel_psr.h:24:
+#define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \
+ (intel_dp)->psr.source_support)
-:369: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_dp' - possible side-effects? #369: FILE: drivers/gpu/drm/i915/display/intel_psr.h:27:
+#define CAN_PANEL_REPLAY(intel_dp) ((intel_dp)->psr.sink_panel_replay_support && \
+ (intel_dp)->psr.source_panel_replay_support)
total: 0 errors, 0 warnings, 2 checks, 289 lines checked5225e39b90ad drm/i915/panelreplay: Enable panel replay dpcd initialization for DP bf1255857ce0 drm/i915/panelreplay: enable/disable panel replay96064a75ad28 drm/i915/panelreplay: Debugfs support for panel replay
-:111: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #111: FILE: drivers/gpu/drm/i915/display/intel_psr.c:3239:
+static const char *psr_mode_str(struct intel_dp *intel_dp) {
-:114: ERROR:SPACING: space required before the open parenthesis '(' #114: FILE: drivers/gpu/drm/i915/display/intel_psr.c:3242:
+ else if(intel_dp->psr.enabled)
-:171: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24) #171: FILE: drivers/gpu/drm/i915/display/intel_psr.c:3300:
if (error_status & (DP_PSR_RFB_STORAGE_ERROR |
[...]
+ seq_puts(m, ":\n");
total: 2 errors, 1 warnings, 0 checks, 176 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Panel replay phase1 implementation (rev10)
In reply to Animesh Manna== Series Details ==
== Series Details ==
Series: Panel replay phase1 implementation (rev10)
URL : https://patchwork.freedesktop.org/series/94470/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for Panel replay phase1 implementation (rev10)
In reply to Animesh Manna== Series Details ==
== Series Details ==
Series: Panel replay phase1 implementation (rev10)
URL : https://patchwork.freedesktop.org/series/94470/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13835 -> Patchwork_94470v10
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_94470v10 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_94470v10, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/index.html
Participating hosts (36 -> 36)
------------------------------
Additional (2): bat-dg2-9 fi-pnv-d510
Missing (2): fi-hsw-4770 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_94470v10:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_store@basic:
- fi-rkl-11600: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/fi-rkl-11600/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/fi-rkl-11600/igt@[email protected]
* igt@i915_selftest@live@gt_mocs:
- bat-rpls-1: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-rpls-1/igt@i915_selftest@live@gt_mocs.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-rpls-1/igt@i915_selftest@live@gt_mocs.html
Known issues
------------
Here are the changes found in Patchwork_94470v10 that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- bat-jsl-1: [PASS][5] -> [FAIL][6] ([i915#8293])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-jsl-1/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-jsl-1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap@basic:
- bat-dg2-9: NOTRUN -> [SKIP][7] ([i915#4083])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-dg2-9: NOTRUN -> [SKIP][8] ([i915#4077]) +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg2-9: NOTRUN -> [SKIP][9] ([i915#4079]) +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg2-9: NOTRUN -> [SKIP][10] ([i915#6621])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@i915_selftest@live@migrate:
- bat-mtlp-6: [PASS][11] -> [DMESG-FAIL][12] ([i915#7699])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-mtlp-6/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][13] ([i915#5190])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][14] ([i915#4215] / [i915#5190])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@framebuffer-vs-set-tiling:
- bat-dg2-9: NOTRUN -> [SKIP][15] ([i915#4212]) +6 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg2-9: NOTRUN -> [SKIP][16] ([i915#4212] / [i915#5608])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][17] ([i915#4103] / [i915#4213] / [i915#5608]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg2-9: NOTRUN -> [SKIP][18] ([fdo#109285])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-9: NOTRUN -> [SKIP][19] ([i915#5274])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@kms_psr@cursor_plane_move:
- fi-skl-6600u: [PASS][20] -> [SKIP][21] ([fdo#109271]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/fi-skl-6600u/igt@kms_psr@cursor_plane_move.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/fi-skl-6600u/igt@kms_psr@cursor_plane_move.html
* igt@kms_psr@primary_page_flip:
- fi-pnv-d510: NOTRUN -> [SKIP][22] ([fdo#109271]) +29 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/fi-pnv-d510/igt@kms_psr@primary_page_flip.html
* igt@kms_psr@sprite_plane_onoff:
- bat-mtlp-8: [PASS][23] -> [SKIP][24] ([i915#1072]) +2 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-mtlp-8/igt@kms_psr@sprite_plane_onoff.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-mtlp-8/igt@kms_psr@sprite_plane_onoff.html
- bat-jsl-3: [PASS][25] -> [SKIP][26] ([i915#1072]) +3 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-jsl-3/igt@kms_psr@sprite_plane_onoff.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-jsl-3/igt@kms_psr@sprite_plane_onoff.html
- bat-dg2-9: NOTRUN -> [SKIP][27] ([i915#1072]) +3 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg2-9: NOTRUN -> [SKIP][28] ([i915#3555] / [i915#4098])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg2-9: NOTRUN -> [SKIP][29] ([i915#3708])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-dg2-9: NOTRUN -> [SKIP][30] ([i915#3708] / [i915#4077]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-dg2-9: NOTRUN -> [SKIP][31] ([i915#3291] / [i915#3708]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-dg2-9/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][32] ([i915#5334]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-b-dp-5:
- bat-adlp-11: [DMESG-FAIL][34] ([i915#6868]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-c-dp-5:
- bat-adlp-11: [FAIL][36] ([i915#9047]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-dp-5:
- bat-adlp-11: [ABORT][38] ([i915#8668]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
#### Warnings ####
* igt@kms_psr@primary_mmap_gtt:
- bat-mtlp-8: [SKIP][40] ([i915#4077]) -> [SKIP][41] ([i915#1072])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13835/bat-mtlp-8/igt@kms_psr@primary_mmap_gtt.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/bat-mtlp-8/igt@kms_psr@primary_mmap_gtt.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6868]: https://gitlab.freedesktop.org/drm/intel/issues/6868
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#9047]: https://gitlab.freedesktop.org/drm/intel/issues/9047
Build changes
-------------
* Linux: CI_DRM_13835 -> Patchwork_94470v10
CI-20190529: 20190529
CI_DRM_13835: ca1fcd4faf444fc6d8b3cf88a17e2eb7765c1299 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7573: 69485d223b256208614e9949a4a7e84bde52d5f5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_94470v10: ca1fcd4faf444fc6d8b3cf88a17e2eb7765c1299 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
ccdfe9ce63ca drm/i915/panelreplay: Debugfs support for panel replay 2bf7c7fc238c drm/i915/panelreplay: enable/disable panel replay 624791f93441 drm/i915/panelreplay: Enable panel replay dpcd initialization for DP b660ebdb90ab drm/i915/panelreplay: Initializaton and compute config for panel replay 9f90aa81c9ee drm/i915/psr: Move psr specific dpcd init into own function 112b7a4e177b drm/panelreplay: dpcd register definition for panelreplay
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_94470v10/index.html