From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103370] `vblank_mode=0 DRI_PRIME=1 glxgears` will introduce GPU lock up on Intel Graphics [8086:5917] + AMD Graphics [1002:6665] (rev c3) Date: Thu, 15 Mar 2018 06:45:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1206017185==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E7396E3C4 for ; Thu, 15 Mar 2018 06:45:55 +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 --===============1206017185== Content-Type: multipart/alternative; boundary="15210963553.acB1.26058" Content-Transfer-Encoding: 7bit --15210963553.acB1.26058 Date: Thu, 15 Mar 2018 06:45:55 +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=3D103370 Shih-Yuan Lee changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #46 from Shih-Yuan Lee --- The Linux kernel of Comment 45 is 4.15.0-10.11 from Ubuntu 18.04. When I tried a later version 4.15.0-12.13, I can not reduplicate this issue= on Ubuntu 18.04. 4.15.0-12.13 contains the following commit. commit 239b5f64e12b1f09f506c164dff0374924782979 Author: Alex Deucher Date: Tue Nov 21 12:09:38 2017 -0500 drm/radeon: Add dpm quirk for Jet PRO (v2) Fixes stability issues. v2: clamp sclk to 600 Mhz Bug: https://bugs.freedesktop.org/show_bug.cgi?id=3D103370 Acked-by: Christian K=C3=B6nig Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dp= m.c index ee3e742..97a0a63 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -2984,6 +2984,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev, (rdev->pdev->device =3D=3D 0x6667)) { max_sclk =3D 75000; } + if ((rdev->pdev->revision =3D=3D 0xC3) || + (rdev->pdev->device =3D=3D 0x6665)) { + max_sclk =3D 60000; + max_mclk =3D 80000; + } } else if (rdev->family =3D=3D CHIP_OLAND) { if ((rdev->pdev->revision =3D=3D 0xC7) || (rdev->pdev->revision =3D=3D 0x80) || --=20 You are receiving this mail because: You are the assignee for the bug.= --15210963553.acB1.26058 Date: Thu, 15 Mar 2018 06:45:55 +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 Shih-Yuan Lee changed bug 10337= 0
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED

Comme= nt # 46 on bug 10337= 0 from Shih-Yuan Lee
The Linux kernel of C=
omment 45 is 4.15.0-10.11 from Ubuntu 18.04.
When I tried a later version 4.15.0-12.13, I can not reduplicate this issue=
 on
Ubuntu 18.04.
4.15.0-12.13 contains the following commit.

commit 239b5f64e12b1f09f506c164dff0374924782979
Author: Alex Deucher <a=
lexander.deucher@amd.com>
Date:   Tue Nov 21 12:09:38 2017 -0500

    drm/radeon: Add dpm quirk for Jet PRO (v2)

    Fixes stability issues.

    v2: clamp sclk to 600 Mhz

    Bug: https://bugs.freedesktop.org/show_bug.=
cgi?id=3D103370
    Acked-by: Christian K=C3=B6nig <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kerne=
l.org

diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dp=
m.c
index ee3e742..97a0a63 100644
--- a/drivers/gpu/drm/radeon/si_dpm.c
+++ b/drivers/gpu/drm/radeon/si_dpm.c
@@ -2984,6 +2984,11 @@ static void si_apply_state_adjust_ru=
les(struct
radeon_device *rdev,
                    (rdev->pdev->device =3D=3D 0x6667)) {
                        max_sclk =3D 75000;
                }
+               if ((rdev->pdev->revision =3D=3D 0xC3) ||
+                   (rdev->pdev->device =3D=3D 0x6665)) {
+                       max_sclk =3D 60000;
+                       max_mclk =3D 80000;
+               }
        } else if (rdev->family =3D=3D CHIP_OLAND) {
                if ((rdev->pdev->revision =3D=3D 0xC7) ||
                    (rdev->pdev->revision =3D=3D 0x80) ||


You are receiving this mail because:
  • You are the assignee for the bug.
= --15210963553.acB1.26058-- --===============1206017185== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1206017185==--