mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
drivers/gpu/intel: reflect insuff. quota to client
This patch prevents the driver from translating Insufficient_ram_quota and Insufficient_cap_quota exceptions to Service_denied exceptions at session-creation time. This enables the client to respond to such a condition by retrying the session creation with increased session quota.
This commit is contained in:
committed by
Christian Helmuth
parent
97e2968986
commit
4871c7bba0
@@ -1733,7 +1733,7 @@ class Gpu::Root : public Gpu::Root_component
|
||||
session_diag_from_args(args),
|
||||
_env.rm(), *md_alloc(), ram_quota,
|
||||
*_device);
|
||||
} catch (...) { throw Genode::Service_denied(); }
|
||||
} catch (...) { throw; }
|
||||
}
|
||||
|
||||
void _upgrade_session(Session_component *s, char const *args) override
|
||||
|
||||
Reference in New Issue
Block a user