[PATCH v4 4/4] misc: fastrpc: add support for gdsp remoteproc
Konrad Dybcio
konrad.dybcio at oss.qualcomm.com
Fri Jun 27 12:24:31 UTC 2025
On 6/27/25 12:33 PM, Ling Xu wrote:
> The fastrpc driver has support for 5 types of remoteprocs. There are
> some products which support GDSP remoteprocs. GDSP is General Purpose
> DSP where tasks can be offloaded. This patch extends the driver to
> support GDSP remoteprocs.
>
> Signed-off-by: Ling Xu <quic_lxu5 at quicinc.com>
> ---
> drivers/misc/fastrpc.c | 5 ++++-
> include/uapi/misc/fastrpc.h | 3 ++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
> index cb9f4be286af..d3d9b9fdbf4c 100644
> --- a/drivers/misc/fastrpc.c
> +++ b/drivers/misc/fastrpc.c
> @@ -2245,6 +2245,8 @@ static int fastrpc_get_domain_id(const char *domain)
> return MDSP_DOMAIN_ID;
> else if (!strncmp(domain, "sdsp", 4))
> return SDSP_DOMAIN_ID;
> + else if (!strncmp(domain, "gdsp", 4))
> + return GDSP_DOMAIN_ID;
>
> return -EINVAL;
> }
> @@ -2319,13 +2321,14 @@ static int fastrpc_rpmsg_probe(struct rpmsg_device *rpdev)
> case ADSP_DOMAIN_ID:
> case MDSP_DOMAIN_ID:
> case SDSP_DOMAIN_ID:
> - /* Unsigned PD offloading is only supported on CDSP*/
> + /* Unsigned PD offloading is only supported on CDSP and GDSP*/
missing space ^
Konrad
More information about the dri-devel
mailing list