| Summary: | Fatal error during GPU init when using an aarch64 board | ||
|---|---|---|---|
| Product: | DRI | Reporter: | Bernhard Rosenkraenzer <bero> |
| Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> |
| Status: | RESOLVED MOVED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Bernhard Rosenkraenzer
2017-08-31 20:03:36 UTC
(In reply to Bernhard Rosenkraenzer from comment #0) > > I presume the problem is caused by the (lack of) BIOS on aarch64 boards 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 supported 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 RAM=512M, BAR=0M 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. U-BOOT initializes the PCIe controller with 16MB window - it's too small for GPUs. You have to compile the EDK EFI firmware. You don't have to flash it, you can copy flash-image.bin to sdcard starting at sector 4096 and use the switches on the board to select boot from sdcard. I've got GPU working this way, but opengl doesn't work because of glitches when writing to the framebuffer. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/815. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.