drm/i915/backlight: Restore backlight on resume, v2.
Subsystems (2)
PATCH RESEND 1/5 drm/i915/backlight: Restore backlight on resume, v2.
Restore our saved values for backlight. This way even with fastset on S4 resume we will correctly restore the backlight to the active values.
Changes since v1:
- Call enable_backlight() when backlight.level is set. On suspend backlight.enabled is always cleared, this makes it not a good indicator. Also check for crtc->state->active.
--- drivers/gpu/drm/i915/intel_display.c | 2 ++ drivers/gpu/drm/i915/intel_drv.h | 1 + drivers/gpu/drm/i915/intel_panel.c | 30 ++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+)
drivers/gpu/drm/i915/intel_display.c +2 -0
@@ -15887,7 +15887,9 @@ void intel_display_resume(struct drm_device *dev)if (!ret) ret =__intel_display_resume (dev, state, &ctx); +intel_panel_restore_backlight (dev_priv);intel_enable_ipc (dev_priv); +drm_modeset_drop_locks (&ctx);drm_modeset_acquire_fini (&ctx);
drivers/gpu/drm/i915/intel_drv.h +1 -0
@@ -2003,6 +2003,7 @@ int intel_panel_init(struct intel_panel *panel,struct drm_display_mode *fixed_mode, struct drm_display_mode *downclock_mode);void intel_panel_fini (struct intel_panel *panel); +void intel_panel_restore_backlight (struct drm_i915_private *dev_priv);void intel_fixed_panel_mode (const struct drm_display_mode *fixed_mode,struct drm_display_mode *adjusted_mode); void intel_pch_panel_fitting(struct intel_crtc *crtc,
drivers/gpu/drm/i915/intel_panel.c +30 -0
@@ -1903,6 +1903,36 @@ intel_panel_init_backlight_funcs(struct intel_panel *panel) } } +void intel_panel_restore_backlight (struct drm_i915_private *dev_priv) +{ +struct intel_connector *connector; +struct drm_connector_list_iter conn_iter; + +/* Kill all the work that may have been queued by hpd. */ +drm_connector_list_iter_begin (&dev_priv->drm, &conn_iter); +for_each_intel_connector_iter (connector, &conn_iter) { +struct intel_panel *panel = &connector->panel; +const struct drm_connector_state *conn_state = + connector->base.state; + +if (!panel->backlight.present) +continue ; + +if (panel->backlight.level && conn_state->crtc && + conn_state->crtc->state->active) { +const struct intel_crtc_state *crtc_state = +to_intel_crtc_state (conn_state->crtc->state); + +intel_panel_enable_backlight (crtc_state, conn_state); + }else { +WARN (panel->backlight.enabled,"Backlight enabled without crtc\n" ); + +intel_panel_disable_backlight (conn_state); + } + } +drm_connector_list_iter_end (&conn_iter); +} +int intel_panel_init (struct intel_panel *panel,struct drm_display_mode *fixed_mode,struct drm_display_mode *downclock_mode)
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH RESEND 2/5 drm/i915/backlight: Fix backlight takeover on LPT, v2.
On lynxpoint the bios sometimes sets up the backlight using the CPU display, but the driver expects using the PWM PCH override register.
Read the value from the CPU register, then convert it to the other units by converting from the old duty cycle, to freq, to the new units.
This value is then programmed in the override register, after which we set the override and disable the CPU display control. This allows us to switch the source without flickering, and make the backlight controls work in the driver.
Changes since v1:
- Read BLC_PWM_CPU_CTL2 to cpu_ctl2.
- Clean up cpu_mode if slightly.
- Always disable BLM_PWM_ENABLE in cpu_ctl2.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108225
--- drivers/gpu/drm/i915/intel_panel.c | 40 +++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_panel.c +36 -4
@@ -1484,8 +1484,8 @@ static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus {struct drm_i915_private *dev_priv =to_i915 (connector->base.dev);struct intel_panel *panel = &connector->panel; -u32 pch_ctl1, pch_ctl2, val; -bool alt; +u32 cpu_ctl2, pch_ctl1, pch_ctl2, val; +bool alt, cpu_mode;if (HAS_PCH_LPT (dev_priv)) alt =I915_READ (SOUTH_CHICKEN2 ) &LPT_PWM_GRANULARITY ;
@@ -1499,6 +1499,8 @@ static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus pch_ctl2 =I915_READ (BLC_PWM_PCH_CTL2 ); panel->backlight.max = pch_ctl2 >>16 ; + cpu_ctl2 =I915_READ (BLC_PWM_CPU_CTL2 ); +if (!panel->backlight.max) panel->backlight.max =get_backlight_max_vbt (connector);
@@ -1507,12 +1509,42 @@ static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus panel->backlight.min =get_backlight_min_vbt (connector); - val =lpt_get_backlight (connector); + panel->backlight.enabled = pch_ctl1 &BLM_PCH_PWM_ENABLE ; + + cpu_mode = panel->backlight.enabled &&HAS_PCH_LPT (dev_priv) && + !(pch_ctl1 &BLM_PCH_OVERRIDE_ENABLE ) && + (cpu_ctl2 &BLM_PWM_ENABLE ); +if (cpu_mode) { +u32 freq; + +/* +* We're in cpu mode, convert to PCH units. +* +* Convert CPU pwm tick back to hz, back to new PCH units again. +* this is the same formula as pch_hz_to_pwm, but the other way +* around.. +*/ + val =pch_get_backlight (connector); + freq =DIV_ROUND_CLOSEST (KHz (dev_priv->rawclk_freq), val *128 ); + +DRM_DEBUG_KMS ("Backlight PCH value: %u, converted to freq %u, converted to lpt units %u, minmax: %u/%u\n" , + val, freq,lpt_hz_to_pwm (connector, freq), panel->backlight.min, panel->backlight.max); + + val =lpt_hz_to_pwm (connector, freq); + }else + val =lpt_get_backlight (connector); val =intel_panel_compute_brightness (connector, val); panel->backlight.level =clamp (val, panel->backlight.min, panel->backlight.max); - panel->backlight.enabled = pch_ctl1 &BLM_PCH_PWM_ENABLE ; +if (cpu_mode) { +/* Write converted CPU PWM value to PCH override register */ +lpt_set_backlight (connector->base.state, panel->backlight.level); +I915_WRITE (BLC_PWM_PCH_CTL1 , pch_ctl1 |BLM_PCH_OVERRIDE_ENABLE ); + } + +if (cpu_ctl2 &BLM_PWM_ENABLE ) +I915_WRITE (BLC_PWM_CPU_CTL2 , cpu_ctl2 & ~BLM_PWM_ENABLE );return 0 ; }
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
[HACK for CI] drm/i915: Update crtc scaler settings when update_pipe is set
From: Hans de Goede <[email protected]>
When the pipe_config's update_pipe flag is set we may need to update the panel fitting settings. On GEN9+ this means we need to update the crtc's scaler settings.
This fixes the following WARN_ON, during i915 loading on an Asrock B150M Pro4S/D3 board with an i5-6500 CPU / graphics:
[drm:pipe_config_err [i915]] *ERROR* mismatch in pch_pfit.enabled
(expected no, found yes)
pipe state doesn't match!
WARNING: CPU: 3 PID: 305 at drivers/gpu/drm/i915/intel_display.c:12084
With line 12084 being the I915_STATE_WARN call inside the "if (!intel_pipe_config_compare())" block in verify_crtc_state().
On this board with 2 1920x1080 monitors connected over HDMI the GOP initializes both monitors at 1920x1080 and despite no scaling being necessary configures a scaler for one of them.
When booting with fastboot=1 on the initial modeset needs_modeset will be false while update_pipe is true. Since we were not calling skl_update_scaler_crtc() in this case we would leave the scaler enabled causing this error.
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -11009,7 +11009,7 @@ static int intel_crtc_atomic_check(struct drm_crtc *crtc, }if (INTEL_GEN (dev_priv) >=9 ) { -if (mode_changed) +if (mode_changed || pipe_config->update_pipe) ret =skl_update_scaler_crtc (pipe_config);if (!ret)
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerRe: [RESEND PATCH 2/5] drm/i915/backlight: Fix backlight takeover on LPT, v2.
In reply to Maarten LankhorstQuoted 68 lines · Maarten Lankhorst
On lynxpoint the bios sometimes sets up the backlight using the CPU display, but the driver expects using the PWM PCH override register.
Read the value from the CPU register, then convert it to the other units by converting from the old duty cycle, to freq, to the new units.
This value is then programmed in the override register, after which we set the override and disable the CPU display control. This allows us to switch the source without flickering, and make the backlight controls work in the driver.
Changes since v1:
- ReadBLC_PWM_CPU_CTL2tocpu_ctl2.
- Clean upcpu_modeif slightly.
- Always disableBLM_PWM_ENABLEincpu_ctl2.Signed-off-by Maarten Lankhorst <[email protected]>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108225
Cc Basil Eric Rabi <[email protected]>Cc Hans de Goede <[email protected]>Cc Tolga Cakir <[email protected]>Cc Ville Syrjälä <[email protected]>Tested-by Tolga Cakir <[email protected]>--- drivers/gpu/drm/i915/intel_panel.c | 40 +++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/intel_panel.c +16
-3@@ -1484,8 +1484,8 @@ static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus {struct drm_i915_private *dev_priv =to_i915 (connector->base.dev);struct intel_panel *panel = &connector->panel; -u32 pch_ctl1, pch_ctl2, val; -bool alt; +u32 cpu_ctl2, pch_ctl1, pch_ctl2, val; +bool alt, cpu_mode;if (HAS_PCH_LPT (dev_priv)) alt =I915_READ (SOUTH_CHICKEN2 ) &LPT_PWM_GRANULARITY ;@@ -1499,6 +1499,8 @@ static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus pch_ctl2 =I915_READ (BLC_PWM_PCH_CTL2 ); panel->backlight.max = pch_ctl2 >>16 ; + cpu_ctl2 =I915_READ (BLC_PWM_CPU_CTL2 ); +if (!panel->backlight.max) panel->backlight.max =get_backlight_max_vbt (connector);@@ -1507,12 +1509,42 @@ static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus panel->backlight.min =get_backlight_min_vbt (connector); - val =lpt_get_backlight (connector); + panel->backlight.enabled = pch_ctl1 &BLM_PCH_PWM_ENABLE ; + + cpu_mode = panel->backlight.enabled &&HAS_PCH_LPT (dev_priv) && + !(pch_ctl1 &BLM_PCH_OVERRIDE_ENABLE ) && + (cpu_ctl2 &BLM_PWM_ENABLE ); +if (cpu_mode) { +u32 freq; + +/* +* We're in cpu mode, convert to PCH units. +* +* Convert CPU pwm tick back to hz, back to new PCH units again.
drivers/gpu/drm/i915/intel_panel.c static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus · line 1533
Quoted 10 lines
drivers/gpu/drm/i915/intel_panel.c +10
-0+* this is the same formula as pch_hz_to_pwm, but the other way +* around.. +*/ + val =pch_get_backlight (connector); + freq =DIV_ROUND_CLOSEST (KHz (dev_priv->rawclk_freq), val *128 ); + +DRM_DEBUG_KMS ("Backlight PCH value: %u, converted to freq %u, converted to lpt units %u, minmax: %u/%u\n" , + val, freq,lpt_hz_to_pwm (connector, freq), panel->backlight.min, panel->backlight.max); + + val =lpt_hz_to_pwm (connector, freq);
If the CPU register is driving the PCH PWM, I think you're good with using val = pch_get_backlight(connector) directly. In that case, the modulation frequency should be set in the PCH register anyway, and it should be all right. The increments and reference clocks and everything should be the same. So the duty cycle should be the same.
The CPU register modulation frequency stuff should only be used for driving the backlight in the utility pin. That's a possibility we should maybe check, but if this patch fixes anything, that's not the case here. It's a physically different pin, and we only support that on BXT. IIRC I've been told nobody uses that on HSW/LPT, and I don't recall any relevant bug reports either.
Using the utility pin would involve:
* Setting the utility pin mode to PWM, and enabling it in UTIL_PIN_CTL (0x48400).
* Setting the PWM pin selects in BLC_MISC_CTL (0x48360).
* Setting the modulation frequency in BLC_PWM_CPU_CTL (0x48254) *or* in HSW_BLC_PWM2_CTL (0x48354) depending on BLC_MISC_CTL.
Perhaps we should add WARN_ON()s on util pin pwm mode and non-zero blc misc, but that's another patch.
TL;DR make that:
if (cpu_mode) val = pch_get_backlight(connector); else val = lpt_get_backlight(connector);
drivers/gpu/drm/i915/intel_panel.c static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus · line 1540
Quoted 8 lines
drivers/gpu/drm/i915/intel_panel.c +3
-1+ }else + val =lpt_get_backlight (connector); val =intel_panel_compute_brightness (connector, val); panel->backlight.level =clamp (val, panel->backlight.min, panel->backlight.max); - panel->backlight.enabled = pch_ctl1 &BLM_PCH_PWM_ENABLE ; +if (cpu_mode) {
After the simplicication above, perhaps add a debug log here instead about switching to PCH override.
drivers/gpu/drm/i915/intel_panel.c static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unus · line 1547
Quoted 7 lines
drivers/gpu/drm/i915/intel_panel.c +7
-0+/* Write converted CPU PWM value to PCH override register */ +lpt_set_backlight (connector->base.state, panel->backlight.level); +I915_WRITE (BLC_PWM_PCH_CTL1 , pch_ctl1 |BLM_PCH_OVERRIDE_ENABLE ); + } + +if (cpu_ctl2 &BLM_PWM_ENABLE ) +I915_WRITE (BLC_PWM_CPU_CTL2 , cpu_ctl2 & ~BLM_PWM_ENABLE );
Please move that within the cpu_mode block above. I want to minimize the impact on !cpu_mode.
BR,
Jani.
Quoted 3 lines
drivers/gpu/drm/i915/intel_panel.c +0
-0return 0 ; }
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH RESEND 3/5 drm/i915: Enable fastset for non-boot modesets.
In reply to Maarten LankhorstNow that our state comparison functions are pretty complete, we should enable fastset by default when a modeset can be avoided. Even if we're not completely certain about the inherited state, we can be certain after the first modeset that our sw state matches the hw state.
--- drivers/gpu/drm/i915/intel_display.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +6 -2
@@ -11651,6 +11651,11 @@ intel_pipe_config_compare(struct drm_i915_private *dev_priv, (current_config->base.mode.private_flags &I915_MODE_FLAG_INHERITED ) && !(pipe_config->base.mode.private_flags &I915_MODE_FLAG_INHERITED ); +if (fixup_inherited && !i915_modparams.fastboot) { +drm_dbg (DRM_UT_KMS ,"initial modeset and fastboot not set\n" ); + ret = false; + } +#define PIPE_CONF_CHECK_X (name) do { \ if (current_config->name != pipe_config->name) { \ pipe_config_err(adjust, __stringify(name), \
@@ -12674,8 +12679,7 @@ static int intel_atomic_check(struct drm_device *dev,return ret; } -if (i915_modparams.fastboot && -intel_pipe_config_compare (dev_priv, +if (intel_pipe_config_compare (dev_priv,to_intel_crtc_state (old_crtc_state), pipe_config, true)) { crtc_state->mode_changed = false;
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RESEND, 3/5] drm/i915: Enable fastset for non-boot modesets.
Hi,
Quoted 6 lines · Maarten Lankhorst
Now that our state comparison functions are pretty complete, we should enable fastset by default when a modeset can be avoided. Even if we're not completely certain about the inherited state, we can be certain after the first modeset that our sw state matches the hw state.
Signed-off-by Maarten Lankhorst <[email protected]>
The patch looks good to me, but we must make sure this passes CI first, I suggest you test this without the last patch in the series which unconditionally enables fastset.
Also see Daniel's remarks to my resend of your earlier version of this patch:
https://www.spinics.net/lists/intel-gfx/msg184622.html
With that said:
Regards,
Hans
Quoted 22 lines
--- drivers/gpu/drm/i915/intel_display.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +5
-0@@ -11651,6 +11651,11 @@ intel_pipe_config_compare(struct drm_i915_private *dev_priv, (current_config->base.mode.private_flags &I915_MODE_FLAG_INHERITED ) && !(pipe_config->base.mode.private_flags &I915_MODE_FLAG_INHERITED ); +if (fixup_inherited && !i915_modparams.fastboot) { +drm_dbg (DRM_UT_KMS ,"initial modeset and fastboot not set\n" ); + ret = false; + } +#define PIPE_CONF_CHECK_X (name) do { \ if (current_config->name != pipe_config->name) { \ pipe_config_err(adjust, __stringify(name), \
drivers/gpu/drm/i915/intel_display.c static int intel_atomic_check(struct drm_device *dev, · line 12685
Quoted 9 lines
drivers/gpu/drm/i915/intel_display.c +1
-2@@ -12674,8 +12679,7 @@ static int intel_atomic_check(struct drm_device *dev,return ret; } -if (i915_modparams.fastboot && -intel_pipe_config_compare (dev_priv, +if (intel_pipe_config_compare (dev_priv,to_intel_crtc_state (old_crtc_state), pipe_config, true)) { crtc_state->mode_changed = false;
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/5 drm/i915: Make HW readout mark CRTC scaler as in use.
In reply to Maarten LankhorstThis way we don't accidentally double allocate it and hopefully disable it during fastset. I noticed this when I wrote a patch to sanity check all of the scaler state.
--- drivers/gpu/drm/i915/intel_display.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/intel_display.c +1 -0
@@ -8849,6 +8849,7 @@ static void skylake_get_pfit_config(struct intel_crtc *crtc, pipe_config->pch_pfit.enabled = true; pipe_config->pch_pfit.pos =I915_READ (SKL_PS_WIN_POS (crtc->pipe, i)); pipe_config->pch_pfit.size =I915_READ (SKL_PS_WIN_SZ (crtc->pipe, i)); + scaler_state->scalers[i].in_use = true;break ; } }
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [4/5] drm/i915: Make HW readout mark CRTC scaler as in use.
Hi,
Quoted 5 lines · Maarten Lankhorst
This way we don't accidentally double allocate it and hopefully disable it during fastset. I noticed this when I wrote a patch to sanity check all of the scaler state.
Signed-off-by Maarten Lankhorst <[email protected]>
Patch looks good to me:
Regards,
Hans
Quoted 10 lines
--- drivers/gpu/drm/i915/intel_display.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/i915/intel_display.c +0
-0
drivers/gpu/drm/i915/intel_display.c static void skylake_get_pfit_config(struct intel_crtc *crtc, · line 8855
Quoted 7 lines
drivers/gpu/drm/i915/intel_display.c +1
-0@@ -8849,6 +8849,7 @@ static void skylake_get_pfit_config(struct intel_crtc *crtc, pipe_config->pch_pfit.enabled = true; pipe_config->pch_pfit.pos =I915_READ (SKL_PS_WIN_POS (crtc->pipe, i)); pipe_config->pch_pfit.size =I915_READ (SKL_PS_WIN_SZ (crtc->pipe, i)); + scaler_state->scalers[i].in_use = true;break ; } }
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH RESEND 5/5 drm/i915: Re-enable fastset by default
In reply to Maarten LankhorstNow that we've solved the backlight issue, I think it's time to enable this again by default. We've enabled it in the past, but backlight issues prevented us from enabling it by default.
Our hardware readout is pretty complete, and with all of the connector state moved to atomic I'm hoping we finally have enough capability to re-enable fastset by default.
--- drivers/gpu/drm/i915/i915_params.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_params.h +1 -1
@@ -57,7 +57,7 @@ struct drm_printer;/* leave bools at the end to not create holes */ \ param(bool, alpha_support, IS_ENABLED(CONFIG_DRM_I915_ALPHA_SUPPORT)) \ param(bool, enable_hangcheck, true) \ - param(bool, fastboot, false) \ + param(bool, fastboot, true) \ param(bool, prefault_disable, false) \ param(bool, load_detect_test, false) \param (bool, force_reset_modeset_test, false) \
Signature · 6 lines
2.19.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
URL : https://patchwork.freedesktop.org/series/54127/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
0a0c31336671 drm/i915/backlight: Restore backlight on resume, v2.
64b9eeaa5f78 drm/i915/backlight: Fix backlight takeover on LPT, v2.
-:67: CHECK:BRACES: braces {} should be used on all arms of this statement
#67: FILE: drivers/gpu/drm/i915/intel_panel.c:1517:
+ if (cpu_mode) {
[...]
+ } else
[...]-:81: WARNING:LONG_LINE: line over 100 characters #81: FILE: drivers/gpu/drm/i915/intel_panel.c:1531:
+ val, freq, lpt_hz_to_pwm(connector, freq), panel->backlight.min, panel->backlight.max);
-:84: CHECK:BRACES: Unbalanced braces around else statement #84: FILE: drivers/gpu/drm/i915/intel_panel.c:1534:
+ } else
total: 0 errors, 1 warnings, 2 checks, 62 lines checked 1b3e04d0e8ed drm/i915: Enable fastset for non-boot modesets. -:36: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #36: FILE: drivers/gpu/drm/i915/intel_display.c:12683:
+ if (intel_pipe_config_compare(dev_priv,
to_intel_crtc_state(old_crtc_state),
total: 0 errors, 0 warnings, 1 checks, 20 lines checked fa0cd139968c drm/i915: Make HW readout mark CRTC scaler as in use. f55cd89face5 drm/i915: Re-enable fastset by default
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.SPARSE: warning for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
URL : https://patchwork.freedesktop.org/series/54127/
State : warning
== Summary ==
$ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915/backlight: Restore backlight on resume, v2. Okay!
Commit: drm/i915/backlight: Fix backlight takeover on LPT, v2. -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/intel_panel.c:1512:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/intel_panel.c:1537:34: warning: expression using sizeof(void)
Commit: drm/i915: Enable fastset for non-boot modesets. Okay!
Commit: drm/i915: Make HW readout mark CRTC scaler as in use. Okay!
Commit: drm/i915: Re-enable fastset by default
Okay!
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
URL : https://patchwork.freedesktop.org/series/54127/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5323 -> Patchwork_11104
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54127/revisions/1/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11104:
### IGT changes ###
#### Possible regressions ####
* {igt@runner@aborted}:
- fi-skl-iommu: NOTRUN -> FAIL
Known issues
------------
Here are the changes found in Patchwork_11104 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_busy@basic-flip-b:
- fi-gdg-551: PASS -> FAIL [fdo#103182]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- fi-apl-guc: PASS -> DMESG-WARN [fdo#108566]
#### Possible fixes ####
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-byt-clapper: FAIL [fdo#103191] / [fdo#107362] -> PASS
#### Warnings ####
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: DMESG-WARN [fdo#102614] -> DMESG-FAIL [fdo#102614]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103182]: https://bugs.freedesktop.org/show_bug.cgi?id=103182
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
Participating hosts (50 -> 45)
------------------------------
Missing (5): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan
Build changes
-------------
* Linux: CI_DRM_5323 -> Patchwork_11104
CI_DRM_5323: a0ec65b81dd6c82927d10da66bc44c5f0cc0841c @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4748: 90c76cb9bb47a5a3ebb34ad6b1a557bc02d39713 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11104: f55cd89face5c5f0cadc793e75d4aeb733ffb729 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
f55cd89face5 drm/i915: Re-enable fastset by default fa0cd139968c drm/i915: Make HW readout mark CRTC scaler as in use. 1b3e04d0e8ed drm/i915: Enable fastset for non-boot modesets. 64b9eeaa5f78 drm/i915/backlight: Fix backlight takeover on LPT, v2. 0a0c31336671 drm/i915/backlight: Restore backlight on resume, v2.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11104/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: failure for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2.
URL : https://patchwork.freedesktop.org/series/54127/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_5323_full -> Patchwork_11104_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_11104_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11104_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11104_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_available_modes_crc@available_mode_test_crc:
- shard-skl: PASS -> DMESG-WARN +2
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size:
- shard-iclb: PASS -> FAIL
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-90:
- shard-iclb: PASS -> DMESG-WARN +1
* {igt@runner@aborted}:
- shard-skl: NOTRUN -> ( 3 FAIL )
- shard-iclb: NOTRUN -> ( 3 FAIL ) [fdo#108924]
#### Warnings ####
* igt@pm_rc6_residency@rc6-accuracy:
- shard-kbl: PASS -> SKIP
Known issues
------------
Here are the changes found in Patchwork_11104_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@pi-ringfull-vebox:
- shard-kbl: NOTRUN -> FAIL [fdo#103158]
* igt@i915_suspend@shrink:
- shard-skl: NOTRUN -> INCOMPLETE [fdo#106886]
* igt@kms_atomic_transition@1x-modeset-transitions-nonblocking:
- shard-skl: PASS -> FAIL [fdo#107815] / [fdo#108228] / [fdo#108470]
* igt@kms_available_modes_crc@available_mode_test_crc:
- shard-apl: PASS -> FAIL [fdo#106641]
* igt@kms_busy@extended-modeset-hang-newfb-render-b:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#107956]
* igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-a:
- shard-iclb: PASS -> DMESG-WARN [fdo#107956]
* igt@kms_busy@extended-pageflip-hang-newfb-render-b:
- shard-glk: PASS -> DMESG-WARN [fdo#107956]
* igt@kms_cursor_crc@cursor-128x128-suspend:
- shard-apl: PASS -> FAIL [fdo#103191] / [fdo#103232]
* igt@kms_cursor_crc@cursor-256x256-random:
- shard-glk: PASS -> FAIL [fdo#103232] +1
* igt@kms_cursor_crc@cursor-64x21-offscreen:
- shard-skl: PASS -> FAIL [fdo#103232]
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-untiled:
- shard-skl: PASS -> FAIL [fdo#108472]
* igt@kms_fbcon_fbt@psr:
- shard-skl: NOTRUN -> FAIL [fdo#107882]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: PASS -> FAIL [fdo#105363]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- shard-glk: PASS -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen:
- shard-apl: PASS -> FAIL [fdo#103167] +1
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-move:
- shard-iclb: PASS -> FAIL [fdo#103167] +2
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-blt:
- shard-apl: SKIP -> INCOMPLETE [fdo#103927]
* igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-render:
- shard-skl: PASS -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-iclb: PASS -> FAIL [fdo#105683] / [fdo#108040]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence:
- shard-skl: PASS -> FAIL [fdo#103191] / [fdo#107362]
* igt@kms_plane@pixel-format-pipe-a-planes-source-clamping:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#106885] +1
* igt@kms_plane@pixel-format-pipe-c-planes-source-clamping:
- shard-apl: PASS -> FAIL [fdo#108948]
* igt@kms_plane@plane-position-covered-pipe-a-planes:
- shard-glk: PASS -> FAIL [fdo#103166] +2
* igt@kms_plane@plane-position-covered-pipe-c-planes:
- shard-apl: PASS -> FAIL [fdo#103166] +2
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-skl: NOTRUN -> FAIL [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: PASS -> FAIL [fdo#107815] / [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-skl: NOTRUN -> FAIL [fdo#107815] / [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: PASS -> FAIL [fdo#107815]
* igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb:
- shard-glk: PASS -> FAIL [fdo#108145]
* igt@kms_plane_multiple@atomic-pipe-a-tiling-yf:
- shard-iclb: PASS -> FAIL [fdo#103166]
* igt@kms_rmfb@rmfb-ioctl:
- shard-iclb: PASS -> DMESG-WARN [fdo#107724]
* igt@kms_rotation_crc@multiplane-rotation-cropping-top:
- shard-glk: PASS -> DMESG-FAIL [fdo#105763] / [fdo#106538]
#### Possible fixes ####
* igt@kms_ccs@pipe-c-missing-ccs-buffer:
- shard-iclb: DMESG-WARN [fdo#107724] -> PASS +2
* igt@kms_cursor_crc@cursor-128x128-suspend:
- shard-skl: INCOMPLETE [fdo#104108] / [fdo#107773] -> PASS
* igt@kms_cursor_crc@cursor-256x256-suspend:
- shard-kbl: DMESG-FAIL [fdo#103232] / [fdo#103558] / [fdo#103841] / [fdo#105079] / [fdo#105602] -> PASS
* igt@kms_cursor_crc@cursor-256x85-random:
- shard-apl: FAIL [fdo#103232] -> PASS +6
* igt@kms_cursor_crc@cursor-64x64-offscreen:
- shard-hsw: DMESG-FAIL [fdo#102614] / [fdo#103232] -> PASS
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-kbl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +12
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-iclb: DMESG-FAIL [fdo#105681] / [fdo#107724] -> PASS
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: FAIL [fdo#105363] -> PASS
- shard-glk: FAIL [fdo#102887] / [fdo#105363] -> PASS
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-kbl: FAIL [fdo#102887] / [fdo#105363] -> PASS
* igt@kms_flip@flip-vs-modeset-vs-hang-interruptible:
- shard-kbl: DMESG-WARN [fdo#103313] / [fdo#103558] / [fdo#105602] -> PASS +8
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-apl: FAIL [fdo#103167] -> PASS +3
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
- shard-glk: FAIL [fdo#103167] -> PASS +4
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite:
- shard-iclb: FAIL [fdo#103167] -> PASS
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-wc:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS +1
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-c:
- shard-apl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +22
* igt@kms_plane@pixel-format-pipe-b-planes-source-clamping:
- shard-apl: FAIL [fdo#108948] -> PASS
* igt@kms_plane@pixel-format-pipe-c-planes-source-clamping:
- shard-glk: FAIL [fdo#108948] -> PASS
* igt@kms_plane@plane-position-covered-pipe-a-planes:
- shard-apl: FAIL [fdo#103166] -> PASS +1
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-iclb: FAIL [fdo#103166] -> PASS +2
* igt@kms_universal_plane@universal-plane-pipe-a-functional:
- shard-glk: FAIL [fdo#103166] -> PASS +2
#### Warnings ####
* igt@kms_available_modes_crc@available_mode_test_crc:
- shard-kbl: FAIL [fdo#106641] -> DMESG-FAIL [fdo#106641]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-apl: DMESG-FAIL [fdo#103166] / [fdo#103558] / [fdo#105602] -> FAIL [fdo#103166]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#102887]: https://bugs.freedesktop.org/show_bug.cgi?id=102887
[fdo#103158]: https://bugs.freedesktop.org/show_bug.cgi?id=103158
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#103841]: https://bugs.freedesktop.org/show_bug.cgi?id=103841
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105079]: https://bugs.freedesktop.org/show_bug.cgi?id=105079
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105681]: https://bugs.freedesktop.org/show_bug.cgi?id=105681
[fdo#105683]: https://bugs.freedesktop.org/show_bug.cgi?id=105683
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#106538]: https://bugs.freedesktop.org/show_bug.cgi?id=106538
[fdo#106641]: https://bugs.freedesktop.org/show_bug.cgi?id=106641
[fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885
[fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
[fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
[fdo#107882]: https://bugs.freedesktop.org/show_bug.cgi?id=107882
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108040]: https://bugs.freedesktop.org/show_bug.cgi?id=108040
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108228]: https://bugs.freedesktop.org/show_bug.cgi?id=108228
[fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
[fdo#108470]: https://bugs.freedesktop.org/show_bug.cgi?id=108470
[fdo#108472]: https://bugs.freedesktop.org/show_bug.cgi?id=108472
[fdo#108924]: https://bugs.freedesktop.org/show_bug.cgi?id=108924
[fdo#108948]: https://bugs.freedesktop.org/show_bug.cgi?id=108948
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_5323 -> Patchwork_11104
CI_DRM_5323: a0ec65b81dd6c82927d10da66bc44c5f0cc0841c @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4748: 90c76cb9bb47a5a3ebb34ad6b1a557bc02d39713 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11104: f55cd89face5c5f0cadc793e75d4aeb733ffb729 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11104/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev2)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev2)
URL : https://patchwork.freedesktop.org/series/54127/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 221bb96c5120 drm/i915/backlight: Restore backlight on resume, v2. eb6cb0cd1f79 drm/i915: Update crtc scaler settings when update_pipe is set 9f7205218ac0 drm/i915: Enable fastset for non-boot modesets. -:36: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #36: FILE: drivers/gpu/drm/i915/intel_display.c:12683: + if (intel_pipe_config_compare(dev_priv, to_intel_crtc_state(old_crtc_state),
total: 0 errors, 0 warnings, 1 checks, 20 lines checked 9a237fe7beda drm/i915: Make HW readout mark CRTC scaler as in use. 52d6cc47c8bd drm/i915: Re-enable fastset by default
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev2)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev2)
URL : https://patchwork.freedesktop.org/series/54127/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5325 -> Patchwork_11112
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54127/revisions/2/mbox/
Known issues
------------
Here are the changes found in Patchwork_11112 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: PASS -> DMESG-FAIL [fdo#102614]
#### Possible fixes ####
* igt@gem_mmap_gtt@basic-small-copy-xy:
- fi-glk-dsi: INCOMPLETE [fdo#103359] / [k.org#198133] -> PASS
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b:
- fi-byt-clapper: FAIL [fdo#107362] -> PASS
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (49 -> 45)
------------------------------
Additional (1): fi-cfl-8109u
Missing (5): fi-kbl-soraka fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-glk-j4005
Build changes
-------------
* Linux: CI_DRM_5325 -> Patchwork_11112
CI_DRM_5325: d1085cddae920b9a0c326e3cc3e342cfee14aed2 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4749: 270da20849db4d170db09673c6b67712c90ec9fe @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11112: 52d6cc47c8bd0c75a53f06c3ace4fa6299bf909c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
52d6cc47c8bd drm/i915: Re-enable fastset by default 9a237fe7beda drm/i915: Make HW readout mark CRTC scaler as in use. 9f7205218ac0 drm/i915: Enable fastset for non-boot modesets. eb6cb0cd1f79 drm/i915: Update crtc scaler settings when update_pipe is set 221bb96c5120 drm/i915/backlight: Restore backlight on resume, v2.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11112/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: failure for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev2)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev2)
URL : https://patchwork.freedesktop.org/series/54127/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_5325_full -> Patchwork_11112_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_11112_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11112_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11112_full:
### IGT changes ###
#### Possible regressions ####
* igt@debugfs_test@read_all_entries_display_on:
- shard-iclb: PASS -> INCOMPLETE
* igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
- shard-iclb: PASS -> DMESG-WARN +1
* igt@kms_rotation_crc@bad-pixel-format:
- shard-apl: PASS -> DMESG-WARN
- shard-skl: PASS -> DMESG-WARN +2
- shard-glk: PASS -> DMESG-WARN * igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- shard-skl: NOTRUN -> DMESG-WARN
- shard-kbl: PASS -> DMESG-WARN +2
* {igt@runner@aborted}:
- shard-glk: NOTRUN -> FAIL
- shard-kbl: NOTRUN -> ( 3 FAIL )
- shard-skl: NOTRUN -> ( 4 FAIL )
- shard-apl: NOTRUN -> FAIL#### Warnings ####
* igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled:
- shard-snb: PASS -> SKIP
* igt@perf_pmu@rc6:
- shard-kbl: PASS -> SKIP
* igt@pm_rc6_residency@rc6-accuracy:
- shard-snb: SKIP -> PASS
Known issues
------------
Here are the changes found in Patchwork_11112_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@pi-ringfull-blt:
- shard-skl: NOTRUN -> FAIL [fdo#103158] +1
* igt@gem_exec_schedule@pi-ringfull-vebox:
- shard-iclb: NOTRUN -> FAIL [fdo#103158]
* igt@i915_suspend@fence-restore-untiled:
- shard-iclb: PASS -> INCOMPLETE [fdo#107713]
* igt@kms_cursor_crc@cursor-128x42-onscreen:
- shard-iclb: NOTRUN -> FAIL [fdo#103232] +1
* igt@kms_cursor_crc@cursor-64x21-random:
- shard-apl: PASS -> FAIL [fdo#103232] +4
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions:
- shard-iclb: PASS -> FAIL [fdo#103355]
* igt@kms_draw_crc@draw-method-rgb565-mmap-cpu-xtiled:
- shard-iclb: PASS -> WARN [fdo#108336]
* igt@kms_flip_tiling@flip-changes-tiling:
- shard-iclb: PASS -> DMESG-WARN [fdo#107724] / [fdo#108336] +5
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt:
- shard-iclb: PASS -> DMESG-FAIL [fdo#107720] / [fdo#107724]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt:
- shard-iclb: NOTRUN -> FAIL [fdo#103167] +1
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
- shard-iclb: PASS -> FAIL [fdo#103167] +1
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-iclb: PASS -> DMESG-FAIL [fdo#107724] +5
* igt@kms_plane@pixel-format-pipe-a-planes-source-clamping:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#106885]
* igt@kms_plane@pixel-format-pipe-c-planes:
- shard-apl: PASS -> FAIL [fdo#103166] +1
* igt@kms_plane@plane-position-covered-pipe-b-planes:
- shard-glk: PASS -> FAIL [fdo#103166] +3
- shard-iclb: PASS -> FAIL [fdo#103166] +2
* igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb:
- shard-apl: PASS -> FAIL [fdo#108145]
* igt@kms_rmfb@rmfb-ioctl:
- shard-iclb: PASS -> DMESG-WARN [fdo#107724] +14
* igt@pm_rpm@modeset-lpsp-stress:
- shard-skl: PASS -> INCOMPLETE [fdo#107807]
* igt@pm_rps@min-max-config-loaded:
- shard-iclb: NOTRUN -> FAIL [fdo#102250]
* {igt@runner@aborted}:
- shard-iclb: NOTRUN -> ( 2 FAIL ) [fdo#108924]
#### Possible fixes ####
* igt@gem_workarounds@suspend-resume-fd:
- shard-iclb: INCOMPLETE [fdo#107713] -> PASS +1
* igt@kms_available_modes_crc@available_mode_test_crc:
- shard-apl: FAIL [fdo#106641] -> PASS
* igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-a:
- shard-hsw: DMESG-WARN [fdo#107956] -> PASS
* igt@kms_color@pipe-b-degamma:
- shard-apl: FAIL [fdo#104782] -> PASS
* igt@kms_cursor_crc@cursor-128x42-sliding:
- shard-apl: FAIL [fdo#103232] -> PASS +2
* igt@kms_cursor_crc@cursor-256x256-suspend:
- shard-apl: FAIL [fdo#103191] / [fdo#103232] -> PASS
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: FAIL [fdo#105363] -> PASS
* igt@kms_flip@modeset-vs-vblank-race-interruptible:
- shard-apl: FAIL [fdo#103060] -> PASS
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-move:
- shard-iclb: FAIL [fdo#103167] -> PASS +9
- shard-glk: FAIL [fdo#103167] -> PASS +4
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
- shard-apl: FAIL [fdo#103167] -> PASS
* igt@kms_plane@plane-position-covered-pipe-c-planes:
- shard-glk: FAIL [fdo#103166] -> PASS +1
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-glk: FAIL [fdo#108145] -> PASS
* igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
- shard-apl: FAIL [fdo#103166] -> PASS +2
* igt@kms_rotation_crc@multiplane-rotation-cropping-top:
- shard-glk: DMESG-WARN [fdo#105763] / [fdo#106538] -> PASS
* igt@pm_rpm@debugfs-read:
- shard-iclb: DMESG-WARN [fdo#108654] -> PASS
* igt@pm_rpm@dpms-lpsp:
- shard-iclb: DMESG-WARN [fdo#107724] -> PASS
* igt@pm_rpm@gem-execbuf-stress-extra-wait:
- shard-skl: INCOMPLETE [fdo#107803] / [fdo#107807] -> PASS
* igt@pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-iclb: INCOMPLETE [fdo#108840] -> SKIP
#### Warnings ####
* igt@i915_suspend@shrink:
- shard-skl: DMESG-WARN [fdo#108784] -> INCOMPLETE [fdo#106886]
- shard-glk: DMESG-WARN [fdo#108784] -> INCOMPLETE [fdo#103359] / [fdo#106886] / [k.org#198133]
* igt@kms_ccs@pipe-b-crc-primary-basic:
- shard-iclb: FAIL [fdo#107725] -> DMESG-WARN [fdo#107724] / [fdo#108336] +1
* igt@kms_hdmi_inject@inject-audio:
- shard-iclb: FAIL [fdo#102370] -> DMESG-FAIL [fdo#107724]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102250]: https://bugs.freedesktop.org/show_bug.cgi?id=102250
[fdo#102370]: https://bugs.freedesktop.org/show_bug.cgi?id=102370
[fdo#103060]: https://bugs.freedesktop.org/show_bug.cgi?id=103060
[fdo#103158]: https://bugs.freedesktop.org/show_bug.cgi?id=103158
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103355]: https://bugs.freedesktop.org/show_bug.cgi?id=103355
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#104782]: https://bugs.freedesktop.org/show_bug.cgi?id=104782
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#106538]: https://bugs.freedesktop.org/show_bug.cgi?id=106538
[fdo#106641]: https://bugs.freedesktop.org/show_bug.cgi?id=106641
[fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885
[fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107720]: https://bugs.freedesktop.org/show_bug.cgi?id=107720
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107725]: https://bugs.freedesktop.org/show_bug.cgi?id=107725
[fdo#107803]: https://bugs.freedesktop.org/show_bug.cgi?id=107803
[fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
[fdo#108654]: https://bugs.freedesktop.org/show_bug.cgi?id=108654
[fdo#108784]: https://bugs.freedesktop.org/show_bug.cgi?id=108784
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#108924]: https://bugs.freedesktop.org/show_bug.cgi?id=108924
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_5325 -> Patchwork_11112
CI_DRM_5325: d1085cddae920b9a0c326e3cc3e342cfee14aed2 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4749: 270da20849db4d170db09673c6b67712c90ec9fe @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11112: 52d6cc47c8bd0c75a53f06c3ace4fa6299bf909c @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11112/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev3)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev3)
URL : https://patchwork.freedesktop.org/series/54127/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 7891fae7c511 drm/i915/backlight: Restore backlight on resume, v2. 027319e3b9f4 drm/i915: Enable fastset for non-boot modesets. -:37: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #37: FILE: drivers/gpu/drm/i915/intel_display.c:12683: + if (intel_pipe_config_compare(dev_priv, to_intel_crtc_state(old_crtc_state),
total: 0 errors, 0 warnings, 1 checks, 20 lines checked 779365325d0f drm/i915: Make HW readout mark CRTC scaler as in use. 5fcb04c258b0 drm/i915: Re-enable fastset by default
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev3)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev3)
URL : https://patchwork.freedesktop.org/series/54127/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_5338 -> Patchwork_11145
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_11145 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11145, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54127/revisions/3/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11145:
### IGT changes ###
#### Possible regressions ####
* igt@pm_rpm@module-reload:
- fi-kbl-guc: PASS -> FAIL
Known issues
------------
Here are the changes found in Patchwork_11145 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: PASS -> DMESG-FAIL [fdo#102614]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362]
* {igt@runner@aborted}:
- fi-icl-y: NOTRUN -> FAIL [fdo#108915]
#### Possible fixes ####
* igt@i915_selftest@live_execlists:
- fi-apl-guc: INCOMPLETE [fdo#103927] / [fdo#108622] -> PASS
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: FAIL [fdo#103167] -> PASS
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
- fi-byt-clapper: FAIL [fdo#103191] / [fdo#107362] -> PASS +1
#### Warnings ####
* igt@i915_selftest@live_contexts:
- fi-icl-u3: DMESG-FAIL [fdo#108569] -> INCOMPLETE [fdo#108315]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108622]: https://bugs.freedesktop.org/show_bug.cgi?id=108622
[fdo#108915]: https://bugs.freedesktop.org/show_bug.cgi?id=108915
Participating hosts (49 -> 43)
------------------------------
Additional (1): fi-icl-y
Missing (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_5338 -> Patchwork_11145
CI_DRM_5338: 5045a5f1e37e35f2bb7cfa5dff029225e844737b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4752: 321fe77d32fef32ef820f53924045fe6ef0cf6ed @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11145: 5fcb04c258b03d551b39098fab8f0df0f1edce42 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
5fcb04c258b0 drm/i915: Re-enable fastset by default 779365325d0f drm/i915: Make HW readout mark CRTC scaler as in use. 027319e3b9f4 drm/i915: Enable fastset for non-boot modesets. 7891fae7c511 drm/i915/backlight: Restore backlight on resume, v2.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11145/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev4)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev4)
URL : https://patchwork.freedesktop.org/series/54127/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 4e82ad638e91 drm/i915/backlight: Restore backlight on resume, v2. cb18b688bdc8 drm/i915: Enable fastset for non-boot modesets. -:37: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #37: FILE: drivers/gpu/drm/i915/intel_display.c:12683: + if (intel_pipe_config_compare(dev_priv, to_intel_crtc_state(old_crtc_state),
total: 0 errors, 0 warnings, 1 checks, 20 lines checked 50bb5ca8c8a3 drm/i915: Make HW readout mark CRTC scaler as in use. d5098b2b10c0 drm/i915: Re-enable fastset by default
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev4)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev4)
URL : https://patchwork.freedesktop.org/series/54127/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_5338 -> Patchwork_11147
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_11147 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11147, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54127/revisions/4/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11147:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live_hangcheck:
- fi-apl-guc: PASS -> DMESG-FAIL
#### Warnings ####
* igt@kms_busy@basic-flip-a:
- fi-kbl-7567u: PASS -> SKIP +2
* igt@pm_rpm@basic-pci-d3-state:
- fi-bsw-kefka: SKIP -> PASS
Known issues
------------
Here are the changes found in Patchwork_11147 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: PASS -> DMESG-FAIL [fdo#102614]
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
- fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362]
* {igt@runner@aborted}:
- fi-icl-y: NOTRUN -> FAIL [fdo#108915]
#### Possible fixes ####
* igt@i915_selftest@live_execlists:
- fi-apl-guc: INCOMPLETE [fdo#103927] / [fdo#108622] -> PASS
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: FAIL [fdo#108767] -> PASS
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
- fi-byt-clapper: FAIL [fdo#103191] / [fdo#107362] -> PASS +2
* igt@pm_rpm@basic-rte:
- fi-bsw-kefka: FAIL [fdo#108800] -> PASS
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#108622]: https://bugs.freedesktop.org/show_bug.cgi?id=108622
[fdo#108767]: https://bugs.freedesktop.org/show_bug.cgi?id=108767
[fdo#108800]: https://bugs.freedesktop.org/show_bug.cgi?id=108800
[fdo#108915]: https://bugs.freedesktop.org/show_bug.cgi?id=108915
Participating hosts (49 -> 43)
------------------------------
Additional (1): fi-icl-y
Missing (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_5338 -> Patchwork_11147
CI_DRM_5338: 5045a5f1e37e35f2bb7cfa5dff029225e844737b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4752: 321fe77d32fef32ef820f53924045fe6ef0cf6ed @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11147: d5098b2b10c0fe918a30e600f7caeae1fd520b46 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
d5098b2b10c0 drm/i915: Re-enable fastset by default 50bb5ca8c8a3 drm/i915: Make HW readout mark CRTC scaler as in use. cb18b688bdc8 drm/i915: Enable fastset for non-boot modesets. 4e82ad638e91 drm/i915/backlight: Restore backlight on resume, v2.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11147/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev5)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev5)
URL : https://patchwork.freedesktop.org/series/54127/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 16a369e8ed29 drm/i915/backlight: Restore backlight on resume, v2. 5aa6c7598564 drm/i915: Enable fastset for non-boot modesets. -:37: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #37: FILE: drivers/gpu/drm/i915/intel_display.c:12683: + if (intel_pipe_config_compare(dev_priv, to_intel_crtc_state(old_crtc_state),
total: 0 errors, 0 warnings, 1 checks, 20 lines checked d4199ef639ca drm/i915: Make HW readout mark CRTC scaler as in use. 210c1379c231 drm/i915: Re-enable fastset by default
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev5)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev5)
URL : https://patchwork.freedesktop.org/series/54127/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5339 -> Patchwork_11149
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54127/revisions/5/mbox/
Known issues
------------
Here are the changes found in Patchwork_11149 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_execlists:
- fi-apl-guc: PASS -> INCOMPLETE [fdo#103927] / [fdo#108622]
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: PASS -> DMESG-FAIL [fdo#102614]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-bsw-kefka: INCOMPLETE [fdo#105876] / [fdo#108714] -> PASS
* igt@kms_pipe_crc_basic@read-crc-pipe-a:
- fi-byt-clapper: FAIL [fdo#107362] -> PASS
* igt@vgem_basic@mmap:
- fi-snb-2520m: DMESG-WARN -> PASS
#### Warnings ####
* igt@i915_selftest@live_contexts:
- fi-icl-u2: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569]
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105876]: https://bugs.freedesktop.org/show_bug.cgi?id=105876
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108622]: https://bugs.freedesktop.org/show_bug.cgi?id=108622
[fdo#108714]: https://bugs.freedesktop.org/show_bug.cgi?id=108714
Participating hosts (49 -> 43)
------------------------------
Missing (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
Build changes
-------------
* Linux: CI_DRM_5339 -> Patchwork_11149
CI_DRM_5339: c6cfab3d1c61d968f483554fc063faf1ee1063fa @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4753: 0bc683ea2dcf270b5287ffb4a6510fdff44e9390 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11149: 210c1379c231fbf1081e68b3590bd3340ed1d96e @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
210c1379c231 drm/i915: Re-enable fastset by default d4199ef639ca drm/i915: Make HW readout mark CRTC scaler as in use. 5aa6c7598564 drm/i915: Enable fastset for non-boot modesets. 16a369e8ed29 drm/i915/backlight: Restore backlight on resume, v2.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11149/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev5)
In reply to Maarten Lankhorst== Series Details ==
== Series Details ==
Series: series starting with [RESEND,1/5] drm/i915/backlight: Restore backlight on resume, v2. (rev5)
URL : https://patchwork.freedesktop.org/series/54127/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5339_full -> Patchwork_11149_full
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with Patchwork_11149_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11149_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11149_full:
### IGT changes ###
#### Warnings ####
* igt@pm_rc6_residency@rc6-accuracy:
- shard-snb: PASS -> SKIP
Known issues
------------
Here are the changes found in Patchwork_11149_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@pi-ringfull-bsd:
- shard-skl: NOTRUN -> FAIL [fdo#103158]
* igt@i915_selftest@live_workarounds:
- shard-iclb: PASS -> DMESG-FAIL [fdo#108954]
* igt@kms_busy@extended-modeset-hang-newfb-render-a:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#107956]
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic:
- shard-glk: PASS -> FAIL [fdo#108145]
* igt@kms_ccs@pipe-a-missing-ccs-buffer:
- shard-iclb: PASS -> DMESG-WARN [fdo#107724] +13
* igt@kms_cursor_crc@cursor-256x256-random:
- shard-apl: PASS -> FAIL [fdo#103232] +1
* igt@kms_cursor_crc@cursor-256x85-onscreen:
- shard-iclb: NOTRUN -> FAIL [fdo#103232]
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions:
- shard-iclb: PASS -> FAIL [fdo#103355]
* igt@kms_draw_crc@draw-method-xrgb8888-render-ytiled:
- shard-iclb: PASS -> WARN [fdo#108336]
* igt@kms_fbcon_fbt@fbc:
- shard-iclb: PASS -> DMESG-FAIL [fdo#105681] / [fdo#107724]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: PASS -> FAIL [fdo#105363]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
- shard-iclb: PASS -> DMESG-FAIL [fdo#107724] +6
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-apl: PASS -> FAIL [fdo#103167] +1
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
- shard-glk: PASS -> FAIL [fdo#103167] +4
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-skl: NOTRUN -> FAIL [fdo#105683]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-wc:
- shard-iclb: PASS -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-move:
- shard-iclb: PASS -> DMESG-WARN [fdo#107724] / [fdo#108336] +5
* igt@kms_plane@pixel-format-pipe-a-planes-source-clamping:
- shard-apl: PASS -> FAIL [fdo#108948]
* igt@kms_plane@pixel-format-pipe-c-planes:
- shard-apl: PASS -> FAIL [fdo#103166] +2
* igt@kms_plane@pixel-format-pipe-c-planes-source-clamping:
- shard-glk: PASS -> FAIL [fdo#108948]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparant-fb:
- shard-skl: NOTRUN -> FAIL [fdo#108145]
* igt@kms_plane_multiple@atomic-pipe-a-tiling-y:
- shard-iclb: PASS -> FAIL [fdo#103166] +1
* igt@kms_plane_multiple@atomic-pipe-b-tiling-y:
- shard-glk: PASS -> FAIL [fdo#103166] +2
* igt@kms_setmode@basic:
- shard-hsw: PASS -> FAIL [fdo#99912]
* igt@kms_sysfs_edid_timing:
- shard-skl: NOTRUN -> FAIL [fdo#100047]
* igt@pm_backlight@fade_with_suspend:
- shard-skl: NOTRUN -> FAIL [fdo#107847]
* igt@pm_rpm@dpms-mode-unset-non-lpsp:
- shard-skl: SKIP -> INCOMPLETE [fdo#107807]
* igt@pm_rpm@universal-planes:
- shard-iclb: PASS -> INCOMPLETE [fdo#108840]
#### Possible fixes ####
* igt@kms_atomic_transition@plane-all-transition-fencing:
- shard-iclb: DMESG-WARN [fdo#107724] -> PASS
* igt@kms_ccs@pipe-b-crc-sprite-planes-basic:
- shard-glk: FAIL [fdo#108145] -> PASS
* igt@kms_color@pipe-a-ctm-max:
- shard-apl: FAIL [fdo#108147] -> PASS
* igt@kms_cursor_crc@cursor-128x128-offscreen:
- shard-skl: FAIL [fdo#103232] -> PASS
* igt@kms_cursor_crc@cursor-128x128-onscreen:
- shard-apl: FAIL [fdo#103232] -> PASS +3
* igt@kms_cursor_crc@cursor-64x21-random:
- shard-glk: FAIL [fdo#103232] -> PASS
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-mmap-gtt:
- shard-kbl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +25
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite:
- shard-apl: FAIL [fdo#103167] -> PASS +1
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-iclb: DMESG-FAIL [fdo#107724] -> PASS
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-wc:
- shard-glk: FAIL [fdo#103167] -> PASS +2
* igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-iclb: FAIL [fdo#103167] -> PASS +2
* igt@kms_plane@pixel-format-pipe-a-planes-source-clamping:
- shard-glk: FAIL [fdo#108948] -> PASS
* igt@kms_plane@plane-position-covered-pipe-c-planes:
- shard-apl: FAIL [fdo#103166] -> PASS +1
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: FAIL [fdo#107815] -> PASS
* igt@kms_plane_multiple@atomic-pipe-a-tiling-y:
- shard-glk: FAIL [fdo#103166] -> PASS +2
* igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
- shard-iclb: FAIL [fdo#103166] -> PASS +1
* igt@kms_setmode@basic:
- shard-apl: FAIL [fdo#99912] -> PASS
* igt@pm_rpm@cursor-dpms:
- shard-iclb: DMESG-WARN [fdo#108654] -> PASS
#### Warnings ####
* igt@kms_cursor_crc@cursor-128x128-dpms:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> FAIL [fdo#103232]
* igt@kms_cursor_crc@cursor-128x42-sliding:
- shard-iclb: FAIL [fdo#103232] -> DMESG-WARN [fdo#107724] / [fdo#108336] +1
* igt@pm_backlight@fade_with_suspend:
- shard-iclb: FAIL [fdo#107847] -> DMESG-FAIL [fdo#107724]
[fdo#100047]: https://bugs.freedesktop.org/show_bug.cgi?id=100047
[fdo#103158]: https://bugs.freedesktop.org/show_bug.cgi?id=103158
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103355]: https://bugs.freedesktop.org/show_bug.cgi?id=103355
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105681]: https://bugs.freedesktop.org/show_bug.cgi?id=105681
[fdo#105683]: https://bugs.freedesktop.org/show_bug.cgi?id=105683
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
[fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
[fdo#107847]: https://bugs.freedesktop.org/show_bug.cgi?id=107847
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108147]: https://bugs.freedesktop.org/show_bug.cgi?id=108147
[fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
[fdo#108654]: https://bugs.freedesktop.org/show_bug.cgi?id=108654
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#108948]: https://bugs.freedesktop.org/show_bug.cgi?id=108948
[fdo#108954]: https://bugs.freedesktop.org/show_bug.cgi?id=108954
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_5339 -> Patchwork_11149
CI_DRM_5339: c6cfab3d1c61d968f483554fc063faf1ee1063fa @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4753: 0bc683ea2dcf270b5287ffb4a6510fdff44e9390 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11149: 210c1379c231fbf1081e68b3590bd3340ed1d96e @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11149/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 2 lines · Maarten Lankhorst
Restore our saved values for backlight. This way even with fastset on S4 resume we will correctly restore the backlight to the active values.
I think this is a non-trivial commit that requires more explanation in the commit message and comments.
What does this do for non-fastset resume? It seems to me this enables/disables backlight twice in that case.
This doesn't take panel power sequencing into account at all. You can't just go ahead and enable the PWM with no consideration of how that is fed to the panel. That in turn is encoder code, so I'm not sure how that could be bolted on here.
So I'm afraid I'm not convinced this will work.
One more detail in-line below.
Quoted 58 lines
Changes since v1:
- Callenable_backlight()when backlight.level is set. On suspend backlight.enabled is always cleared, this makes it not a good indicator. Also check forcrtc->state->active.Signed-off-by Maarten Lankhorst <[email protected]>Cc Tolga Cakir <[email protected]>Cc Basil Eric Rabi <[email protected]>Cc Hans de Goede <[email protected]>Cc Ville Syrjälä <[email protected]>Reported-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 2 ++ drivers/gpu/drm/i915/intel_drv.h | 1 + drivers/gpu/drm/i915/intel_panel.c | 30 ++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+)drivers/gpu/drm/i915/intel_display.c +2
-0@@ -15887,7 +15887,9 @@ void intel_display_resume(struct drm_device *dev)if (!ret) ret =__intel_display_resume (dev, state, &ctx); +intel_panel_restore_backlight (dev_priv);intel_enable_ipc (dev_priv); +drm_modeset_drop_locks (&ctx);drm_modeset_acquire_fini (&ctx);drivers/gpu/drm/i915/intel_drv.h +1
-0@@ -2003,6 +2003,7 @@ int intel_panel_init(struct intel_panel *panel,struct drm_display_mode *fixed_mode, struct drm_display_mode *downclock_mode);void intel_panel_fini (struct intel_panel *panel); +void intel_panel_restore_backlight (struct drm_i915_private *dev_priv);void intel_fixed_panel_mode (const struct drm_display_mode *fixed_mode,struct drm_display_mode *adjusted_mode); void intel_pch_panel_fitting(struct intel_crtc *crtc,drivers/gpu/drm/i915/intel_panel.c +6
-0@@ -1903,6 +1903,36 @@ intel_panel_init_backlight_funcs(struct intel_panel *panel) } } +void intel_panel_restore_backlight (struct drm_i915_private *dev_priv) +{ +struct intel_connector *connector; +struct drm_connector_list_iter conn_iter; + +/* Kill all the work that may have been queued by hpd. */
drivers/gpu/drm/i915/intel_panel.c intel_panel_init_backlight_funcs(struct intel_panel *panel) · line 1921
Quoted 10 lines
drivers/gpu/drm/i915/intel_panel.c +10
-0+drm_connector_list_iter_begin (&dev_priv->drm, &conn_iter); +for_each_intel_connector_iter (connector, &conn_iter) { +struct intel_panel *panel = &connector->panel; +const struct drm_connector_state *conn_state = + connector->base.state; + +if (!panel->backlight.present) +continue ; + + if (panel->backlight.level && conn_state->crtc &&
panel->backlight.level is not necessarily 0-based, it's between panel->backlight.{min,max}.
BR,
Jani.
Quoted 17 lines
drivers/gpu/drm/i915/intel_panel.c +14
-0+ conn_state->crtc->state->active) { + const struct intel_crtc_state *crtc_state = + to_intel_crtc_state(conn_state->crtc->state); + + intel_panel_enable_backlight(crtc_state, conn_state); + } else { +WARN (panel->backlight.enabled,"Backlight enabled without crtc\n" ); + +intel_panel_disable_backlight (conn_state); + } + } +drm_connector_list_iter_end (&conn_iter); +} +int intel_panel_init (struct intel_panel *panel,struct drm_display_mode *fixed_mode,struct drm_display_mode *downclock_mode)
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Op 28-12-2018 om 11:10 schreef Jani Nikula:
Quoted 9 lines · Maarten Lankhorst
Quoted 2 lines
Restore our saved values for backlight. This way even with fastset on S4 resume we will correctly restore the backlight to the active values.
I think this is a non-trivial commit that requires more explanation in the commit message and comments.
What does this do for non-fastset resume? It seems to me this enables/disables backlight twice in that case.
Quoted 6 lines
This doesn't take panel power sequencing into account at all. You can't just go ahead and enable the PWM with no consideration of how that is fed to the panel. That in turn is encoder code, so I'm not sure how that could be bolted on here.
So I'm afraid I'm not convinced this will work.
Neither, I've seen a very nice encoder update_pipe hook for fastset.
I think using this for S4 resume would solve the issue.
https://patchwork.kernel.org/patch/10738879/
Quoted 63 lines
One more detail in-line below.
Quoted 61 lines
Changes since v1:
- Callenable_backlight()when backlight.level is set. On suspend backlight.enabled is always cleared, this makes it not a good indicator. Also check forcrtc->state->active.Signed-off-by Maarten Lankhorst <[email protected]>Cc Tolga Cakir <[email protected]>Cc Basil Eric Rabi <[email protected]>Cc Hans de Goede <[email protected]>Cc Ville Syrjälä <[email protected]>Reported-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 2 ++ drivers/gpu/drm/i915/intel_drv.h | 1 + drivers/gpu/drm/i915/intel_panel.c | 30 ++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+)drivers/gpu/drm/i915/intel_display.c +2
-0@@ -15887,7 +15887,9 @@ void intel_display_resume(struct drm_device *dev)if (!ret) ret =__intel_display_resume (dev, state, &ctx); +intel_panel_restore_backlight (dev_priv);intel_enable_ipc (dev_priv); +drm_modeset_drop_locks (&ctx);drm_modeset_acquire_fini (&ctx);drivers/gpu/drm/i915/intel_drv.h +1
-0@@ -2003,6 +2003,7 @@ int intel_panel_init(struct intel_panel *panel,struct drm_display_mode *fixed_mode, struct drm_display_mode *downclock_mode);void intel_panel_fini (struct intel_panel *panel); +void intel_panel_restore_backlight (struct drm_i915_private *dev_priv);void intel_fixed_panel_mode (const struct drm_display_mode *fixed_mode,struct drm_display_mode *adjusted_mode); void intel_pch_panel_fitting(struct intel_crtc *crtc,drivers/gpu/drm/i915/intel_panel.c +10
-0@@ -1903,6 +1903,36 @@ intel_panel_init_backlight_funcs(struct intel_panel *panel) } } +void intel_panel_restore_backlight (struct drm_i915_private *dev_priv) +{ +struct intel_connector *connector; +struct drm_connector_list_iter conn_iter; + +/* Kill all the work that may have been queued by hpd. */ +drm_connector_list_iter_begin (&dev_priv->drm, &conn_iter); +for_each_intel_connector_iter (connector, &conn_iter) { +struct intel_panel *panel = &connector->panel; + const struct drm_connector_state *conn_state =
Quoted 8 lines
drivers/gpu/drm/i915/intel_panel.c intel_panel_init_backlight_funcs(struct intel_panel *panel) · line 1921
Quoted 6 lines
drivers/gpu/drm/i915/intel_panel.c +6
-0+ connector->base.state; + +if (!panel->backlight.present) +continue ; + + if (panel->backlight.level && conn_state->crtc &&
panel->backlight.levelis not necessarily 0-based, it's between panel->backlight.{min,max}.
Yeah, this part can be removed.
Quoted 12 lines
BR,
Jani.Quoted 9 lines
drivers/gpu/drm/i915/intel_panel.c +9
-0+ conn_state->crtc->state->active) { + const struct intel_crtc_state *crtc_state = + to_intel_crtc_state(conn_state->crtc->state); + + intel_panel_enable_backlight(crtc_state, conn_state); + } else { +WARN (panel->backlight.enabled,"Backlight enabled without crtc\n" ); + +intel_panel_disable_backlight (conn_state);
Quoted 8 lines
drivers/gpu/drm/i915/intel_panel.c intel_panel_init_backlight_funcs(struct intel_panel *panel) · line 1938
Quoted 8 lines
drivers/gpu/drm/i915/intel_panel.c +5
-0+ } + } +drm_connector_list_iter_end (&conn_iter); +} +int intel_panel_init (struct intel_panel *panel,struct drm_display_mode *fixed_mode,struct drm_display_mode *downclock_mode)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx