Author :
jsg
Date :
2019-11-26 02:20:50
Hash :a317344c 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@