From 057493cefbe477cdfdde9f1790d094b101c72c2c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 17 Jan 2024 10:25:29 -0800 Subject: [PATCH] intel/compiler: Track lower_dpas flag in brw_get_compiler_config_value This user-settable flag affects compiler output, so it should be tracked in the cache hash. Fixes: 3756f605586 ("intel/fs: DPAS lowering") Reviewed-by: Lionel Landwerlin Suggested-by: Lionel Landwerlin Part-of: (cherry picked from commit 6f237a23c771e3dc74adc1cc0ab5cbc3e3b03be8) --- .pick_status.json | 2 +- src/intel/compiler/brw_compiler.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 4112765015b..14f0096a4ae 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1254,7 +1254,7 @@ "description": "intel/compiler: Track lower_dpas flag in brw_get_compiler_config_value", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "3756f605586fb2dcf53d892606152ecc5ce1ad1d", "notes": null diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c index 9c9b221d17e..4122afcccf5 100644 --- a/src/intel/compiler/brw_compiler.c +++ b/src/intel/compiler/brw_compiler.c @@ -249,6 +249,8 @@ brw_get_compiler_config_value(const struct brw_compiler *compiler) insert_u64_bit(&config, compiler->precise_trig); bits++; + insert_u64_bit(&config, compiler->lower_dpas); + bits++; uint64_t mask = DEBUG_DISK_CACHE_MASK; bits += util_bitcount64(mask);