From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! Date: Wed, 24 Oct 2018 06:24:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1056175412==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A547B6E229 for ; Wed, 24 Oct 2018 06:24:44 +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 --===============1056175412== Content-Type: multipart/alternative; boundary="15403622840.1fbBe2B.31640" Content-Transfer-Encoding: 7bit --15403622840.1fbBe2B.31640 Date: Wed, 24 Oct 2018 06:24:44 +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=3D108521 --- Comment #4 from Robert Strube --- I decided to apply a hack to 4.19 and see if I could get the eGPU to initialize. I noticed that this code in /drivers/gpu/drm/amd/amdgpu/atom.c if ((jiffies_to_msecs(cjiffies) > 5000)) { DRM_ERROR("atombios stuck in loop for more than 5secs aborting\n"); ctx->abort =3D true; } is where the error is being thrown, so I thought I would try giving the eGPU more time. I increased the 5000 value to 15000, recompiled the kernel, and tried to attach the eGPU. Unfortunately I received the same error, but this time after 15 seconds of trying to initialize the GPU. Should I increase t= he time even more? I'm not sure if the issue is actually related to not having enough time, or= if it's something else entirely. I'll bump it up to 30 seconds in a final last ditch attempt. --=20 You are receiving this mail because: You are the assignee for the bug.= --15403622840.1fbBe2B.31640 Date: Wed, 24 Oct 2018 06:24:44 +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

Commen= t # 4 on bug 10852= 1 from Robert Strube
I decided to apply a hack to 4.19 and see if I could get the e=
GPU to
initialize.  I noticed that this code in /drivers/gpu/drm/amd/amdgpu/atom.c

if ((jiffies_to_msecs(cjiffies) > 5000)) {
        DRM_ERROR("atombios stuck in loop for more than 5secs aborting=
\n");
        ctx->abort =3D true;
}

is where the error is being thrown, so I thought I would try giving the eGPU
more time.  I increased the 5000 value to 15000, recompiled the kernel, and
tried to attach the eGPU.  Unfortunately I received the same error, but this
time after 15 seconds of trying to initialize the GPU.  Should I increase t=
he
time even more?

I'm not sure if the issue is actually related to not having enough time, or=
 if
it's something else entirely.

I'll bump it up to 30 seconds in a final last ditch attempt.


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