Bug 109799

Summary: [CI][SHARDS] igt@kms_flip@flip-vs-suspend-interruptible - dmesg-warn - WARN_ON(!intel_engines_are_idle(i915))
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: HSW i915 features: display/Other

Description Lakshmi 2019-02-28 14:26:19 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5667/shard-hsw8/igt@kms_flip@flip-vs-suspend-interruptible.html

<4> [416.769991] WARN_ON(!intel_engines_are_idle(i915))
<4> [416.770045] WARNING: CPU: 2 PID: 2699 at drivers/gpu/drm/i915/i915_gem.c:4543 i915_gem_suspend+0x14a/0x170 [i915]
<4> [416.770085] RIP: 0010:i915_gem_suspend+0x14a/0x170 [i915]
<4> [416.770122]  i915_pm_prepare+0x24/0x70 [i915]
<4> [416.770234] WARNING: CPU: 2 PID: 2699 at drivers/gpu/drm/i915/i915_gem.c:4543 i915_gem_suspend+0x14a/0x170 [i915]
Comment 2 Chris Wilson 2019-02-28 14:33:49 UTC
commit 44f8b8022d4cde821819397e9f9f57eb30c51f93
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Feb 27 20:46:53 2019 +0000

    Revert "drm/i915: Avoid waking the engines just to check if they are idle"
    
    This reverts commit 0b702dca26580e3bbfbbaf22dfc29280b6263414.
    
    CI reports that this is not as reliable as it first appears, with
    failures starting to sporadically occur in selftests.
    
    Fixes: 0b702dca2658 ("drm/i915: Avoid waking the engines just to check if they are idle")
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Mika Kuoppala <mika.kuoppala@intel.com>
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190227204654.14907-1-chris@chris-wilson.co.uk
Comment 4 CI Bug Log 2019-02-28 14:47:23 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* HSW SKL BXT APL: igt@runner@aborted - fail - Previous test: (kms_flip|i915_selftest)
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3647/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3809/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3654/fi-hsw-4770/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3654/fi-hsw-4770r/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3654/fi-hsw-peppy/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3656/shard-apl1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3656/shard-hsw5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3661/shard-apl1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3661/shard-hsw6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3810/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3669/shard-apl3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3669/shard-hsw7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3675/shard-apl6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3675/shard-hsw6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3679/shard-apl2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3679/shard-hsw6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3680/shard-apl7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3680/shard-hsw5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3817/shard-apl1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3817/shard-hsw5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3707/shard-apl4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3707/shard-hsw1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3708/shard-apl7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3708/shard-hsw6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3717/shard-apl1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3717/shard-hsw5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3721/shard-apl7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3721/shard-hsw2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12223/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12223/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12223/fi-hsw-4770/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12223/fi-hsw-4770r/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12314/shard-apl7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2533/shard-hsw7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4861/shard-hsw6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5667/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12322/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5667/shard-hsw8/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3907/fi-hsw-4770r/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4862/shard-hsw1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5669/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12324/shard-hsw3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12316/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12318/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12318/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3908/fi-hsw-4770r/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12323/shard-hsw6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5669/shard-hsw7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5670/shard-hsw5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12325/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3730/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3730/fi-hsw-4770/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3730/fi-hsw-4770r/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3730/fi-hsw-peppy/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3730/shard-apl6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3730/shard-hsw8/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3740/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3856/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3755/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3877/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3877/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3877/fi-hsw-4770/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3877/fi-hsw-4770r/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3879/fi-apl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3879/fi-bxt-j4205/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3879/fi-hsw-4770/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_3879/fi-hsw-4770r/igt@runner@aborted.html
Comment 5 CI Bug Log 2019-02-28 14:50:53 UTC
A CI Bug Log filter associated to this bug has been updated:

{- HSW SKL BXT APL: igt@runner@aborted - fail - Previous test: (kms_flip|i915_selftest) -}
{+ HSW SKL BXT APL: igt@runner@aborted - fail - Previous test: (kms_flip|i915_selftest|gem_exec_suspend) +}

New failures caught by the filter:

* https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5668/shard-hsw1/igt@runner@aborted.html
Comment 6 CI Bug Log 2019-03-02 11:41:39 UTC
A CI Bug Log filter associated to this bug has been updated:

{- HSW SKL BXT APL: igt@runner@aborted - fail - Previous test: (kms_flip|i915_selftest|gem_exec_suspend) -}
{+ HSW SKL BXT APL: igt@runner@aborted - fail - Previous test: (kms_flip|i915_selftest|gem_exec_suspend) +}

New failures caught by the filter:

* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_233/fi-hsw-4770/igt@runner@aborted.html
* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_233/fi-hsw-4770r/igt@runner@aborted.html
Comment 7 Martin Peres 2019-03-05 16:47:17 UTC
(In reply to Chris Wilson from comment #2)
> commit 44f8b8022d4cde821819397e9f9f57eb30c51f93
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Wed Feb 27 20:46:53 2019 +0000
> 
>     Revert "drm/i915: Avoid waking the engines just to check if they are
> idle"
>     
>     This reverts commit 0b702dca26580e3bbfbbaf22dfc29280b6263414.
>     
>     CI reports that this is not as reliable as it first appears, with
>     failures starting to sporadically occur in selftests.
>     
>     Fixes: 0b702dca2658 ("drm/i915: Avoid waking the engines just to check
> if they are idle")
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>     Cc: Mika Kuoppala <mika.kuoppala@intel.com>
>     Cc: Jani Nikula <jani.nikula@linux.intel.com>
>     Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
>     Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
>     Link:
> https://patchwork.freedesktop.org/patch/msgid/20190227204654.14907-1-
> chris@chris-wilson.co.uk

Thanks! It did the trick. Closing :)
Comment 8 CI Bug Log 2019-03-05 16:47:27 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.