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:
Norman Feske 2019-09-27 08:50:07 +02:00 committed by Christian Helmuth
parent 97e2968986
commit 4871c7bba0
1 changed files with 1 additions and 1 deletions

View File

@ -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