Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: ✗ Fi.CI.BAT: warning for RFC: duct-tape for the gpu reset vs. modeset deadlock
Date: Mon, 17 Jul 2017 12:01:18 +0200	[thread overview]
Message-ID: <36ebd561-0326-ddcb-5068-f417b79084d8@linux.intel.com> (raw)
In-Reply-To: <CAKMK7uECn-zYwPyRaYooA7B5jczg_TVUND8vDqK7oPfxrFJ5kA@mail.gmail.com>

Op 15-07-17 om 15:45 schreef Daniel Vetter:
> On Sat, Jul 15, 2017 at 3:23 PM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
>> On Sat, Jul 15, 2017 at 2:00 PM, Patchwork
>> <patchwork@emeril.freedesktop.org> wrote:
>>> == Series Details ==
>>>
>>> Series: RFC: duct-tape for the gpu reset vs. modeset deadlock
>>> URL   : https://patchwork.freedesktop.org/series/27345/
>>> State : warning
>>>
>>> == Summary ==
>>>
>>> Series 27345v1 RFC: duct-tape for the gpu reset vs. modeset deadlock
>>> https://patchwork.freedesktop.org/api/1.0/series/27345/revisions/1/mbox/
>>>
>>> Test drv_hangman:
>>>         Subgroup error-state-basic:
>>>                 pass       -> DMESG-WARN (fi-blb-e6850)
>>>                 pass       -> DMESG-WARN (fi-pnv-d510)
>>> Test gem_busy:
>>>         Subgroup basic-hang-default:
>>>                 pass       -> DMESG-WARN (fi-blb-e6850)
>>>                 pass       -> DMESG-WARN (fi-pnv-d510)
>>> Test gem_exec_fence:
>>>         Subgroup await-hang-default:
>>>                 pass       -> DMESG-WARN (fi-blb-e6850)
>>>                 pass       -> DMESG-WARN (fi-pnv-d510)
>> Looks like I wreaked something on gpus where the hw reset kills the
>> display. I'll check it out.
> Ok, simplest solution seems to be to just not do the special casing
> between real hw reset and fake reset, and unconditionally shut down
> all the CRTC. Probably a lot more than just the power domain tracking
> will get out of whack. I wasn't really sold on that idea either way,
> so I'll drop both "drm/i915: only disable outputs in simulated gpu
> resets" and "drm/atomic-helper: add sync_all helper for gpu reset"
> from the series. They're not needed really anyway.
> -Daniel

Agreed, sync_all helper should have been done by the disable_all call.

The thing I didn't like was that you didn't shut down the GPU unconditionally, but with that fixed series looks good. :)
I like patch 6/7, it makes everything more clear.

I'm not sure if calling prepare_to_wait twice is allowed, but don't see why not.

So with those taken out and feedback addressed.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2017-07-17 10:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-15 11:39 [PATCH 0/7] RFC: duct-tape for the gpu reset vs. modeset deadlock Daniel Vetter
2017-07-15 11:40 ` [PATCH 1/7] drm/i915: Nuke legacy flip queueing code Daniel Vetter
2017-07-15 11:40 ` [PATCH 2/7] drm/i915: Unbreak gpu reset vs. modeset locking Daniel Vetter
2017-07-17 17:14   ` Maarten Lankhorst
2017-07-15 11:40 ` [PATCH 3/7] drm/atomic-helper: add sync_all helper for gpu reset Daniel Vetter
2017-07-17 12:30   ` Mika Kuoppala
2017-07-15 11:40 ` [PATCH 4/7] drm/i915: only disable outputs in simulated gpu resets Daniel Vetter
2017-07-15 11:40 ` [PATCH 5/7] drm/i915: Avoid the gpu reset vs. modeset deadlock Daniel Vetter
2017-07-15 11:40 ` [PATCH 6/7] drm/i915: Push i915_sw_fence_wait into the nonblocking atomic commit Daniel Vetter
2017-07-15 11:40 ` [PATCH 7/7] drm/i915: More surgically unbreak the modeset vs reset deadlock Daniel Vetter
2017-07-15 12:00 ` ✗ Fi.CI.BAT: warning for RFC: duct-tape for the gpu reset vs. modeset deadlock Patchwork
2017-07-15 13:23   ` Daniel Vetter
2017-07-15 13:45     ` Daniel Vetter
2017-07-17 10:01       ` Maarten Lankhorst [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36ebd561-0326-ddcb-5068-f417b79084d8@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox