amd/registers: clean up gfx103.json
because gfx103.json is automatically generated and can't be changed manually. This fixes the file generator without changing the generated header. Missing registers must be in registers-manually-defined.json, and missing fields must be in parse_kernel_headers.py. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10261>
This commit is contained in:
@@ -8218,12 +8218,6 @@
|
||||
"name": "GE_USER_VGPR_EN",
|
||||
"type_ref": "GE_USER_VGPR_EN"
|
||||
},
|
||||
{
|
||||
"chips": ["gfx103"],
|
||||
"map": {"at": 199052, "to": "mm"},
|
||||
"name": "GE_VRS_RATE",
|
||||
"type_ref": "GE_VRS_RATE"
|
||||
},
|
||||
{
|
||||
"chips": ["gfx103"],
|
||||
"map": {"at": 199168, "to": "mm"},
|
||||
@@ -14490,12 +14484,6 @@
|
||||
{"bits": [2, 2], "name": "EN_USER_VGPR3"}
|
||||
]
|
||||
},
|
||||
"GE_VRS_RATE": {
|
||||
"fields": [
|
||||
{"bits": [0, 1], "name": "RATE_X"},
|
||||
{"bits": [4, 5], "name": "RATE_Y"}
|
||||
]
|
||||
},
|
||||
"GRBM_GFX_INDEX": {
|
||||
"fields": [
|
||||
{"bits": [0, 7], "name": "INSTANCE_INDEX"},
|
||||
|
||||
@@ -629,6 +629,8 @@ fields_missing = {
|
||||
},
|
||||
'gfx103': {
|
||||
"DB_RESERVED_REG_2": [["RESOURCE_LEVEL", 28, 31, None, True]],
|
||||
"VGT_DRAW_PAYLOAD_CNTL": [["EN_VRS_RATE", 6, 6]],
|
||||
"VGT_SHADER_STAGES_EN": [["PRIMGEN_PASSTHRU_NO_MSG", 26, 26]],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,12 @@
|
||||
"map": {"at": 3668, "to": "mm"},
|
||||
"name": "SRBM_STATUS3",
|
||||
"type_ref": "SRBM_STATUS3"
|
||||
},
|
||||
{
|
||||
"chips": ["gfx103"],
|
||||
"map": {"at": 199052, "to": "mm"},
|
||||
"name": "GE_VRS_RATE",
|
||||
"type_ref": "GE_VRS_RATE"
|
||||
}
|
||||
],
|
||||
"register_types": {
|
||||
@@ -146,6 +152,12 @@
|
||||
{"bits": [14, 14], "name": "MCD6_BUSY"},
|
||||
{"bits": [15, 15], "name": "MCD7_BUSY"}
|
||||
]
|
||||
},
|
||||
"GE_VRS_RATE": {
|
||||
"fields": [
|
||||
{"bits": [0, 1], "name": "RATE_X"},
|
||||
{"bits": [4, 5], "name": "RATE_Y"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user