Skip to contentSkip to conversation

drm/i915/pmu: avoid an maybe-uninitialized warning

PATCH In review Arnd Bergmann 3 participants 8 messages May 27, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 drm/i915/pmu: avoid an maybe-uninitialized warning

Conditional spinlocks make it hard for gcc and for lockdep to follow the code flow. This one causes a warning with at least gcc-9 and higher:

In file included from include/linux/irq.h:14,

                 from drivers/gpu/drm/i915/i915_pmu.c:7:
drivers/gpu/drm/i915/i915_pmu.c: In function 'i915_sample':
include/linux/spinlock.h:289:3: error: 'flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  289 |   _raw_spin_unlock_irqrestore(lock, flags); \
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pmu.c:288:17: note: 'flags' was declared here
  288 |   unsigned long flags;
      |                 ^~~~~

Split out the part between the locks into a separate function for readability and to let the compiler figure out what the logic actually is.

Fixes d79e1bd676f0 ("drm/i915/pmu: Only use exclusive mmio access for gen7")

---
I have no idea why I see three separate issues like this pop up in i915, there are not a lot of them elsewhere.

 drivers/gpu/drm/i915/i915_pmu.c | 84 ++++++++++++++++-----------------
 1 file changed, 42 insertions(+), 42 deletions(-)
drivers/gpu/drm/i915/i915_pmu.c +42 -42
index e991a707bdb7..962ded9ce73f 100644
@@ -269,12 +269,48 @@ static bool exclusive_mmio_access(const struct drm_i915_private *i915)
 	return IS_GEN(i915, 7);
 }
 
