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
CMakeLists.txt
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
gmm_utils.cpp
page_table_mngr.cpp
page_table_mngr.h
page_table_mngr_impl.cpp
resource_info.cpp
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
resource_info_wddm.cpp fix(ocl): handle gl sharing displayable textures 2024-06-27 13:43:20 +02:00