On 4/13/2023 12:38 AM, Stanislaw Gruszka wrote:
Use DMA_RESV_USAGE_BOOKKEEP reservation for buffer objects, except for command buffers for which we use DMA_RESV_USAGE_WRITE (since VPU can write to command buffer context save area).Fixes: 0ec8671837a6 ("accel/ivpu: Fix S3 system suspend when not idle") Signed-off-by: Stanislaw Gruszka <[email protected]>
I'm pretty new to fences, but this seems sane based on what Daniel suggested and what I'm seeing in code.
Reviewed-by: Jeffrey Hugo <[email protected]>
