intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Cooper Chiou <cooper.chiou@intel.com>,
	intel-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@intel.com>,
	Chris Wilson <chris@chris-wilson.co.uk>,
	William Tseng <william.tseng@intel.com>,
	Pawel Wilma <pawel.wilma@intel.com>
Subject: Re: [Intel-gfx] [PATCH v8] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9
Date: Mon, 1 Nov 2021 10:49:30 +0000	[thread overview]
Message-ID: <a0e17b30-31a9-1bc8-7cda-6888b76bd4c0@linux.intel.com> (raw)
In-Reply-To: <163576323499.3344.4388287606987057365@jlahtine-mobl.ger.corp.intel.com>


On 01/11/2021 10:40, Joonas Lahtinen wrote:
> Quoting Tvrtko Ursulin (2021-11-01 12:15:19)
>>
>> On 25/10/2021 05:26, Cooper Chiou wrote:
>>> This implements WaProgramMgsrForCorrectSliceSpecificMmioReads which
>>> was omitted by mistake from Gen9 documentation, while it is actually
>>> applicable to fused off parts.
>>>
>>> Workaround consists of making sure MCR packet control register is
>>> programmed to point to enabled slice/subslice pair before doing any
>>> MMIO reads from the affected registers.
>>>
>>> Failure do to this can result in complete system hangs when running
>>> certain workloads. Two known cases which can cause system hangs are:
>>>
>>> 1. "test_basic progvar_prog_scope_uninit" test which is part of
>>>       Khronos OpenCL conformance suite
>>>       (https://github.com/KhronosGroup/OpenCL-CTS) with the Intel
>>>       OpenCL driver (https://github.com/intel/compute-runtime).
>>>
>>> 2. VP8 media hardware encoding using the full-feature build of the
>>>       Intel media-driver (https://github.com/intel/media-driver) and
>>>       ffmpeg.
>>>
>>> For the former case patch was verified to fix the hard system hang
>>> when executing the OCL test on Intel Pentium CPU 6405U which contains
>>> fused off GT1 graphics.
>>>
>>> Reference: HSD#1508045018,1405586840, BSID#0575
>>>
>>> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
>>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>>> Cc: Jani Nikula <jani.nikula@intel.com>
>>> Cc: Chris Wilson <chris@chris-wilson.co.uk>
>>> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
>>> Cc: William Tseng <william.tseng@intel.com>
>>> Cc: Shawn C Lee <shawn.c.lee@intel.com>
>>> Cc: Pawel Wilma <pawel.wilma@intel.com>
>>> Signed-off-by: Cooper Chiou <cooper.chiou@intel.com>
>>
>> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> 
> Thanks for following through with all the testing and validation for the
> patch!
> 
> Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>

I've pushed it, thanks!

Regards,

Tvrtko

  reply	other threads:[~2021-11-01 10:49 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 18:07 [Intel-gfx] [PATCH] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2020-09-16 19:59 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2020-09-21  9:22 ` [Intel-gfx] [drm/i915] 04ff178484: phoronix-test-suite.supertuxkart.1024x768.Fullscreen.Ultimate.1.GranParadisoIsland.frames_per_second -30.4% regression kernel test robot
2021-01-21 14:18   ` Chiou, Cooper
2021-02-08  0:45     ` kernel test robot
2021-02-17  6:56       ` Chiou, Cooper
2021-02-09  6:41 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev2) Patchwork
2021-02-09  7:12 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2021-02-09 11:37   ` Chiou, Cooper
2021-02-17 10:24     ` Tvrtko Ursulin
2021-03-04 18:37       ` Chiou, Cooper
2021-03-04 20:10         ` Matt Roper
2021-02-17  9:31 ` [Intel-gfx] [PATCH] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Chiou, Cooper
2021-02-17  9:59 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev3) Patchwork
2021-03-02  3:55 ` [Intel-gfx] [PATCH] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-03-02  5:50 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev4) Patchwork
2021-03-02  6:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-03-02  6:23 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-03-02  6:27 ` [Intel-gfx] [PATCH v3] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-03-02  7:17   ` Chiou, Cooper
2021-03-04  9:12   ` Tvrtko Ursulin
2021-03-04  9:19     ` Chris Wilson
2021-03-04 11:56       ` Chris Wilson
2021-03-05  0:53         ` Chris Wilson
2021-03-05  9:23           ` Tvrtko Ursulin
2021-03-05 12:20             ` Chris Wilson
2021-03-05 15:23               ` Chris Wilson
2021-03-05 15:24               ` Chiou, Cooper
2021-03-05 16:01                 ` Tvrtko Ursulin
2021-03-06  7:16                   ` Chiou, Cooper
2021-03-08 17:32                   ` Chiou, Cooper
2021-03-10 10:19                     ` Tvrtko Ursulin
2021-03-10 10:54                       ` Chris Wilson
2021-03-11  2:36                         ` Chiou, Cooper
2021-03-11  1:27                       ` Chiou, Cooper
2021-03-11 10:12                         ` Tvrtko Ursulin
2021-03-11 10:47                           ` Chiou, Cooper
2021-03-02  7:21 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev5) Patchwork
2021-03-02  7:28 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-03-03 18:09 ` [Intel-gfx] [PATCH v4] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-03-03 19:54 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev6) Patchwork
2021-03-05 12:58 ` [Intel-gfx] [PATCH v5] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-03-06  7:19   ` Chiou, Cooper
2021-03-10  3:09     ` Chiou, Cooper
2021-03-11 10:45   ` Tvrtko Ursulin
2021-03-11 11:11     ` Joonas Lahtinen
2021-03-23 16:30       ` Rodrigo Vivi
2021-03-05 14:44 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev7) Patchwork
2021-03-05 17:57 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-10-21 18:05 ` [Intel-gfx] [PATCH v6] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-10-21 22:15 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev8) Patchwork
2021-10-22  4:14 ` [Intel-gfx] [PATCH v7] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-10-22 13:23   ` Tvrtko Ursulin
2021-10-22  5:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev9) Patchwork
2021-10-22  9:05 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-10-25  4:26 ` [Intel-gfx] [PATCH v8] drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 Cooper Chiou
2021-11-01 10:15   ` Tvrtko Ursulin
2021-11-01 10:40     ` Joonas Lahtinen
2021-11-01 10:49       ` Tvrtko Ursulin [this message]
2021-10-25  5:34 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev10) Patchwork
2021-10-25  9:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9 (rev11) Patchwork
2021-10-25 12:46 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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=a0e17b30-31a9-1bc8-7cda-6888b76bd4c0@linux.intel.com \
    --to=tvrtko.ursulin@linux.intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=cooper.chiou@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=pawel.wilma@intel.com \
    --cc=william.tseng@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).