diff options
author | Francisco Jerez <currojerez@riseup.net> | 2023-10-17 18:06:34 -0700 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2023-10-27 14:48:29 -0700 |
commit | 694d64188bae3634ea1162773679035874285392 (patch) | |
tree | 50554fc6d23d6be4517265a229e159eff0db224e /src/intel/vulkan/anv_blorp.c | |
parent | da28582eec47c029e5251c437c84f6023a81777e (diff) |
intel/xehp+: Define driconf option for selectively disabling TBIMR.
This may help debugging performance problems in the possible case that
TBIMR negatively impacts the performance of some application. It could
also allow applying application-specific band-aid fixes in the XML file
until a more general workaround is implemented.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25493>
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index 796eb8c484d..e0498c698ff 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -99,6 +99,7 @@ anv_device_init_blorp(struct anv_device *device) device->blorp.compiler = device->physical->compiler; device->blorp.lookup_shader = lookup_blorp_shader; device->blorp.upload_shader = upload_blorp_shader; + device->blorp.enable_tbimr = device->physical->instance->enable_tbimr; device->blorp.exec = anv_genX(device->info, blorp_exec); } |