Re: [PATCH 1/2] gpu: nova-core: gsp: cmdq: let GMC commands set their completion timeout
From: Eliot Courtney
Date: Tue Nov 17 2026 - 23:38:53 EST
On Tue Nov 17, 2026 at 12:06 AM JST, Alexandre Courbot wrote:
> Every wait on the message queue uses `Cmdq::RECEIVE_TIMEOUT`, but some
> GMC commands (notably r000's GSP_INIT, and a few vGPU commands) might
> take longer to complete.
>
> Make the timeout a parameter of `await_msg_with`, and take it from a new
> `CommandToGsp::COMPLETION_TIMEOUT` associated constant when waiting for
> the reply to a GMC command. The constant defaults to
> `Cmdq::RECEIVE_TIMEOUT`, so existing commands are unaffected.
>
> No functional change intended.
>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> ---
Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>