All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Bump priority of clean up work
@ 2018-07-12 11:57 Chris Wilson
  2018-07-12 13:26 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Chris Wilson @ 2018-07-12 11:57 UTC (permalink / raw)
  To: intel-gfx; +Cc: Daniel Vetter

We require that we keep the list of outstanding work short so that we do
not "leak" memory while pageflipping under stress. However that system
stress may delay kernel workers virtually indefinitely, which incurs the
pageflips stall and eventually hit a timeout waiting for the cleanup.

Try to combat CPU starvation of our short-lived cleanup workers by
switching to a high priority workqueue.

Testcase: igt/kms_cursor_legacy/all-pipes-torture-move
References: https://bugs.freedesktop.org/show_bug.cgi?id=107122
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
---
Not sure if highpri is enough to combat our RT torture...
---
 drivers/gpu/drm/i915/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 8a07de5ac740..626dea685b84 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -12741,7 +12741,7 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
 	 * down.
 	 */
 	INIT_WORK(&state->commit_work, intel_atomic_cleanup_work);
-	schedule_work(&state->commit_work);
+	queue_work(system_highpri_wq, &state->commit_work);
 }
 
 static void intel_atomic_commit_work(struct work_struct *work)
-- 
2.18.0

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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915: Bump priority of clean up work
  2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
@ 2018-07-12 13:26 ` Patchwork
  2018-08-11 10:03 ` Patchwork
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-07-12 13:26 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Bump priority of clean up work
URL   : https://patchwork.freedesktop.org/series/46390/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4475 -> Patchwork_9630 =

== Summary - SUCCESS ==

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/46390/revisions/1/mbox/


== Changes ==

  No changes found


== Participating hosts (45 -> 42) ==

  Additional (1): fi-elk-e7500 
  Missing    (4): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-hsw-4200u 


== Build changes ==

    * Linux: CI_DRM_4475 -> Patchwork_9630

  CI_DRM_4475: 1b6f049d73237a170919604538e747b0282b0109 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4551: 93cf6931b33e2c0f5b89c89b65817fe245ecc391 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9630: af270619ba234c10def0ebe5bfdf82bffc48c105 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

af270619ba23 drm/i915: Bump priority of clean up work

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9630/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915: Bump priority of clean up work
  2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
  2018-07-12 13:26 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2018-08-11 10:03 ` Patchwork
  2018-08-11 10:51 ` ✓ Fi.CI.IGT: " Patchwork
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-08-11 10:03 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Bump priority of clean up work
URL   : https://patchwork.freedesktop.org/series/46390/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4646 -> Patchwork_9924 =

== Summary - SUCCESS ==

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/46390/revisions/1/mbox/

