From: bugzilla-daemon@freedesktop.org Subject: [Bug 102497] Fatal error during GPU init when using an aarch64 board Date: Thu, 31 Aug 2017 20:10:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1111837697==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D6146E779 for ; Thu, 31 Aug 2017 20:10:29 +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 --===============1111837697== Content-Type: multipart/alternative; boundary="15042102290.5ecD.15621"; charset="UTF-8" --15042102290.5ecD.15621 Date: Thu, 31 Aug 2017 20:10:29 +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=3D102497 --- Comment #1 from Alex Deucher --- (In reply to Bernhard Rosenkraenzer from comment #0) >=20 > I presume the problem is caused by the (lack of) BIOS on aarch64 boards n= ot > initializing the GPU the same way an x86 box does. >=20 No, the driver is able to init the card regardless of whether the vbios has been posted or not. > This is on kernel 4.4.52 (latest kernel supported by the board; could try > pulling DRI patches from newer kernels if there's any hope of changes bei= ng > there already), libdrm 2.4.82 Here's the problem: > [Wed Jul 12 14:01:10 2017] [drm] Detected VRAM RAM=3D512M, BAR=3D0M There is no PCI BAR for frame buffer access. I'm guessing your pcie bridge = does not have a large enough aperture for the frame buffer BAR. It's generally 256MB. The driver can't work without access to vram. Please attach your full dmesg output. --=20 You are receiving this mail because: You are the assignee for the bug.= --15042102290.5ecD.15621 Date: Thu, 31 Aug 2017 20:10:29 +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 # 1 on bug 10249= 7 from Alex Deucher
(In reply to Bernhard Rosenkraenzer from comment #0)

>=20
> I presume the problem is caused by the (lack of) BIOS on aarch64 board=
s not
> initializing the GPU the same way an x86 box does.
> 

No, the driver is able to init the card regardless of whether the vbios has
been posted or not.

> This is on kernel 4.4.52 (latest kernel supporte=
d by the board; could try
> pulling DRI patches from newer kernels if there's any hope of changes =
being
> there already), libdrm 2.4.82

Here's the problem:

> [Wed Jul 12 14:01:10 2017] [drm] Detected VRAM R=
AM=3D512M, BAR=3D0M

There is no PCI BAR for frame buffer access. I'm guessing your pcie bridge =
does
not have a large enough aperture for the frame buffer BAR.  It's generally
256MB.

The driver can't work without access to vram.

Please attach your full dmesg output.


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