[PATCH v2 0/2] NVKM GSP RPC message handling policy

Zhi Wang zhiw at nvidia.com
Tue Feb 25 22:53:50 UTC 2025


Hi folks:

Here are the v2 version of NVKM GSP RPC message handling policy which
solves the issue reported by Ben. More details can be found in v1 [1].

v2:

- Add Fixes: tag. (Danilo)
- Merge some patches into one. (Danilo, Alex)
- Implement the policy type as an explicit enum type to leverage the
  compiler check. (Alex)
- Introduce the NVKM_GSP_RPC_NOWAIT for "caller don't care" policy.
  (Alex)
- Introduce the kernel doc at the same time with the changes. (Alex)

Zhi Wang (2):
  drm/nouveau/nvkm: factor out current GSP RPC command policies
  drm/nouveau/nvkm: introduce new GSP reply policy
    NVKM_GSP_RPC_REPLY_POLL

 Documentation/gpu/nouveau.rst                 |  3 +
 .../gpu/drm/nouveau/include/nvkm/subdev/gsp.h | 38 +++++++--
 .../gpu/drm/nouveau/nvkm/subdev/bar/r535.c    |  2 +-
 .../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c    | 79 ++++++++++---------
 .../drm/nouveau/nvkm/subdev/instmem/r535.c    |  2 +-
 5 files changed, 79 insertions(+), 45 deletions(-)

-- 
2.43.5



More information about the Nouveau mailing list