[Bug 106548] Failed GfxDrv_DriverAcceptanceQuery.GL_GPU_FREQ_OVERRIDE_MDAPI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 25 13:46:42 UTC 2018


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

--- Comment #10 from Francesco Balestrieri <francesco.balestrieri at intel.com> ---
Indeed, after some more investigation I found out that the test case uses (via
MDAPI) the root-only interface:

/sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_boost_freq_mhz
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_max_freq_mhz
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_min_freq_mhz 

to ask the kernel to maintain a static GPU frequency, and then reads it back to
check that it stays within a range of the requested value. The test fails
because the value it reads back is not what it requested (reproduced with
drm-tip). I still don't have dmesg output with debug logs enabled but I'l try
to get it next week.

For the records, this is what the test prints out once it is run as root:

[ RUN      ] GfxDrv_DriverAcceptanceQuery.GL_GPU_FREQ_OVERRIDE_MDAPI
AvgGpuCoreFrequencyMHz    =        947   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        948   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        948   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        947   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        948   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        947   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        948   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        947   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        947   ( expected in range [855, 950] )

AvgGpuCoreFrequencyMHz    =        797   ( expected in range [855, 950] ) =>
OUT OF RANGE!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180525/be2cef8a/attachment.html>


More information about the dri-devel mailing list