Bug 109545 - intel_gt(dev_id) function returns wrong gt size on some device IDs
Summary: intel_gt(dev_id) function returns wrong gt size on some device IDs
Status: RESOLVED DUPLICATE of bug 101740
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) All
: high critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-04 13:55 UTC by andrey.orlov
Modified: 2019-02-04 14:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description andrey.orlov 2019-02-04 13:55:41 UTC
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.
Comment 1 Lionel Landwerlin 2019-02-04 14:15:32 UTC
There is proposed fix for this issue, feel free to pick it up and revive the discussion on the mailing list.

*** This bug has been marked as a duplicate of bug 101740 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.