crocus: fix GFX_VERx10 macro

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25011>
(cherry picked from commit 99a88ca4a2)
This commit is contained in:
Rohan Garg 2023-09-01 13:48:20 +02:00 committed by Dylan Baker
parent e7e224b49c
commit cc191d96f6
2 changed files with 2 additions and 2 deletions

View file

@ -8354,7 +8354,7 @@
"description": "crocus: fix GFX_VERx10 macro",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -1173,7 +1173,7 @@ setup_l3_config(struct crocus_batch *batch, const struct intel_l3_config *cfg)
crocus_emit_lri(batch, L3CNTLREG2, l3cr2);
crocus_emit_lri(batch, L3CNTLREG3, l3cr3);
#if GFX_VERSIONx10 == 75
#if GFX_VERx10 == 75
/* TODO: Fail screen creation if command parser version < 4 */
uint32_t scratch1, chicken3;
crocus_pack_state(GENX(SCRATCH1), &scratch1, reg) {