+static void engine_sample(struct intel_engine_cs *engine, unsigned int period_ns)
+{
+	struct intel_engine_pmu *pmu = &engine->pmu;
+	bool busy;
+	u32 val;
+
+	val = ENGINE_READ_FW(engine, RING_CTL);
+	if (val == 0) /* powerwell off => engine idle */
+		return;
+
+	if (val & RING_WAIT)
+		add_sample(&pmu->sample[I915_SAMPLE_WAIT], period_ns);
+	if (val & RING_WAIT_SEMAPHORE)
+		add_sample(&pmu->sample[I915_SAMPLE_SEMA], period_ns);
+
+	/* No need to sample when busy stats are supported. */
+	if (intel_engine_supports_stats(engine))
+		return;
+
+	/*
+	 * While waiting on a semaphore or event, MI_MODE reports the
+	 * ring as idle. However, previously using the seqno, and with
+	 * execlists sampling, we account for the ring waiting as the
+	 * engine being busy. Therefore, we record the sample as being
+	 * busy if either waiting or !idle.
+	 */
+	busy = val & (RING_WAIT_SEMAPHORE | RING_WAIT);
+	if (!busy) {
+		val = ENGINE_READ_FW(engine, RING_MI_MODE);
+		busy = !(val & MODE_IDLE);
+	}
+	if (busy)
+		add_sample(&pmu->sample[I915_SAMPLE_BUSY], period_ns);
+}
+
 static void
 engines_sample(struct intel_gt *gt, unsigned int period_ns)
 {
 	struct drm_i915_private *i915 = gt->i915;
 	struct intel_engine_cs *engine;
 	enum intel_engine_id id;
+	unsigned long flags;
 
 	if ((i915->pmu.enable & ENGINE_SAMPLE_MASK) == 0)
 		return;
@@ -283,53 +319,17 @@ engines_sample(struct intel_gt *gt, unsigned int period_ns)
 		return;
 
 	for_each_engine(engine, gt, id) {
-		struct intel_engine_pmu *pmu = &engine->pmu;
-		spinlock_t *mmio_lock;
-		unsigned long flags;
-		bool busy;
-		u32 val;
-
 		if (!intel_engine_pm_get_if_awake(engine))
 			continue;
 
-		mmio_lock = NULL;
-		if (exclusive_mmio_access(i915))
-			mmio_lock = &engine->uncore->lock;
-
-		if (unlikely(mmio_lock))
-			spin_lock_irqsave(mmio_lock, flags);
-
-		val = ENGINE_READ_FW(engine, RING_CTL);
-		if (val == 0) /* powerwell off => engine idle */
-			goto skip;
-
-		if (val & RING_WAIT)
-			add_sample(&pmu->sample[I915_SAMPLE_WAIT], period_ns);
-		if (val & RING_WAIT_SEMAPHORE)
-			add_sample(&pmu->sample[I915_SAMPLE_SEMA], period_ns);
-
-		/* No need to sample when busy stats are supported. */
-		if (intel_engine_supports_stats(engine))
-			goto skip;
-
-		/*
-		 * While waiting on a semaphore or event, MI_MODE reports the
-		 * ring as idle. However, previously using the seqno, and with
-		 * execlists sampling, we account for the ring waiting as the
-		 * engine being busy. Therefore, we record the sample as being
-		 * busy if either waiting or !idle.
-		 */
-		busy = val & (RING_WAIT_SEMAPHORE | RING_WAIT);
-		if (!busy) {
-			val = ENGINE_READ_FW(engine, RING_MI_MODE);
-			busy = !(val & MODE_IDLE);
+		if (exclusive_mmio_access(i915)) {
+			spin_lock_irqsave(&engine->uncore->lock, flags);
+			engine_sample(engine, period_ns);
+			spin_unlock_irqrestore(&engine->uncore->lock, flags);
+		} else {
+			engine_sample(engine, period_ns);
 		}
-		if (busy)
-			add_sample(&pmu->sample[I915_SAMPLE_BUSY], period_ns);
 
-skip:
-		if (unlikely(mmio_lock))
-			spin_unlock_irqrestore(mmio_lock, flags);
 		intel_engine_pm_put_async(engine);
 	}
 }
Signature · 6 lines
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

PATCH 2/3 drm/i915: work around false-positive maybe-uninitialized warning

gcc-9 gets confused by the code flow in check_dirty_whitelist:

drivers/gpu/drm/i915/gt/selftest_workarounds.c: In function 'check_dirty_whitelist':
drivers/gpu/drm/i915/gt/selftest_workarounds.c:492:17: error: 'rsvd' may be used uninitialized in this function [-Werror=maybe-uninitialized]

I could not figure out a good way to do this in a way that gcc understands better, so initialize the variable to zero, as last resort.

Fixes aee20aaed887 ("drm/i915: Implement read-only support in whitelist selftest")
---
 drivers/gpu/drm/i915/gt/selftest_workarounds.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/gt/selftest_workarounds.c +2 -0
index 5ed323254ee1..32785463ec9e 100644
@@ -623,6 +623,8 @@ static int check_dirty_whitelist(struct intel_context *ce)
 				err = -EINVAL;
 				goto out_unpin;
 			}
+		} else {
+			rsvd = 0;
 		}
 
 		expect = results[0];
Signature · 6 lines
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] drm/i915: work around false-positive maybe-uninitialized warning

Quoting Arnd Bergmann (2020-05-27 15:05:09)

Quoted 8 lines

gcc-9 gets confused by the code flow in check_dirty_whitelist:

drivers/gpu/drm/i915/gt/selftest_workarounds.c: In function 'check_dirty_whitelist':
drivers/gpu/drm/i915/gt/selftest_workarounds.c:492:17: error: 'rsvd' may be used uninitialized in this function [-Werror=maybe-uninitialized]

I could not figure out a good way to do this in a way that gcc understands better, so initialize the variable to zero, as last resort.

Does it look neater if we initialise it as a local? No.

-Chris

#3 lore raw

PATCH 3/3 drm/i915/selftests: avoid bogus maybe-uninitialized warning

In reply to Arnd Bergmann

gcc has a problem following values through IS_ERR/PTR_ERR macros, leading to a false-positive warning in allmodconfig, with any compiler version:

