mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00: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:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user