== Known issues ==

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

  === IGT changes ===

    ==== Issues hit ====

    igt@drv_module_reload@basic-reload-inject:
      fi-hsw-4770r:       PASS -> DMESG-WARN (fdo#107425)

    igt@gem_exec_suspend@basic-s3:
      {fi-cfl-8109u}:     PASS -> DMESG-WARN (fdo#107345)

    igt@kms_flip@basic-flip-vs-dpms:
      {fi-cfl-8109u}:     PASS -> INCOMPLETE (fdo#106070)

    
    ==== Possible fixes ====

    igt@drv_selftest@live_workarounds:
      fi-skl-6700k2:      DMESG-FAIL (fdo#107292) -> PASS

    igt@kms_busy@basic-flip-a:
      fi-kbl-r:           DMESG-WARN (fdo#105602) -> PASS

    igt@kms_pipe_crc_basic@hang-read-crc-pipe-b:
      {fi-byt-clapper}:   FAIL (fdo#107362, fdo#103191) -> PASS

    igt@kms_pipe_crc_basic@read-crc-pipe-a:
      fi-skl-6700k2:      FAIL (fdo#103191) -> PASS

    igt@kms_pipe_crc_basic@read-crc-pipe-b:
      {fi-byt-clapper}:   FAIL (fdo#107362) -> PASS

    
    ==== Warnings ====

    {igt@kms_psr@primary_page_flip}:
      fi-cnl-psr:         DMESG-WARN (fdo#107372) -> DMESG-FAIL (fdo#107372)

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

  fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
  fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
  fdo#106070 https://bugs.freedesktop.org/show_bug.cgi?id=106070
  fdo#107292 https://bugs.freedesktop.org/show_bug.cgi?id=107292
  fdo#107345 https://bugs.freedesktop.org/show_bug.cgi?id=107345
  fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
  fdo#107372 https://bugs.freedesktop.org/show_bug.cgi?id=107372
  fdo#107425 https://bugs.freedesktop.org/show_bug.cgi?id=107425


== Participating hosts (51 -> 48) ==

  Additional (2): fi-byt-j1900 fi-glk-j4005 
  Missing    (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u 


== Build changes ==

    * Linux: CI_DRM_4646 -> Patchwork_9924

  CI_DRM_4646: 7d37687883a5fc488501e5dbbd750c9794faa612 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4592: fce9638b2e60afce872b3056c19a729b1b3708be @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9924: aedeb47b8dc7db25f0643695a8f0d74e744386fc @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

aedeb47b8dc7 drm/i915: Bump priority of clean up work

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9924/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* ✓ Fi.CI.IGT: success for drm/i915: Bump priority of clean up work
  2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
  2018-07-12 13:26 ` ✓ Fi.CI.BAT: success for " Patchwork
  2018-08-11 10:03 ` Patchwork
@ 2018-08-11 10:51 ` Patchwork
  2018-08-11 10:53   ` Chris Wilson
  2018-08-13  9:18 ` ✓ Fi.CI.BAT: " Patchwork
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: Patchwork @ 2018-08-11 10:51 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Bump priority of clean up work
URL   : https://patchwork.freedesktop.org/series/46390/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4646_full -> Patchwork_9924_full =

== Summary - SUCCESS ==

  No regressions found.

  

== Known issues ==

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

  === IGT changes ===

    ==== Issues hit ====

    igt@drv_suspend@shrink:
      shard-snb:          PASS -> FAIL (fdo#106886)

    
    ==== Possible fixes ====

    igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-a:
      shard-snb:          INCOMPLETE (fdo#105411) -> PASS

    igt@kms_cursor_legacy@all-pipes-torture-move:
      shard-snb:          DMESG-WARN (fdo#107122) -> PASS
      shard-glk:          DMESG-WARN (fdo#107122) -> PASS
      shard-apl:          DMESG-WARN (fdo#107122) -> PASS
      shard-hsw:          DMESG-WARN (fdo#107122) -> PASS

    igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
      shard-glk:          FAIL (fdo#105363) -> PASS

    igt@kms_setmode@basic:
      shard-kbl:          FAIL (fdo#99912) -> PASS

    
  fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
  fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
  fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
  fdo#107122 https://bugs.freedesktop.org/show_bug.cgi?id=107122
  fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912


== Participating hosts (5 -> 5) ==

  No changes in participating hosts


== Build changes ==

    * Linux: CI_DRM_4646 -> Patchwork_9924

  CI_DRM_4646: 7d37687883a5fc488501e5dbbd750c9794faa612 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4592: fce9638b2e60afce872b3056c19a729b1b3708be @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9924: aedeb47b8dc7db25f0643695a8f0d74e744386fc @ 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_9924/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ✓ Fi.CI.IGT: success for drm/i915: Bump priority of clean up work
  2018-08-11 10:51 ` ✓ Fi.CI.IGT: " Patchwork
@ 2018-08-11 10:53   ` Chris Wilson
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Wilson @ 2018-08-11 10:53 UTC (permalink / raw)
  To: Patchwork; +Cc: intel-gfx

Quoting Patchwork (2018-08-11 11:51:15)
>     igt@kms_cursor_legacy@all-pipes-torture-move:
>       shard-snb:          DMESG-WARN (fdo#107122) -> PASS
>       shard-glk:          DMESG-WARN (fdo#107122) -> PASS
>       shard-apl:          DMESG-WARN (fdo#107122) -> PASS
>       shard-hsw:          DMESG-WARN (fdo#107122) -> PASS

They have been reasonably consistent failures for the last few runs, so
this looks like indication of success.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915: Bump priority of clean up work
  2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
                   ` (2 preceding siblings ...)
  2018-08-11 10:51 ` ✓ Fi.CI.IGT: " Patchwork
@ 2018-08-13  9:18 ` Patchwork
  2018-08-13 10:44 ` ✓ Fi.CI.IGT: " Patchwork
  2018-08-13 10:46 ` [PATCH] " Chris Wilson
  5 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-08-13  9:18 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Bump priority of clean up work
URL   : https://patchwork.freedesktop.org/series/46390/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4660 -> Patchwork_9927 =

== Summary - SUCCESS ==

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/46390/revisions/1/mbox/

== Known issues ==

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

  === IGT changes ===

    ==== Issues hit ====

    igt@drv_selftest@live_workarounds:
      {fi-cfl-8109u}:     PASS -> DMESG-FAIL (fdo#107292)

    
    ==== Possible fixes ====

    igt@drv_selftest@live_hangcheck:
      fi-skl-guc:         DMESG-FAIL (fdo#107174) -> PASS

    igt@kms_frontbuffer_tracking@basic:
      {fi-byt-clapper}:   FAIL (fdo#103167) -> PASS

    igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a:
      {fi-byt-clapper}:   FAIL (fdo#107362) -> PASS

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
      fi-skl-guc:         FAIL (fdo#103191) -> PASS

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

  fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
  fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
  fdo#107174 https://bugs.freedesktop.org/show_bug.cgi?id=107174
  fdo#107292 https://bugs.freedesktop.org/show_bug.cgi?id=107292
  fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362


== Participating hosts (54 -> 49) ==

  Missing    (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u 


== Build changes ==

    * Linux: CI_DRM_4660 -> Patchwork_9927

  CI_DRM_4660: 9cd882754c1017e68ed9d2c8d57dc326530522fe @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4592: fce9638b2e60afce872b3056c19a729b1b3708be @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9927: fef13c75ab23b211457cd09728351190018c11f7 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

fef13c75ab23 drm/i915: Bump priority of clean up work

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9927/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* ✓ Fi.CI.IGT: success for drm/i915: Bump priority of clean up work
  2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
                   ` (3 preceding siblings ...)
  2018-08-13  9:18 ` ✓ Fi.CI.BAT: " Patchwork
@ 2018-08-13 10:44 ` Patchwork
  2018-08-13 10:46 ` [PATCH] " Chris Wilson
  5 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-08-13 10:44 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Bump priority of clean up work
URL   : https://patchwork.freedesktop.org/series/46390/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4660_full -> Patchwork_9927_full =

== Summary - SUCCESS ==

  No regressions found.

  

== Known issues ==

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

  === IGT changes ===

    ==== Issues hit ====

    igt@drv_suspend@shrink:
      shard-kbl:          PASS -> INCOMPLETE (fdo#106886, fdo#103665)

    igt@kms_flip@flip-vs-expired-vblank:
      shard-glk:          PASS -> FAIL (fdo#105363, fdo#102887)

    igt@kms_setmode@basic:
      shard-apl:          PASS -> FAIL (fdo#99912)

    
    ==== Possible fixes ====

    igt@gem_eio@reset-stress:
      shard-apl:          FAIL -> PASS

    igt@gem_ppgtt@blt-vs-render-ctxn:
      shard-kbl:          INCOMPLETE (fdo#106023, fdo#103665) -> PASS

    igt@kms_cursor_legacy@all-pipes-torture-move:
      shard-snb:          DMESG-WARN (fdo#107122) -> PASS
      shard-glk:          DMESG-WARN (fdo#107122) -> PASS
      shard-apl:          DMESG-WARN (fdo#107122) -> PASS
      shard-hsw:          DMESG-WARN (fdo#107122) -> PASS

    
  fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
  fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
  fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
  fdo#106023 https://bugs.freedesktop.org/show_bug.cgi?id=106023
  fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
  fdo#107122 https://bugs.freedesktop.org/show_bug.cgi?id=107122
  fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912


== Participating hosts (5 -> 5) ==

  No changes in participating hosts


== Build changes ==

    * Linux: CI_DRM_4660 -> Patchwork_9927

  CI_DRM_4660: 9cd882754c1017e68ed9d2c8d57dc326530522fe @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4592: fce9638b2e60afce872b3056c19a729b1b3708be @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9927: fef13c75ab23b211457cd09728351190018c11f7 @ 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_9927/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] drm/i915: Bump priority of clean up work
  2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
                   ` (4 preceding siblings ...)
  2018-08-13 10:44 ` ✓ Fi.CI.IGT: " Patchwork
@ 2018-08-13 10:46 ` Chris Wilson
  2018-08-13 12:49   ` Mika Kuoppala
  5 siblings, 1 reply; 10+ messages in thread
From: Chris Wilson @ 2018-08-13 10:46 UTC (permalink / raw)
  To: intel-gfx; +Cc: Daniel Vetter

Quoting Chris Wilson (2018-07-12 12:57:29)
> We require that we keep the list of outstanding work short so that we do
> not "leak" memory while pageflipping under stress. However that system
> stress may delay kernel workers virtually indefinitely, which incurs the
> pageflips stall and eventually hit a timeout waiting for the cleanup.
> 
> Try to combat CPU starvation of our short-lived cleanup workers by
> switching to a high priority workqueue.
> 
> Testcase: igt/kms_cursor_legacy/all-pipes-torture-move
> References: https://bugs.freedesktop.org/show_bug.cgi?id=107122
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> Not sure if highpri is enough to combat our RT torture...

CI thinks it is.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] drm/i915: Bump priority of clean up work
  2018-08-13 10:46 ` [PATCH] " Chris Wilson
@ 2018-08-13 12:49   ` Mika Kuoppala
  2018-08-13 13:00     ` Chris Wilson
  0 siblings, 1 reply; 10+ messages in thread
From: Mika Kuoppala @ 2018-08-13 12:49 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx; +Cc: Daniel Vetter

Chris Wilson <chris@chris-wilson.co.uk> writes:

> Quoting Chris Wilson (2018-07-12 12:57:29)
>> We require that we keep the list of outstanding work short so that we do
>> not "leak" memory while pageflipping under stress. However that system
>> stress may delay kernel workers virtually indefinitely, which incurs the
>> pageflips stall and eventually hit a timeout waiting for the cleanup.
>> 
>> Try to combat CPU starvation of our short-lived cleanup workers by
>> switching to a high priority workqueue.
>> 
>> Testcase: igt/kms_cursor_legacy/all-pipes-torture-move
>> References: https://bugs.freedesktop.org/show_bug.cgi?id=107122
>> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
>> ---
>> Not sure if highpri is enough to combat our RT torture...
>
> CI thinks it is.

Not so familiar with the atomic commit. But it makes
sense and now there is evidence supporting it.

Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] drm/i915: Bump priority of clean up work
  2018-08-13 12:49   ` Mika Kuoppala
@ 2018-08-13 13:00     ` Chris Wilson
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Wilson @ 2018-08-13 13:00 UTC (permalink / raw)
  To: Mika Kuoppala, intel-gfx; +Cc: Daniel Vetter

Quoting Mika Kuoppala (2018-08-13 13:49:43)
> Chris Wilson <chris@chris-wilson.co.uk> writes:
> 
> > Quoting Chris Wilson (2018-07-12 12:57:29)
> >> We require that we keep the list of outstanding work short so that we do
> >> not "leak" memory while pageflipping under stress. However that system
> >> stress may delay kernel workers virtually indefinitely, which incurs the
> >> pageflips stall and eventually hit a timeout waiting for the cleanup.
> >> 
> >> Try to combat CPU starvation of our short-lived cleanup workers by
> >> switching to a high priority workqueue.
> >> 
> >> Testcase: igt/kms_cursor_legacy/all-pipes-torture-move
> >> References: https://bugs.freedesktop.org/show_bug.cgi?id=107122
> >> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> >> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> >> ---
> >> Not sure if highpri is enough to combat our RT torture...
> >
> > CI thinks it is.
> 
> Not so familiar with the atomic commit. But it makes
> sense and now there is evidence supporting it.

Proof is indeed in the pudding; the CI stress case is about the worst it
can be so, with any luck the starvation issue is prevented. Thanks,
pushed.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-08-13 13:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12 11:57 [PATCH] drm/i915: Bump priority of clean up work Chris Wilson
2018-07-12 13:26 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-08-11 10:03 ` Patchwork
2018-08-11 10:51 ` ✓ Fi.CI.IGT: " Patchwork
2018-08-11 10:53   ` Chris Wilson
2018-08-13  9:18 ` ✓ Fi.CI.BAT: " Patchwork
2018-08-13 10:44 ` ✓ Fi.CI.IGT: " Patchwork
2018-08-13 10:46 ` [PATCH] " Chris Wilson
2018-08-13 12:49   ` Mika Kuoppala
2018-08-13 13:00     ` Chris Wilson

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.