Skip to contentSkip to conversation

intel_gt(dev_id) function returns wrong gt size on some device IDs

Bug 109545 [email protected] 1 participant 3 messages Feb 4, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109545

Lionel Landwerlin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Lionel Landwerlin <[email protected]> --- 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 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel