Skip to contentSkip to conversation

HAX: WARN_ON(crtc->crc.opened during disable)

PATCH In review Maarten Lankhorst 7 participants 11 messages Nov 8, 2017 – Nov 9, 2017

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

PATCH 1/1 HAX: WARN_ON(crtc->crc.opened during disable)

---
 drivers/gpu/drm/i915/intel_display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/intel_display.c +1 -0
index 39d1f30cd0c4..436374b08b69 100644
@@ -12176,6 +12176,7 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
 
 		if (old_crtc_state->active) {
 			intel_crtc_disable_planes(crtc, old_crtc_state->plane_mask);
+			WARN_ON(crtc->crc.opened);
 			dev_priv->display.crtc_disable(to_intel_crtc_state(old_crtc_state), state);
 			intel_crtc->active = false;
 			intel_fbc_disable(intel_crtc);
Signature · 6 lines
2.15.0

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

drivers/gpu/drm/i915/intel_display.c static void intel_atomic_commit_tail(struct drm_atomic_state *state) · line 12179

Quoted 13 lines · Maarten Lankhorst
---
 drivers/gpu/drm/i915/intel_display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/intel_display.c +1 -0
index 39d1f30cd0c4..436374b08b69 100644
@@ -12176,6 +12176,7 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
 
 		if (old_crtc_state->active) {
 			intel_crtc_disable_planes(crtc, old_crtc_state->plane_mask);
+			WARN_ON(crtc->crc.opened);

Why? I actually want to keep crc capture alive across a modeset to be able to observe every crc coming out of the hardware. Without that there is no good way to figure out which crcs are good and which are bad.

Quoted 10 lines
drivers/gpu/drm/i915/intel_display.c +0 -0
 			dev_priv->display.crtc_disable(to_intel_crtc_state(old_crtc_state), state);
 			intel_crtc->active = false;
 			intel_fbc_disable(intel_crtc);
Signature · 6 lines
2.15.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
maintainer
#2 lore raw
In reply to Maarten Lankhorst

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

BR,
Jani.

Quoted 16 lines · Maarten Lankhorst
---
 drivers/gpu/drm/i915/intel_display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/intel_display.c +1 -0
index 39d1f30cd0c4..436374b08b69 100644
@@ -12176,6 +12176,7 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
 
 		if (old_crtc_state->active) {
 			intel_crtc_disable_planes(crtc, old_crtc_state->plane_mask);
+			WARN_ON(crtc->crc.opened);
 			dev_priv->display.crtc_disable(to_intel_crtc_state(old_crtc_state), state);
 			intel_crtc->active = false;
 			intel_fbc_disable(intel_crtc);
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
maintainer
#4 lore raw
Quoted 7 lines · Chris Wilson

Quoting Jani Nikula (2017-11-08 13:06:39)

Quoted 4 lines

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

We don't have excess to the extended test run on trybot yet...

Marta, Martin, Tomi - this.

Though I believe Chris wants access not excess. ;)

BR,
Jani.

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#5 lore raw
Quoted 7 lines · Jani Nikula
Quoted 6 lines · Chris Wilson

Quoting Jani Nikula (2017-11-08 13:06:39)

Quoted 4 lines

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

Quoted 5 lines
Quoted 1 line

We don't have excess to the extended test run on trybot yet...

Marta, Martin, Tomi - this.

Though I believe Chris wants access not excess. ;)

Sssooo... shard-runs for Trybot? Only on success, or also on warning as with intel-gfx and igt?

The very recent change to run also f-feedback warnings on shards, and fixed vetting handling, will cause much more shardruns.

After KBL DMC update it could be taken to all the runs, instead of avoiding it because it's 20 minutes slower (and GLK is 30 minutes more slower)

We'll see if there's enough time in a day.

Tomi

Signature · 5 lines
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
maintainer
#6 lore raw
Quoted 17 lines · Tomi Sarvela
Quoted 7 lines · Jani Nikula
Quoted 6 lines · Chris Wilson

Quoting Jani Nikula (2017-11-08 13:06:39)

Quoted 4 lines

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

Quoted 5 lines
Quoted 1 line

We don't have excess to the extended test run on trybot yet...

Marta, Martin, Tomi - this.

Though I believe Chris wants access not excess. ;)

Sssooo... shard-runs for Trybot? Only on success, or also on warning as with intel-gfx and igt?

Quoted 8 lines

The very recent change to run also f-feedback warnings on shards, and fixed vetting handling, will cause much more shardruns.

After KBL DMC update it could be taken to all the runs, instead of avoiding it because it's 20 minutes slower (and GLK is 30 minutes more slower)

We'll see if there's enough time in a day.

IIUC there currently just isn't. The problem is, people are now running their hack patches on the regular CI to get full runs, and we can't even prioritize the stuff aimed at upstream over hacks.

