compute-runtime/shared/source/gmm_helper
Mateusz Jablonski 54bda0e986 fix: In Linux CL/GL sharing
- always issue flush request before export

Apparently it's expected to flush the object (which might convert them
from one format to another for export, or remove aux buffer uses or
anything not supported by export).

- use modifier to select tiling mode

Previously we just assumed that whatever tiling mode was picked by mesa
will match the one picked by GMMLIB but that's not always the case
and in particular on Arc and Xe it doesn't work ... Mesa picks Tile4
and GMMLIB picks Tile64 ...

Fixes: #761
Fixes: #736

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-06 21:40:18 +02:00
..
client_context fix: disable passing FtrTile64Optimization to gmmlib 2024-03-15 17:42:53 +01:00
windows Cleanup includes 52 2023-02-13 11:39:34 +01:00
CMakeLists.txt fix: Use Gmm to map virtual gpu addresses 2023-05-25 15:49:05 +02:00
cache_settings_helper.cpp performance: Optimize heap handling when mitigate dc flush 2024-09-06 04:33:41 +02:00
cache_settings_helper.h fix: Defer MOCS to PAT 2024-05-27 10:26:26 +02:00
gmm.cpp fix: In Linux CL/GL sharing 2024-09-06 21:40:18 +02:00
gmm.h Revert "fix: set properly resource params when setAllocationType" 2024-08-24 05:01:38 +02:00
gmm_helper.cpp fix: Defer MOCS to PAT 2024-05-27 10:26:26 +02:00
gmm_helper.h fix: Defer MOCS to PAT 2024-05-27 10:26:26 +02:00
gmm_interface.h
gmm_lib.h fix: fix compilation error in clang on Windows (2/n) 2023-10-24 15:59:06 +02:00
gmm_utils.cpp Cleanup includes 2/n 2022-07-27 12:01:36 +02:00
page_table_mngr.cpp Copyright header update 2021-05-17 20:38:19 +02:00
page_table_mngr.h Cleanup includes 57 2023-02-17 11:19:59 +01:00
page_table_mngr_impl.cpp Move PageTableManager from rootDeviceEnvironment to CommandStreamReceiver 2021-09-30 12:59:11 +02:00
resource_info.cpp fix: ensure resource info is created properly 2023-05-05 13:08:34 +02:00
resource_info.h fix(ocl): handle gl sharing displayable textures 2024-06-27 13:43:20 +02:00
resource_info_drm.cpp fix(ocl): handle gl sharing displayable textures 2024-06-27 13:43:20 +02:00
resource_info_drm_or_wddm.cpp fix(ocl): handle gl sharing displayable textures 2024-06-27 13:43:20 +02:00
resource_info_impl.cpp Refactor: pass root device environment to gmm client context 2022-11-28 13:26:29 +01:00
resource_info_wddm.cpp fix(ocl): handle gl sharing displayable textures 2024-06-27 13:43:20 +02:00