mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
sculpt_manager: allow decoupling fb from first cpu
This commit allows for expressing the intent to start the fb driver on a different CPU. Issue #5378.
This commit is contained in:
parent
f72fdf77ed
commit
fe008e0884
@ -210,6 +210,8 @@ struct Sculpt::Main : Input_event_handler,
|
|||||||
.mmc = false,
|
.mmc = false,
|
||||||
.modem = false, /* depends on presence of battery */
|
.modem = false, /* depends on presence of battery */
|
||||||
.nic = false,
|
.nic = false,
|
||||||
|
|
||||||
|
.fb_on_dedicated_cpu = false
|
||||||
};
|
};
|
||||||
|
|
||||||
Drivers _drivers { _env, _child_states, *this, *this };
|
Drivers _drivers { _env, _child_states, *this, *this };
|
||||||
|
@ -301,6 +301,8 @@ struct Sculpt::Main : Input_event_handler,
|
|||||||
.mmc = _mnt_reform || _mnt_pocket,
|
.mmc = _mnt_reform || _mnt_pocket,
|
||||||
.modem = false,
|
.modem = false,
|
||||||
.nic = _mnt_reform || _mnt_pocket,
|
.nic = _mnt_reform || _mnt_pocket,
|
||||||
|
|
||||||
|
.fb_on_dedicated_cpu = false
|
||||||
};
|
};
|
||||||
|
|
||||||
Drivers _drivers { _env, _child_states, *this, *this };
|
Drivers _drivers { _env, _child_states, *this, *this };
|
||||||
|
@ -95,11 +95,14 @@ struct Sculpt::Board_info
|
|||||||
{
|
{
|
||||||
bool fb, touch, wifi, usb, mmc, modem, nic;
|
bool fb, touch, wifi, usb, mmc, modem, nic;
|
||||||
|
|
||||||
|
bool fb_on_dedicated_cpu;
|
||||||
|
|
||||||
bool operator != (Soc const &other) const
|
bool operator != (Soc const &other) const
|
||||||
{
|
{
|
||||||
return (fb != other.fb) || (touch != other.touch)
|
return (fb != other.fb) || (touch != other.touch)
|
||||||
|| (wifi != other.wifi) || (usb != other.usb)
|
|| (wifi != other.wifi) || (usb != other.usb)
|
||||||
|| (mmc != other.mmc) || (modem != other.modem);
|
|| (mmc != other.mmc) || (modem != other.modem)
|
||||||
|
|| (fb_on_dedicated_cpu != other.fb_on_dedicated_cpu);
|
||||||
}
|
}
|
||||||
} soc;
|
} soc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user