BR,
Jani.

Quoted 2 lines

Tomi

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#7 lore raw
Quoted 9 lines · Jani Nikula
Quoted 8 lines · Tomi Sarvela
Quoted 7 lines · Jani Nikula
Quoted 6 lines · Chris Wilson

Quoting Jani Nikula (2017-11-08 13:06:39)

Quoted 4 lines

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 1 line

We don't have excess to the extended test run on trybot yet...

Marta, Martin, Tomi - this.

Though I believe Chris wants access not excess. ;)

Sssooo... shard-runs for Trybot? Only on success, or also on warning as with intel-gfx and igt?

Same as the rest.

Quoted 8 lines
Quoted 8 lines

The very recent change to run also f-feedback warnings on shards, and fixed vetting handling, will cause much more shardruns.

After KBL DMC update it could be taken to all the runs, instead of avoiding it because it's 20 minutes slower (and GLK is 30 minutes more slower)

Quoted 5 lines
Quoted 1 line

We'll see if there's enough time in a day.

IIUC there currently just isn't. The problem is, people are now running their hack patches on the regular CI to get full runs, and we can't even prioritize the stuff aimed at upstream over hacks.

Agreed. Developers are being nice to the system by pushing stuff to the trybot rather than intel-gfx, so we should provide the same service, albeit one with higher latency than intel-gfx@...

Let's however wait to know the impact of the changes Tomi made today before increasing the workload even more (Run shards on WARNING BAT results, and fixing the suppressed tests/machines handling) :s

As far as I can see, shards are not a problem right now though:
https://intel-gfx-ci.01.org/cibuglog/metrics.html

I propose waiting until next week before enabling shards on the trybot.

Martin
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

maintainer
#8 lore raw
Quoted 35 lines · Martin Peres
Quoted 9 lines · Jani Nikula
Quoted 8 lines · Tomi Sarvela
Quoted 7 lines · Jani Nikula
Quoted 6 lines · Chris Wilson

Quoting Jani Nikula (2017-11-08 13:06:39)

Quoted 4 lines

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 1 line

We don't have excess to the extended test run on trybot yet...

Marta, Martin, Tomi - this.

Though I believe Chris wants access not excess. ;)

Sssooo... shard-runs for Trybot? Only on success, or also on warning as with intel-gfx and igt?

Same as the rest.

Quoted 8 lines
Quoted 8 lines

The very recent change to run also f-feedback warnings on shards, and fixed vetting handling, will cause much more shardruns.

After KBL DMC update it could be taken to all the runs, instead of avoiding it because it's 20 minutes slower (and GLK is 30 minutes more slower)

Quoted 5 lines
Quoted 1 line

We'll see if there's enough time in a day.

IIUC there currently just isn't. The problem is, people are now running their hack patches on the regular CI to get full runs, and we can't even prioritize the stuff aimed at upstream over hacks.

Quoted 7 lines

Agreed. Developers are being nice to the system by pushing stuff to the trybot rather than intel-gfx, so we should provide the same service, albeit one with higher latency than intel-gfx@...

Let's however wait to know the impact of the changes Tomi made today before increasing the workload even more (Run shards on WARNING BAT results, and fixing the suppressed tests/machines handling) :s

Of course, we need to get BAT stabilized (again/more), but this is a good change at least for now. I was getting a bit tired requesting re-runs on something that obviously shouldn't break the things that were reported broken.

Quoted 4 lines

As far as I can see, shards are not a problem right now though:
https://intel-gfx-ci.01.org/cibuglog/metrics.html

I propose waiting until next week before enabling shards on the trybot.

Ack.

BR,
Jani.

Quoted 6 lines

Martin
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#9 lore raw
In reply to Jani Nikula
Quoted 25 lines · Jani Nikula
Quoted 24 lines · Tomi Sarvela
Quoted 7 lines · Jani Nikula
Quoted 6 lines · Chris Wilson

Quoting Jani Nikula (2017-11-08 13:06:39)

Quoted 4 lines

Please use trybot (i.e. send patches to [email protected]) for hacks that aren't intended for upstream. Then they can be prioritized appropriately.

Quoted 5 lines
Quoted 1 line

We don't have excess to the extended test run on trybot yet...

Marta, Martin, Tomi - this.

Though I believe Chris wants access not excess. ;)

Sssooo... shard-runs for Trybot? Only on success, or also on warning as with intel-gfx and igt?

The very recent change to run also f-feedback warnings on shards, and fixed vetting handling, will cause much more shardruns.

After KBL DMC update it could be taken to all the runs, instead of avoiding it because it's 20 minutes slower (and GLK is 30 minutes more slower)

Quoted 5 lines
Quoted 1 line

We'll see if there's enough time in a day.

