https://bugs.freedesktop.org/show_bug.cgi?id=109545
Bug ID: 109545 Summary: intel_gt(dev_id) function returns wrong gt size on some device IDs Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: critical Priority: medium Component: IGT Assignee: dri-devel@lists.freedesktop.org Reporter: andrey.orlov@intel.com
I've built "perf" test tool from the intel_gpu_tools and started it on two systems:
SKL-GT4(0x193B):
root@nnt-sklnuc-andreyor:/msdk/intel-gpu-tools/installed_build/libexec/igt-gpu-tools# ./perf IGT-Version: 1.23-gcb6610f5 (x86_64) (Linux: 4.19.5 x86_64) Starting subtest: i915-ref-count init_sys_info function SKYLAKE intel_gt(devid) = 3 Subtest i915-ref-count: SUCCESS (0,083s)
CFL-GT2(0x3E91):
root@nnt-cfl03:/msdk/WORKER/exec_dir# ./perf IGT-Version: 1.23-gcb6610f5 (x86_64) (Linux: 4.19.5 x86_64) Starting subtest: i915-ref-count init_sys_info function COFFEELAKE intel_gt(devid) = 9 Test requirement not met in function test_i915_ref_count, file perf.c:4053: Test requirement: init_sys_info() Subtest i915-ref-count: SKIP (0.000s)
So, on CFL-GT2(device_id = 0x3E91): intel_gt(devid) = 9.