In file included from drivers/gpu/drm/i915/gt/intel_lrc.c:5892:
drivers/gpu/drm/i915/gt/selftest_lrc.c: In function 'create_gpr_client.isra.0':
drivers/gpu/drm/i915/gt/selftest_lrc.c:2902:23: error: 'rq' may be used uninitialized in this function [-Werror=maybe-uninitialized]

This one is hard to avoid without impairing readability or adding a bugus NULL pointer.

Fixes c92724de6db1 ("drm/i915/selftests: Try to detect rollback during batchbuffer preemption")
---
 drivers/gpu/drm/i915/gt/selftest_lrc.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/gt/selftest_lrc.c +13 -8
index 824f99c4cc7c..933c3f5adf0a 100644
@@ -2908,23 +2908,25 @@ create_gpr_client(struct intel_engine_cs *engine,
 
 	vma = i915_vma_instance(global->obj, ce->vm, NULL);
 	if (IS_ERR(vma)) {
-		err = PTR_ERR(vma);
+		rq = ERR_CAST(vma);
 		goto out_ce;
 	}
 
 	err = i915_vma_pin(vma, 0, 0, PIN_USER);
-	if (err)
+	if (err) {
+		rq = ERR_PTR(err);
 		goto out_ce;
+	}
 
 	batch = create_gpr_user(engine, vma, offset);
 	if (IS_ERR(batch)) {
-		err = PTR_ERR(batch);
+		rq = ERR_CAST(batch);
 		goto out_vma;
 	}
 
 	rq = intel_context_create_request(ce);
 	if (IS_ERR(rq)) {
-		err = PTR_ERR(rq);
+		rq = ERR_CAST(rq);
 		goto out_batch;
 	}
 
@@ -2946,17 +2948,20 @@ create_gpr_client(struct intel_engine_cs *engine,
 	i915_vma_unlock(batch);
 	i915_vma_unpin(batch);
 
-	if (!err)
+	if (!err) {
 		i915_request_get(rq);
-	i915_request_add(rq);
-
+		i915_request_add(rq);
+	} else {
+		i915_request_add(rq);
+		rq = ERR_PTR(err);
+	}
 out_batch:
 	i915_vma_put(batch);
 out_vma:
 	i915_vma_unpin(vma);
 out_ce:
 	intel_context_put(ce);
-	return err ? ERR_PTR(err) : rq;
+	return rq;
 }
 
 static int preempt_user(struct intel_engine_cs *engine,
Signature · 6 lines
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

Re: [PATCH 3/3] drm/i915/selftests: avoid bogus maybe-uninitialized warning

Quoting Arnd Bergmann (2020-05-27 15:05:10)

Quoted 63 lines

gcc has a problem following values through IS_ERR/PTR_ERR macros, leading to a false-positive warning in allmodconfig, with any compiler version:

In file included from drivers/gpu/drm/i915/gt/intel_lrc.c:5892:
drivers/gpu/drm/i915/gt/selftest_lrc.c: In function 'create_gpr_client.isra.0':
drivers/gpu/drm/i915/gt/selftest_lrc.c:2902:23: error: 'rq' may be used uninitialized in this function [-Werror=maybe-uninitialized]

This one is hard to avoid without impairing readability or adding a bugus NULL pointer.

Fixes c92724de6db1 ("drm/i915/selftests: Try to detect rollback during batchbuffer preemption")
---
 drivers/gpu/drm/i915/gt/selftest_lrc.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/gt/selftest_lrc.c +10 -7
index 824f99c4cc7c..933c3f5adf0a 100644
@@ -2908,23 +2908,25 @@ create_gpr_client(struct intel_engine_cs *engine,
 
        vma = i915_vma_instance(global->obj, ce->vm, NULL);
        if (IS_ERR(vma)) {
-               err = PTR_ERR(vma);
+               rq = ERR_CAST(vma);
                goto out_ce;
        }
 
        err = i915_vma_pin(vma, 0, 0, PIN_USER);
-       if (err)
+       if (err) {
+               rq = ERR_PTR(err);
                goto out_ce;
+       }
 
        batch = create_gpr_user(engine, vma, offset);
        if (IS_ERR(batch)) {
-               err = PTR_ERR(batch);
+               rq = ERR_CAST(batch);
                goto out_vma;
        }
 
        rq = intel_context_create_request(ce);
        if (IS_ERR(rq)) {
-               err = PTR_ERR(rq);
+               rq = ERR_CAST(rq);
                goto out_batch;
        }
 
@@ -2946,17 +2948,20 @@ create_gpr_client(struct intel_engine_cs *engine,
        i915_vma_unlock(batch);
        i915_vma_unpin(batch);
 
-       if (!err)
+       if (!err) {
                i915_request_get(rq);
-       i915_request_add(rq);
-
+               i915_request_add(rq);
+       } else {
+               i915_request_add(rq);

drivers/gpu/drm/i915/gt/selftest_lrc.c create_gpr_client(struct intel_engine_cs *engine, · line 2964

Quoted 10 lines
drivers/gpu/drm/i915/gt/selftest_lrc.c +3 -1
+               rq = ERR_PTR(err);
+       }
 out_batch:
        i915_vma_put(batch);
 out_vma:
        i915_vma_unpin(vma);
 out_ce:
        intel_context_put(ce);
-       return err ? ERR_PTR(err) : rq;
+       return rq;

Hmm, I've used this style a few times, so could do with some syntactic refinement.

drivers/gpu/drm/i915/gem/i915_gem_userptr.c: return err ? ERR_PTR(err) : mm->mn;
drivers/gpu/drm/i915/gt/selftest_hangcheck.c: return err ? ERR_PTR(err) : rq;
drivers/gpu/drm/i915/gt/selftest_lrc.c: return err ? ERR_PTR(err) : rq;

drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:  return err ? ERR_PTR(err) : rq;
drivers/gpu/drm/i915/selftests/i915_request.c:  return err ? ERR_PTR(err) : request;
drivers/gpu/drm/i915/selftests/igt_spinner.c:   return err ? ERR_PTR(err) : rq;

-Chris

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915/pmu: avoid an maybe-uninitialized warning

In reply to Arnd Bergmann
== Series Details ==

== Series Details ==

Series: series starting with [1/3] drm/i915/pmu: avoid an maybe-uninitialized warning
URL : https://patchwork.freedesktop.org/series/77706/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_8543 -> Patchwork_17791
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/index.html

Known issues
------------

Here are the changes found in Patchwork_17791 that come from known issues:

### IGT changes ###

#### Possible fixes ####

* igt@debugfs_test@read_all_entries:
- fi-bsw-nick: [INCOMPLETE][1] ([i915#1250] / [i915#1436]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/fi-bsw-nick/igt@debugfs_test@read_all_entries.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/fi-bsw-nick/igt@debugfs_test@read_all_entries.html

[i915#1250]: https://gitlab.freedesktop.org/drm/intel/issues/1250
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436

Participating hosts (51 -> 43)
------------------------------

Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-kbl-7560u fi-byt-clapper fi-bdw-samus

Build changes
-------------

* Linux: CI_DRM_8543 -> Patchwork_17791

CI-20190529: 20190529
CI_DRM_8543: 3fcc7e306e95013f1f4c527e0dda96197e1243bf @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5680: f7e3772175c53f0c910f4513831791cb5bdcab04 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17791: c333523a465573fc6e237bcd98a186a63f085d12 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

c333523a4655 drm/i915/selftests: avoid bogus maybe-uninitialized warning 459542001c2c drm/i915: work around false-positive maybe-uninitialized warning b6493a221e8d drm/i915/pmu: avoid an maybe-uninitialized warning

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reviewed-by on v1 1/3
#6 lore raw
In reply to Arnd Bergmann

Quoting Arnd Bergmann (2020-05-27 15:05:08)

Quoted 18 lines

Conditional spinlocks make it hard for gcc and for lockdep to follow the code flow. This one causes a warning with at least gcc-9 and higher:

In file included from include/linux/irq.h:14,

                 from drivers/gpu/drm/i915/i915_pmu.c:7:
drivers/gpu/drm/i915/i915_pmu.c: In function 'i915_sample':
include/linux/spinlock.h:289:3: error: 'flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  289 |   _raw_spin_unlock_irqrestore(lock, flags); \
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pmu.c:288:17: note: 'flags' was declared here
  288 |   unsigned long flags;
      |                 ^~~~~

Split out the part between the locks into a separate function for readability and to let the compiler figure out what the logic actually is.

Quoted 5 lines
Fixes d79e1bd676f0 ("drm/i915/pmu: Only use exclusive mmio access for gen7")

---
I have no idea why I see three separate issues like this pop up in i915, there are not a lot of them elsewhere.

gcc v8:
add/remove: 1/0 grow/shrink: 0/1 up/down: 99/-164 (-65)
Function old new delta
engine_sample - 99 +99
i915_sample 871 707 -164

Which is compelling. Is gcc 9 simliar?

Given the above reduction, I find it hard to argue with.

-Chris
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/3] drm/i915/pmu: avoid an maybe-uninitialized warning

In reply to Arnd Bergmann
== Series Details ==

== Series Details ==

Series: series starting with [1/3] drm/i915/pmu: avoid an maybe-uninitialized warning
URL : https://patchwork.freedesktop.org/series/77706/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8543_full -> Patchwork_17791_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_17791_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_17791_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_17791_full:

### CI changes ###

#### Possible regressions ####

* boot:
- shard-tglb: ([PASS][1], [PASS][2], [PASS][3], [PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25]) -> ([PASS][26], [PASS][27], [PASS][28], [PASS][29], [PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [FAIL][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb8/boot.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb8/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb8/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb8/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb7/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb7/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb7/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb7/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb6/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb6/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb6/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb6/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb5/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb5/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb5/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb3/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb3/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb3/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb2/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb2/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb2/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb2/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb1/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb1/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb1/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb8/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb8/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb8/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb8/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb7/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb7/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb7/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb6/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb6/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb6/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb6/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb5/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb5/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb5/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb3/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb3/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb3/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb3/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb2/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb2/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb2/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb2/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb1/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb1/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb1/boot.html

### IGT changes ###

#### Possible regressions ####

* igt@runner@aborted:
- shard-hsw: NOTRUN -> [FAIL][51]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-hsw7/igt@[email protected]

Known issues
------------

Here are the changes found in Patchwork_17791_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gen9_exec_parse@allowed-all:
- shard-apl: [PASS][52] -> [DMESG-WARN][53] ([i915#1436] / [i915#716])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-apl4/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-apl4/igt@[email protected]

* igt@i915_suspend@forcewake:
- shard-apl: [PASS][54] -> [DMESG-WARN][55] ([i915#180])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-apl6/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-apl1/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-glk: [PASS][56] -> [FAIL][57] ([i915#1119] / [i915#118] / [i915#95])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-glk2/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-glk8/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-64x64-offscreen:
- shard-hsw: [PASS][58] -> [INCOMPLETE][59] ([i915#1927] / [i915#61])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-hsw1/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-hsw7/igt@[email protected]

* igt@kms_cursor_legacy@cursor-vs-flip-toggle:
- shard-hsw: [PASS][60] -> [INCOMPLETE][61] ([i915#61])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-hsw1/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-hsw7/igt@[email protected]

* igt@kms_cursor_legacy@cursora-vs-flipb-toggle:
- shard-glk: [PASS][62] -> [DMESG-WARN][63] ([i915#1927])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-glk9/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-glk5/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-hsw: [PASS][64] -> [SKIP][65] ([fdo#109271])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-hsw6/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-hsw6/igt@[email protected]

* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [PASS][66] -> [FAIL][67] ([i915#1188]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-skl3/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-skl4/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-skl: [PASS][68] -> [INCOMPLETE][69] ([i915#69]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-skl8/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-skl10/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][70] -> [FAIL][71] ([fdo#108145] / [i915#265]) +1 similar issue
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-skl7/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-skl5/igt@[email protected]

* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [PASS][72] -> [SKIP][73] ([fdo#109441]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-iclb5/igt@kms_psr@psr2_sprite_mmap_gtt.html

* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [PASS][74] -> [DMESG-WARN][75] ([i915#180]) +4 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-kbl6/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-kbl6/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [INCOMPLETE][76] ([i915#155]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-kbl1/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-kbl7/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-toggle:
- shard-glk: [DMESG-WARN][78] ([i915#1926]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-glk5/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-glk8/igt@[email protected]

* igt@kms_cursor_legacy@pipe-b-torture-bo:
- shard-tglb: [DMESG-WARN][80] ([i915#128]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-tglb8/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-tglb2/igt@[email protected]

* {igt@kms_flip@flip-vs-suspend-interruptible@c-dp1}:
- shard-apl: [DMESG-WARN][82] ([i915#180]) -> [PASS][83] +1 similar issue
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-apl7/igt@kms_flip@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-apl7/igt@kms_flip@[email protected]

* {igt@kms_flip@flip-vs-suspend@c-dp1}:
- shard-kbl: [DMESG-WARN][84] ([i915#180]) -> [PASS][85] +5 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-kbl7/igt@kms_flip@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-kbl1/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][86] ([i915#180] / [i915#93] / [i915#95]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-kbl3/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-kbl3/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- shard-skl: [FAIL][88] ([fdo#108145] / [i915#265]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-skl5/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-skl1/igt@[email protected]

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][90] ([fdo#109441]) -> [PASS][91] +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-iclb5/igt@kms_psr@psr2_primary_mmap_cpu.html
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html

* {igt@sysfs_heartbeat_interval@mixed@bcs0}:
- shard-skl: [FAIL][92] ([i915#1731]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-skl5/igt@sysfs_heartbeat_interval@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-skl7/igt@sysfs_heartbeat_interval@[email protected]

#### Warnings ####

* igt@i915_pm_backlight@fade:
- shard-glk: [TIMEOUT][94] -> [SKIP][95] ([fdo#109271]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-glk5/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-glk8/igt@[email protected]

* igt@kms_content_protection@atomic-dpms:
- shard-apl: [TIMEOUT][96] ([i915#1319] / [i915#1635]) -> [FAIL][97] ([fdo#110321] / [fdo#110336] / [i915#95])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-apl7/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-apl7/igt@[email protected]

* igt@kms_content_protection@legacy:
- shard-apl: [FAIL][98] ([fdo#110321] / [fdo#110336]) -> [TIMEOUT][99] ([i915#1319])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-apl2/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-apl2/igt@[email protected]

* igt@kms_content_protection@lic:
- shard-apl: [TIMEOUT][100] ([i915#1319] / [i915#1635]) -> [TIMEOUT][101] ([i915#1319])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8543/shard-apl4/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17791/shard-apl6/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
[i915#1119]: https://gitlab.freedesktop.org/drm/intel/issues/1119
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#128]: https://gitlab.freedesktop.org/drm/intel/issues/128
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1731]: https://gitlab.freedesktop.org/drm/intel/issues/1731
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1926]: https://gitlab.freedesktop.org/drm/intel/issues/1926
[i915#1927]: https://gitlab.freedesktop.org/drm/intel/issues/1927
[i915#1928]: https://gitlab.freedesktop.org/drm/intel/issues/1928
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#69]: https://gitlab.freedesktop.org/drm/intel/issues/69
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95

Participating hosts (11 -> 11)
------------------------------

No changes in participating hosts

Build changes
-------------

* Linux: CI_DRM_8543 -> Patchwork_17791

CI-20190529: 20190529
CI_DRM_8543: 3fcc7e306e95013f1f4c527e0dda96197e1243bf @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5680: f7e3772175c53f0c910f4513831791cb5bdcab04 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17791: c333523a465573fc6e237bcd98a186a63f085d12 @ 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_17791/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx