Skip to content
Snippets Groups Projects
Forked from Mesa / mesa
59406 commits behind, 105 commits ahead of the upstream repository.
user avatar
Pierre-Eric Pelloux-Prayer authored
The existing code handled the case where the new definition of the
same field was larger than the old one.
This commit adds a check to handle the reverse case: the new def
is smaller than the old one (= so writing using the merged macro
would affect the next fields).

The affected fields are:
* LGKM_CNT (in SQ_WAVE_IB_STS)
* DONUT_SPLIT (in VGT_TESS_DISTRIBUTION)
* HEAD_QUEUE (in GDS_GWS_RESOURCE)

DONUT_SPLIT is the only one used by radeonsi/radv.

Fixes: e6184b08 ("amd/registers: scripts for processing register descriptions in JSON")
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <!12063>
(cherry picked from commit 3914bd45)
5b17ed97
History

Mesa - 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), but the recommended way is to use Meson (docs/meson.rst):

$ 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 OFTC's #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.

The next best option is to ask your question in an email to the mailing lists: mesa-dev@lists.freedesktop.org

Bug reports

If you think something isn't working properly, please file a bug report (docs/bugs.rst).

Contributing

Contributions are welcome, and step-by-step instructions can be found in our documentation (docs/submittingpatches.rst).

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