IIUC there currently just isn't. The problem is, people are now running their hack patches on the regular CI to get full runs, and we can't even prioritize the stuff aimed at upstream over hacks.

If there is possibility to prioritize lower by sending hacks to Trybot, it might be enough. I don't mind queue if more important stuff is tested timely and trybot comes later.

Tomi

Signature · 5 lines
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#10 lore raw

✗ Fi.CI.BAT: warning for HAX: WARN_ON(crtc->crc.opened during disable)

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: HAX: WARN_ON(crtc->crc.opened during disable)
URL : https://patchwork.freedesktop.org/series/33411/
State : warning

== Summary ==

Series 33411v1 HAX: WARN_ON(crtc->crc.opened during disable)
https://patchwork.freedesktop.org/api/1.0/series/33411/revisions/1/mbox/

Test chamelium:

        Subgroup dp-crc-fast:
                fail       -> PASS       (fi-kbl-7500u) fdo#102514
Test debugfs_test:
        Subgroup read_all_entries:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
Test kms_frontbuffer_tracking:
        Subgroup basic:
                pass       -> DMESG-WARN (fi-bdw-5557u) fdo#102473
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
Test kms_pipe_crc_basic:
        Subgroup hang-read-crc-pipe-a:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
        Subgroup nonblocking-crc-pipe-a:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
        Subgroup nonblocking-crc-pipe-a-frame-sequence:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
        Subgroup read-crc-pipe-a:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
        Subgroup read-crc-pipe-a-frame-sequence:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)
        Subgroup suspend-read-crc-pipe-a:
                pass       -> DMESG-WARN (fi-bdw-5557u)
                pass       -> DMESG-WARN (fi-bdw-gvtdvm)

fdo#102514 https://bugs.freedesktop.org/show_bug.cgi?id=102514
fdo#102473 https://bugs.freedesktop.org/show_bug.cgi?id=102473

fi-bdw-5557u     total:289  pass:260  dwarn:8   dfail:0   fail:0   skip:21  time:445s
fi-bdw-gvtdvm    total:289  pass:257  dwarn:8   dfail:0   fail:0   skip:24  time:453s
fi-blb-e6850     total:289  pass:223  dwarn:1   dfail:0   fail:0   skip:65  time:377s
fi-bsw-n3050     total:289  pass:243  dwarn:0   dfail:0   fail:0   skip:46  time:538s
fi-bwr-2160      total:289  pass:183  dwarn:0   dfail:0   fail:0   skip:106 time:274s
fi-bxt-dsi       total:289  pass:259  dwarn:0   dfail:0   fail:0   skip:30  time:501s
fi-bxt-j4205     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:509s
fi-byt-j1900     total:289  pass:254  dwarn:0   dfail:0   fail:0   skip:35  time:493s
fi-byt-n2820     total:289  pass:250  dwarn:0   dfail:0   fail:0   skip:39  time:485s
fi-elk-e7500     total:289  pass:229  dwarn:0   dfail:0   fail:0   skip:60  time:429s
fi-gdg-551       total:289  pass:178  dwarn:1   dfail:0   fail:1   skip:109 time:263s
fi-glk-1         total:289  pass:261  dwarn:0   dfail:0   fail:0   skip:28  time:543s
fi-hsw-4770      total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:427s
fi-hsw-4770r     total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:438s
fi-ivb-3520m     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:484s
fi-ivb-3770      total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:461s
fi-kbl-7500u     total:289  pass:264  dwarn:1   dfail:0   fail:0   skip:24  time:487s
fi-kbl-7567u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:483s
fi-kbl-r         total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:535s
fi-pnv-d510      total:289  pass:222  dwarn:1   dfail:0   fail:0   skip:66  time:570s
fi-skl-6260u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:465s
fi-skl-6600u     total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:548s
fi-skl-6700hq    total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:566s
fi-skl-6700k     total:289  pass:265  dwarn:0   dfail:0   fail:0   skip:24  time:518s
fi-skl-6770hq    total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:503s
fi-skl-gvtdvm    total:289  pass:266  dwarn:0   dfail:0   fail:0   skip:23  time:456s
fi-snb-2520m     total:289  pass:250  dwarn:0   dfail:0   fail:0   skip:39  time:557s
fi-snb-2600      total:289  pass:249  dwarn:0   dfail:0   fail:0   skip:40  time:424s
Blacklisted hosts:
fi-cnl-y         total:289  pass:223  dwarn:0   dfail:0   fail:0   skip:24 
fi-glk-dsi       total:289  pass:258  dwarn:0   dfail:0   fail:1   skip:30  time:502s

748f2c6b4046b23a623b4af3799563ef3110bb0d drm-tip: 2017y-11m-08d-07h-50m-13s UTC integration manifest 44593b6d2b4f HAX: WARN_ON(crtc->crc.opened during disable)

== Logs ==

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