From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106548] Failed
GfxDrv_DriverAcceptanceQuery.GL_GPU_FREQ_OVERRIDE_MDAPI
Date: Fri, 25 May 2018 13:46:42 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1523735223=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 91B356E1FA
for ; Fri, 25 May 2018 13:46:42 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1523735223==
Content-Type: multipart/alternative; boundary="15272560021.b4F80.386"
Content-Transfer-Encoding: 7bit
--15272560021.b4F80.386
Date: Fri, 25 May 2018 13:46:42 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106548
--- Comment #10 from Francesco Balestrieri ---
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=20
to ask the kernel to maintain a static GPU frequency, and then reads it bac=
k 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 t=
ry
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 =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 797 ( expected in range [855, 950] )=
=3D>
OUT OF RANGE!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15272560021.b4F80.386
Date: Fri, 25 May 2018 13:46:42 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comme=
nt # 10
on bug 10654=
8
from Francesco Balestr=
ieri
Indeed, after some more investigation I found out that the tes=
t 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=20
to ask the kernel to maintain a static GPU frequency, and then reads it bac=
k 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 t=
ry
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 =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 948 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 947 ( expected in range [855, 950] )
AvgGpuCoreFrequencyMHz =3D 797 ( expected in range [855, 950] )=
=3D>
OUT OF RANGE!
You are receiving this mail because:
- You are the assignee for the bug.
=
--15272560021.b4F80.386--
--===============1523735223==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1523735223==--