CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/11/25 19:20:50
Modified files:
sys/arch/amd64/amd64: efifb.c
Log message:
When deciding if a pci device is 'primary' test if the efi fb memory
range is contained in a pci bar instead of only testing if the start
address of the efi fb is non zero.
Corrects a problem reported by Brennan Vincent on a Dell XPS 9575 with
amdgpu and inteldrm booted via efi. amdgpu would wrongly decide it was
primary on probe and as a result when encountering an unrelated error
efifb would reattach when amdgpu detached. When inteldrm would latter
attach an assert would trigger as efifb had already claimed the console.
ok kettenis@