aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inv.c
diff options
context:
space:
mode:
authorCooper Chiou <[email protected]>2021-10-25 12:26:23 +0800
committerTvrtko Ursulin <[email protected]>2021-11-01 10:46:53 +0000
commitc7d561cfcf8661ef02218655c923a0eadbbd7520 (patch)
treea5ba96783f392c2d7259f278eb18b8771c84ed3a /lib/mpi/mpi-inv.c
parentfe6089c138e477d0b1a8bf369ae6643466fd7c2d (diff)
drm/i915: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads for Gen9
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ä <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: William Tseng <[email protected]> Cc: Shawn C Lee <[email protected]> Cc: Pawel Wilma <[email protected]> Signed-off-by: Cooper Chiou <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Acked-by: Joonas Lahtinen <[email protected]> Signed-off-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions