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>
This commit is contained in:
Marek Olšák 2024-02-26 21:06:30 -05:00 committed by Marge Bot
parent 74c28b93c8
commit 62d360c287
3 changed files with 27 additions and 5 deletions

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,
},
}