mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:41:26 +08:00
feature: Retrieve CXL type info from drm query
Related-To: NEO-11362 Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d2d8925cd3
commit
1cca55624b
@@ -153,6 +153,8 @@ bool IoctlHelperXe::initialize() {
|
||||
hwInfo->platform.usRevId = static_cast<int>((config->info[DRM_XE_QUERY_CONFIG_REV_AND_DEVICE_ID] >> 16) & 0xff);
|
||||
hwInfo->capabilityTable.gpuAddressSpace = (1ull << config->info[DRM_XE_QUERY_CONFIG_VA_BITS]) - 1;
|
||||
|
||||
hwInfo->capabilityTable.cxlType = getCxlType(config);
|
||||
|
||||
queryGtListData = queryData<uint64_t>(DRM_XE_DEVICE_QUERY_GT_LIST);
|
||||
|
||||
if (queryGtListData.empty()) {
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
struct drm_xe_engine_class_instance;
|
||||
struct drm_xe_query_gt_list;
|
||||
struct drm_xe_query_config;
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -154,6 +155,7 @@ class IoctlHelperXe : public IoctlHelper {
|
||||
void *freeDebugMetadata(void *metadata);
|
||||
int getRunaloneExtProperty();
|
||||
virtual bool isExtraEngineClassAllowed(uint16_t engineClass) const { return false; }
|
||||
virtual uint32_t getCxlType(struct drm_xe_query_config *config) { return 0u; }
|
||||
|
||||
struct UserFenceExtension {
|
||||
static constexpr uint32_t tagValue = 0x123987;
|
||||
|
||||
Reference in New Issue
Block a user