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:
Josef Söntgen 2022-06-09 10:52:59 +02:00 committed by Christian Helmuth
parent d9f6882a2a
commit 1010267dee

View File

@ -1516,7 +1516,7 @@ class Gpu::Session_component : public Genode::Session_object<Gpu::Session>
{ } { }
/* worst case */ /* 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 */ /* size + possible heap allocations */
bool avail_ram(size_t size = 0) { bool avail_ram(size_t size = 0) {