amd/registers: add correct gfx11.x enums for BINNING_MODE

Fixes: ced3fbbcf9 - amd/registers: add gfx11.json

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27943>
(cherry picked from commit 62d360c287)
This commit is contained in:
Marek Olšák 2024-02-26 21:06:30 -05:00 committed by Eric Engestrom
parent 7f56248fa7
commit 724b1c197d
4 changed files with 28 additions and 6 deletions

View file

@ -1604,7 +1604,7 @@
"description": "amd/registers: add correct gfx11.x enums for BINNING_MODE",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "ced3fbbcf9354789b7aff0b99fb8df1b4f67110f",
"notes": null

View file

@ -20,8 +20,8 @@
"entries": [
{"name": "BINNING_ALLOWED", "value": 0},
{"name": "FORCE_BINNING_ON", "value": 1},
{"name": "DISABLE_BINNING_USE_NEW_SC", "value": 2},
{"name": "DISABLE_BINNING_USE_LEGACY_SC", "value": 3}
{"name": "BINNING_ONE_PRIM_PER_BATCH", "value": 2},
{"name": "BINNING_DISABLED", "value": 3}
]
},
"BlendOp": {

View file

@ -20,8 +20,7 @@
"entries": [
{"name": "BINNING_ALLOWED", "value": 0},
{"name": "FORCE_BINNING_ON", "value": 1},
{"name": "DISABLE_BINNING_USE_NEW_SC", "value": 2},
{"name": "DISABLE_BINNING_USE_LEGACY_SC", "value": 3}
{"name": "BINNING_DISABLED", "value": 3}
]
},
"BlendOp": {

View file

@ -444,6 +444,23 @@ VRSHtileEncoding = {
]
}
BinningModeGfx11 = {
"entries": [
{"name": "BINNING_ALLOWED", "value": 0},
{"name": "FORCE_BINNING_ON", "value": 1},
{"name": "BINNING_ONE_PRIM_PER_BATCH", "value": 2},
{"name": "BINNING_DISABLED", "value": 3}
]
}
BinningModeGfx115Plus = {
"entries": [
{"name": "BINNING_ALLOWED", "value": 0},
{"name": "FORCE_BINNING_ON", "value": 1},
{"name": "BINNING_DISABLED", "value": 3}
]
}
missing_enums_all = {
'FLOAT_MODE': {
"entries": [
@ -669,6 +686,11 @@ missing_enums_gfx11plus = {
},
}
missing_enums_gfx115plus = {
**missing_enums_gfx11plus,
"BinningMode": BinningModeGfx115Plus,
}
enums_missing = {
'gfx6': {
**missing_enums_all,
@ -704,9 +726,10 @@ enums_missing = {
},
'gfx11': {
**missing_enums_gfx11plus,
"BinningMode": BinningModeGfx11,
},
'gfx115': {
**missing_enums_gfx11plus,
**missing_enums_gfx115plus,
},
}