lkml.org 
[lkml]   [2020]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] misc: fastrpc: add ioctl for attaching to sensors pd
From
Date
On 9/7/20 8:36 AM, Srinivas Kandagatla wrote:
>
>
> On 01/09/2020 01:32, Jonathan Marek wrote:
>> -#define FASTRPC_IOCTL_MMAP              _IOWR('R', 6, struct
>> fastrpc_req_mmap)
>> -#define FASTRPC_IOCTL_MUNMAP            _IOWR('R', 7, struct
>> fastrpc_req_munmap)
>> +#define FASTRPC_IOCTL_MMAP        _IOWR('R', 6, struct fastrpc_req_mmap)
>> +#define FASTRPC_IOCTL_MUNMAP        _IOWR('R', 7, struct
>> fastrpc_req_munmap)
>
> Looks like changes that do not belong to this patch!
>
> I wanted to try this patch on SM8250.
> How do you test attaching fastrpc to sensor core?, I mean which
> userspace lib/tool do you use?
>
> --srini
>

I pushed my sdsprpcd implementation to github, which is responsible for
initializing the sensors, and uses this ioctl:

https://github.com/flto/fastrpc

Note: it uses my own WIP fastrpc "library" instead of the one from
linaro, I also have other related code, like a sensor client, and
cDSP/aDSP compute examples, but need to confirm that I can share them

Also, the corresponding dts patch I sent has a problem, the label =
"dsps"; should be label = "sdsp"; (copied the "dsps" from downstream,
but upstream expects "sdsp"), will send a v2 later today.

>> +#define FASTRPC_IOCTL_INIT_ATTACH_SNS    _IO('R', 8)

\
 
 \ /
  Last update: 2020-09-07 19:20    [W:0.060 / U:3.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site