sof icon indicating copy to clipboard operation
sof copied to clipboard

Update logic for sharing buffers and components

Open ranj063 opened this issue 3 years ago • 4 comments

If a comp is not shared, it is not necessary to invalidate/writeback at all.

Signed-off-by: Ranjani Sridharan [email protected]

ranj063 avatar Sep 15 '21 16:09 ranj063

what about connected pipelines? A typical example is a "host pipeline" connected to a "DAI pipeline" over a mixer. Additionally, there can be a further "host pipeline," connected to the same mixer. Would we catch all cases when one of those pipelines contains a component, run on a different core?

Ack, so it sounds like we need a utility function like

int comp_is_shared()
{
   /* comp is shared if source or sink component/pipeline is on a different core */
}

lgirdwood avatar Sep 20 '21 11:09 lgirdwood

Can one of the admins verify this patch?

sys-pt1s avatar Apr 20 '22 06:04 sys-pt1s

@ranj063 @lyakh Ok to close? This has been open as non-draft for more than a year...

kv2019i avatar Oct 13 '22 09:10 kv2019i

@ranj063 @lyakh Ok to close? This has been open as non-draft for more than a year...

@kv2019i I think it can be closed, yes, but let's wait for what @ranj063 says

lyakh avatar Oct 14 '22 08:10 lyakh

No activity in a long time, converting as draft.

kv2019i avatar Dec 16 '22 11:12 kv2019i

Stale PR,closing

kv2019i avatar Mar 04 '24 13:03 kv2019i