* [PATCH] drm/i915/skl: Tune down DC6 already enabled warning
@ 2016-01-18 16:08 Patrik Jakobsson
2016-01-18 16:49 ` ✗ Fi.CI.BAT: failure for " Patchwork
2016-01-19 20:14 ` [PATCH] " Daniel Vetter
0 siblings, 2 replies; 3+ messages in thread
From: Patrik Jakobsson @ 2016-01-18 16:08 UTC (permalink / raw)
To: intel-gfx; +Cc: daniel.vetter
For unknown reasons the DMC firmware overwrites our DC5/6 bits in
the DC_STATE_EN register. This happens from time to time during the
igt@kms_flip@basic-flip-vs-dpms test. We manually fix up the register
when this occurs and so far that seems to work. This patch demotes the
warning to a debug message to not clutter our CI results.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93697
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
index 89a7dd8..68e213c 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -574,8 +574,10 @@ static void assert_can_enable_dc6(struct drm_i915_private *dev_priv)
WARN_ONCE(!HAS_RUNTIME_PM(dev), "Runtime PM not enabled.\n");
WARN_ONCE(I915_READ(UTIL_PIN_CTL) & UTIL_PIN_ENABLE,
"Backlight is not disabled.\n");
- WARN_ONCE((I915_READ(DC_STATE_EN) & DC_STATE_EN_UPTO_DC6),
- "DC6 already programmed to be enabled.\n");
+
+ /* Sometimes fw incorrectly modify our bits so just debug print this */
+ if ((I915_READ(DC_STATE_EN) & DC_STATE_EN_UPTO_DC6))
+ DRM_DEBUG_KMS("DC6 already programmed to be enabled.\n");
assert_csr_loaded(dev_priv);
}
--
2.5.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✗ Fi.CI.BAT: failure for drm/i915/skl: Tune down DC6 already enabled warning
2016-01-18 16:08 [PATCH] drm/i915/skl: Tune down DC6 already enabled warning Patrik Jakobsson
@ 2016-01-18 16:49 ` Patchwork
2016-01-19 20:14 ` [PATCH] " Daniel Vetter
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2016-01-18 16:49 UTC (permalink / raw)
To: Patrik Jakobsson; +Cc: intel-gfx
== Summary ==
Built on 98ee62c2326e0b6881eb0f427895aab745febf6f drm-intel-nightly: 2016y-01m-18d-14h-18m-27s UTC integration manifest
Test gem_ctx_basic:
pass -> FAIL (bdw-ultra)
Test gem_storedw_loop:
Subgroup basic-render:
pass -> DMESG-WARN (bdw-nuci7) UNSTABLE
dmesg-warn -> PASS (bdw-ultra) UNSTABLE
Test kms_pipe_crc_basic:
Subgroup read-crc-pipe-b:
pass -> DMESG-WARN (bdw-ultra)
Subgroup suspend-read-crc-pipe-a:
dmesg-warn -> PASS (snb-x220t)
bdw-nuci7 total:140 pass:130 dwarn:1 dfail:0 fail:0 skip:9
bdw-ultra total:140 pass:131 dwarn:1 dfail:1 fail:1 skip:6
byt-nuc total:143 pass:125 dwarn:3 dfail:0 fail:0 skip:15
hsw-brixbox total:143 pass:136 dwarn:0 dfail:0 fail:0 skip:7
hsw-gt2 total:143 pass:139 dwarn:0 dfail:0 fail:0 skip:4
ilk-hp8440p total:143 pass:102 dwarn:3 dfail:0 fail:0 skip:38
ivb-t430s total:137 pass:124 dwarn:3 dfail:4 fail:0 skip:6
skl-i5k-2 total:143 pass:134 dwarn:1 dfail:0 fail:0 skip:8
skl-i7k-2 total:143 pass:134 dwarn:1 dfail:0 fail:0 skip:8
snb-dellxps total:143 pass:124 dwarn:5 dfail:0 fail:0 skip:14
snb-x220t total:143 pass:124 dwarn:5 dfail:0 fail:1 skip:13
Results at /archive/results/CI_IGT_test/Patchwork_1215/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/i915/skl: Tune down DC6 already enabled warning
2016-01-18 16:08 [PATCH] drm/i915/skl: Tune down DC6 already enabled warning Patrik Jakobsson
2016-01-18 16:49 ` ✗ Fi.CI.BAT: failure for " Patchwork
@ 2016-01-19 20:14 ` Daniel Vetter
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2016-01-19 20:14 UTC (permalink / raw)
To: Patrik Jakobsson; +Cc: daniel.vetter, intel-gfx
On Mon, Jan 18, 2016 at 05:08:42PM +0100, Patrik Jakobsson wrote:
> For unknown reasons the DMC firmware overwrites our DC5/6 bits in
> the DC_STATE_EN register. This happens from time to time during the
> igt@kms_flip@basic-flip-vs-dpms test. We manually fix up the register
> when this occurs and so far that seems to work. This patch demotes the
> warning to a debug message to not clutter our CI results.
>
> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93697
Bugzilla: is what we generally use here.
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> since it tunes down CI
noise. Unfortunately we have indication that it relates to skl hard hangs,
so good to keep it at debug level for sure.
-Daniel
> ---
> drivers/gpu/drm/i915/intel_runtime_pm.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
> index 89a7dd8..68e213c 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> @@ -574,8 +574,10 @@ static void assert_can_enable_dc6(struct drm_i915_private *dev_priv)
> WARN_ONCE(!HAS_RUNTIME_PM(dev), "Runtime PM not enabled.\n");
> WARN_ONCE(I915_READ(UTIL_PIN_CTL) & UTIL_PIN_ENABLE,
> "Backlight is not disabled.\n");
> - WARN_ONCE((I915_READ(DC_STATE_EN) & DC_STATE_EN_UPTO_DC6),
> - "DC6 already programmed to be enabled.\n");
> +
> + /* Sometimes fw incorrectly modify our bits so just debug print this */
> + if ((I915_READ(DC_STATE_EN) & DC_STATE_EN_UPTO_DC6))
> + DRM_DEBUG_KMS("DC6 already programmed to be enabled.\n");
>
> assert_csr_loaded(dev_priv);
> }
> --
> 2.5.0
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-19 20:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18 16:08 [PATCH] drm/i915/skl: Tune down DC6 already enabled warning Patrik Jakobsson
2016-01-18 16:49 ` ✗ Fi.CI.BAT: failure for " Patchwork
2016-01-19 20:14 ` [PATCH] " Daniel Vetter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.