From: bugzilla-daemon@freedesktop.org Subject: [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! Date: Mon, 01 Apr 2019 16:14:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1481623327==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6CE466E25C for ; Mon, 1 Apr 2019 16:14:52 +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 --===============1481623327== Content-Type: multipart/alternative; boundary="15541352920.bd5aF5B.2292" Content-Transfer-Encoding: 7bit --15541352920.bd5aF5B.2292 Date: Mon, 1 Apr 2019 16:14:52 +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 #49 from Alex Deucher --- (In reply to Dimitar Atanasov from comment #48) > May be problem is the CPU, because it has only 16 PCIe lains, so 8 for ve= ga > M, > 4 for NVME, and 4 for others, I have seen that card reader is also connec= ted > on PCIe. It's the MMIO space in the CPU's address space. The CPU (by way of the sbi= os) defines a window of address space that is used for device MMIO. By default most platforms put a relatively small MMIO windows below 4GB for 32 bit OS compatibility. Having a small MMIO windows limits the amount of space for devices and if there is not enough space some device resources can't be map= ped which is what causes the problem. There is often a feature in the sbios co= nfig called ">4GB MMIO" or similar which enables a bigger MMIO windows. Some sbioses also enable it dynamically depending on what OS is booted or condit= ions in the system at boot time (legacy vs UEFI boot). IIRC, it's a requirement= for windows 10, so there is probably something about the windows 10 OEM install which causes it to boot with a larger MMIO window set up. --=20 You are receiving this mail because: You are the assignee for the bug.= --15541352920.bd5aF5B.2292 Date: Mon, 1 Apr 2019 16:14:52 +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 # 49 on bug 10852= 1 from Alex Deucher
(In reply to Dimitar Atanasov from comment #48)
> May be problem is the CPU, because it has only 1=
6 PCIe lains, so 8 for vega
> M,
> 4 for NVME, and 4 for others, I have seen that card reader is also con=
nected
> on PCIe.

It's the MMIO space in the CPU's address space.  The CPU (by way of the sbi=
os)
defines a window of address space that is used for device MMIO.  By default
most platforms put a relatively small MMIO windows below 4GB for 32 bit OS
compatibility.  Having a small MMIO windows limits the amount of space for
devices and if there is not enough space some device resources can't be map=
ped
which is what causes the problem.  There is often a feature in the sbios co=
nfig
called ">4GB MMIO" or similar which enables a bigger MMIO wind=
ows.  Some
sbioses also enable it dynamically depending on what OS is booted or condit=
ions
in the system at boot time (legacy vs UEFI boot).  IIRC, it's a requirement=
 for
windows 10, so there is probably something about the windows 10 OEM install
which causes it to boot with a larger MMIO window set up.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15541352920.bd5aF5B.2292-- --===============1481623327== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1481623327==--