mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
driver manager: increase RAM quota for usb_drv
Without this patch, usb_drv would issue a resource request when assigning a USB device to a VM in the sculpt scenario. Furthermore, the patch adjusts the intel_fb quota to enable it on devices where the driver allocates the framebuffer in many 4K pieces.
This commit is contained in:
parent
bc6f523c8d
commit
2b632760b6
@ -104,8 +104,8 @@
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="platform_drv" caps="300">
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<start name="platform_drv" caps="1000">
|
||||
<resource name="RAM" quantum="4M" constrain_phys="yes"/>
|
||||
<provides>
|
||||
<service name="Platform"/>
|
||||
<service name="Acpi"/>
|
||||
@ -140,7 +140,7 @@
|
||||
</start>
|
||||
|
||||
<start name="usb_drv" caps="100" priority="-1">
|
||||
<resource name="RAM" quantum="14M"/>
|
||||
<resource name="RAM" quantum="16M"/>
|
||||
<provides> <service name="Input"/> <service name="Usb"/> </provides>
|
||||
<route>
|
||||
<service name="Platform"> <child name="platform_drv"/> </service>
|
||||
|
@ -124,7 +124,7 @@ struct Driver_manager::Intel_fb_driver : Device_driver
|
||||
{
|
||||
xml.node("start", [&] () {
|
||||
_gen_common_start_node_content(xml, "intel_fb_drv", "intel_fb_drv",
|
||||
Ram_quota{20*1024*1024}, Cap_quota{100},
|
||||
Ram_quota{20*1024*1024}, Cap_quota{200},
|
||||
Priority{0});
|
||||
_gen_provides_node<Framebuffer::Session>(xml);
|
||||
xml.node("route", [&] () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user