mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
gpu/intel: increase worst case CAP estimate
It may happen that 1 additional CAP is used during buffer allocation. Fixes #4525.
This commit is contained in:
committed by
Christian Helmuth
parent
d9f6882a2a
commit
1010267dee
@@ -1516,7 +1516,7 @@ class Gpu::Session_component : public Genode::Session_object<Gpu::Session>
|
||||
{ }
|
||||
|
||||
/* worst case */
|
||||
bool avail_caps() { return _cap_quota_guard.have_avail(Cap_quota { 4 }); }
|
||||
bool avail_caps() { return _cap_quota_guard.have_avail(Cap_quota { 5 }); }
|
||||
|
||||
/* size + possible heap allocations */
|
||||
bool avail_ram(size_t size = 0) {
|
||||
|
||||
Reference in New Issue
Block a user