Find a file
Francisco Jerez c2a6bbc712 intel/gen12: Fix memory corruption issues in fused Gen12 parts.
According to the BSpec page for MEDIA_VFE_STATE, on Gen12 platforms
"if a fused configuration has fewer threads than the native POR
configuration, the scratch space allocation is based on the number of
threads in the base native POR configuration".  However we currently
use the subslice count from devinfo->num_subslices[0], which only
includes the subslices currently enabled by the platform fusing.  This
leads to scratch space underallocation and occasional hangs.

The problem is likely to affect most Gen12 GPUs with less than 96 EUs.
GFXBench5 Aztec Ruins is able to reproduce the issue fairly reliably.

Fixes: 9e5ce30da7 "intel: fix the gen 12 compute shader scratch IDs"
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8636>
(cherry picked from commit e2c5ef6cd6)
2021-01-26 09:21:16 -08:00
.appveyor
.gitlab/issue_templates gitlab: ask for more detailed info about GPU 2020-08-20 11:56:19 +00:00
.gitlab-ci ci: exclude one CTS test that timeout most of the time for RADV CI 2021-01-25 10:49:58 -08:00
bin android_stub: Update platform headers to include gralloc1.h. 2020-10-19 18:41:50 +00:00
build-support
docs docs: Add sha256sum for 20.3.3 2021-01-13 10:24:11 -08:00
doxygen
include CL: update CL headers to 3.0 2020-11-06 17:02:54 +10:00
scons scons/windows: Support build with LLVM 11. 2020-10-23 17:17:01 -07:00
src intel/gen12: Fix memory corruption issues in fused Gen12 parts. 2021-01-26 09:21:16 -08:00
subprojects
.dir-locals.el
.editorconfig
.gitignore
.gitlab-ci.yml ci: Drop x86_build_old image 2020-12-07 09:20:39 -08:00
.mailmap
.pick_status.json intel/gen12: Fix memory corruption issues in fused Gen12 parts. 2021-01-26 09:21:16 -08:00
.travis.yml
Android.common.mk
Android.mk
CleanSpec.mk
common.py
meson.build util: Avoid pthread_setaffinity_np on NetBSD 2021-01-12 15:27:35 -08:00
meson_options.txt meson: Don't add extra values to shader-cache 2020-11-24 22:08:17 -08:00
README.rst
REVIEWERS
SConstruct
VERSION VERSION: bump to 20.3.3 2021-01-13 10:06:51 -08:00

`Mesa <https://mesa3d.org>`_ - The 3D Graphics Library
======================================================


Source
------

This repository lives at https://gitlab.freedesktop.org/mesa/mesa.
Other repositories are likely forks, and code found there is not supported.


Build & install
---------------

You can find more information in our documentation (`docs/install.rst
<https://mesa3d.org/install.html>`_), but the recommended way is to use
Meson (`docs/meson.rst <https://mesa3d.org/meson.html>`_):

.. code-block:: sh

  $ mkdir build
  $ cd build
  $ meson ..
  $ sudo ninja install


Support
-------

Many Mesa devs hang on IRC; if you're not sure which channel is
appropriate, you should ask your question on `Freenode's #dri-devel
<irc://chat.freenode.net#dri-devel>`_, someone will redirect you if
necessary.
Remember that not everyone is in the same timezone as you, so it might
take a while before someone qualified sees your question.
To figure out who you're talking to, or which nick to ping for your
question, check out `Who's Who on IRC
<https://dri.freedesktop.org/wiki/WhosWho/>`_.

The next best option is to ask your question in an email to the
mailing lists: `mesa-dev\@lists.freedesktop.org
<https://lists.freedesktop.org/mailman/listinfo/mesa-dev>`_


Bug reports
-----------

If you think something isn't working properly, please file a bug report
(`docs/bugs.rst <https://mesa3d.org/bugs.html>`_).


Contributing
------------

Contributions are welcome, and step-by-step instructions can be found in our
documentation (`docs/submittingpatches.rst
<https://mesa3d.org/submittingpatches.html>`_).

Note that Mesa uses gitlab for patches submission, review and discussions.