mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-02 17:11:49 +00: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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user