intel: Set mem_alignment in Xe kmd
Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21972>
This commit is contained in:

committed by
Marge Bot

parent
bfc1782ad6
commit
7dc8474c3b
@@ -70,6 +70,7 @@ xe_query_config(int fd, struct intel_device_info *devinfo)
|
||||
|
||||
devinfo->revision = (config->info[XE_QUERY_CONFIG_REV_AND_DEVICE_ID] >> 16) & 0xFFFF;
|
||||
devinfo->gtt_size = 1ull << config->info[XE_QUERY_CONFIG_VA_BITS];
|
||||
devinfo->mem_alignment = config->info[XE_QUERY_CONFIG_MIN_ALIGNEMENT];
|
||||
|
||||
free(config);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user