mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
gpu/intel: report all devices via next_device
The former implementation relied on the behaviour of how the old intel fb driver requested the pci devices. The new lxkit however actually really want to have all available pci devices. Issue #4450
This commit is contained in:
parent
2548830140
commit
7813fca946
@ -266,9 +266,15 @@ class Platform::Session_component : public Rpc_object<Session>
|
||||
Device_capability next_device(Device_capability prev_device,
|
||||
unsigned, unsigned) override
|
||||
{
|
||||
if (!prev_device.valid())
|
||||
return _bridge;
|
||||
|
||||
if (prev_device == _bridge)
|
||||
return _device_component.cap();
|
||||
|
||||
if (prev_device == _device_component.cap())
|
||||
return _resources.isa_bridge_cap();
|
||||
|
||||
return Device_capability();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user