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>
|
</route>
|
||||||
</start>
|
</start>
|
||||||
|
|
||||||
<start name="platform_drv" caps="300">
|
<start name="platform_drv" caps="1000">
|
||||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
<resource name="RAM" quantum="4M" constrain_phys="yes"/>
|
||||||
<provides>
|
<provides>
|
||||||
<service name="Platform"/>
|
<service name="Platform"/>
|
||||||
<service name="Acpi"/>
|
<service name="Acpi"/>
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
</start>
|
</start>
|
||||||
|
|
||||||
<start name="usb_drv" caps="100" priority="-1">
|
<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>
|
<provides> <service name="Input"/> <service name="Usb"/> </provides>
|
||||||
<route>
|
<route>
|
||||||
<service name="Platform"> <child name="platform_drv"/> </service>
|
<service name="Platform"> <child name="platform_drv"/> </service>
|
||||||
|
|
|
@ -124,7 +124,7 @@ struct Driver_manager::Intel_fb_driver : Device_driver
|
||||||
{
|
{
|
||||||
xml.node("start", [&] () {
|
xml.node("start", [&] () {
|
||||||
_gen_common_start_node_content(xml, "intel_fb_drv", "intel_fb_drv",
|
_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});
|
Priority{0});
|
||||||
_gen_provides_node<Framebuffer::Session>(xml);
|
_gen_provides_node<Framebuffer::Session>(xml);
|
||||||
xml.node("route", [&] () {
|
xml.node("route", [&] () {
|
||||||
|
|
Loading…
Reference in New Issue