mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
sculpt_manager: avoid restarting intel_gpu
during resume, which otherwise will restart all GPU clients. Issue #5180
This commit is contained in:
parent
274a733e1a
commit
f925680035
@ -116,17 +116,19 @@ struct Sculpt::Fb_driver : private Noncopyable
|
||||
{
|
||||
bool const suspending = board_info.options.suspending;
|
||||
|
||||
bool const use_intel = board_info.detected.intel_gfx
|
||||
&& !board_info.options.suppress.intel_gpu
|
||||
&& !suspending;
|
||||
bool const use_boot_fb = !use_intel && !suspending && board_info.detected.boot_fb;
|
||||
bool const use_vesa = !use_boot_fb && !use_intel && !suspending && board_info.detected.vga;
|
||||
bool const use_intel_gpu = board_info.detected.intel_gfx &&
|
||||
!board_info.options.suppress.intel_gpu;
|
||||
bool const use_intel_fb = use_intel_gpu && !suspending;
|
||||
bool const use_boot_fb = !use_intel_fb && !suspending &&
|
||||
board_info.detected.boot_fb;
|
||||
bool const use_vesa = !use_intel_fb && !suspending &&
|
||||
board_info.detected.vga && !use_boot_fb;
|
||||
|
||||
_intel_gpu.conditional(use_intel,
|
||||
_intel_gpu.conditional(use_intel_gpu,
|
||||
registry, "intel_gpu", Priority::MULTIMEDIA,
|
||||
Ram_quota { 32*1024*1024 }, Cap_quota { 1400 });
|
||||
|
||||
_intel_fb.conditional(use_intel,
|
||||
_intel_fb.conditional(use_intel_fb,
|
||||
registry, "intel_fb", Priority::MULTIMEDIA,
|
||||
Ram_quota { 16*1024*1024 }, Cap_quota { 800 });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user