created | 2020-01-29T00:03:09Z |
---|---|
begin | 2019-11-26T00:36:32Z |
end | 2019-11-26T02:20:50Z |
path | src/sys |
commits | 1 |
date | 2019-11-26T02:20:50Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/amd64/amd64/efifb.c | log | diff | annotate |
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@ |