On attempting to load the radeon driver with an AGP card (any radeon chipset) and no valid AGP bridge driver, radeon_agp_init produces a Kernel Oops (Unable to handle kernel NULL pointer dereference) upon attempting to determine if the bridge is required.
This will prevent boot in a misconfigured system that loads the driver early (ie. in initramfs or built into the kernel).
Trace is attached.
Created attachment 30432 [details] [review]
Patch to fall back to PCI mode when AGP bridge is not available
- Proposed solution is to fall back to PCI(E) mode early on if the AGP bridge entry is NULL.
Created attachment 30433 [details]
dmesg trace of kernel oops
-- 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/81.