Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer: refine write-back and invalidate logic for produce/consume #87

Merged
merged 1 commit into from
Jul 12, 2018

Commits on Jul 12, 2018

  1. buffer: refine write-back and invalidate logic for produce/consume

    We only need to handle data consistency for buffer and cache when
    new data produced:
    1. source(DMA) --> buffer --> sink(non-DMA): invalidate cache.
    2. source(non-DMA) --> buffer --> sink(DMA): write back to memory.
    3. source(DMA) --> buffer --> sink(DMA): do nothing.
    4. source(non-DMA) --> buffer --> sink(non-DMA): do nothing.
    
    Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
    keyonjie committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    6b88ed7 View commit details
    Browse the repository at this point in the history