accel/qaic: Declare BO 'sliced' after all the operations are complete
authorPranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Fri, 1 Sep 2023 17:22:43 +0000 (11:22 -0600)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 22 Sep 2023 15:56:23 +0000 (09:56 -0600)
commit77f71e153f09acef574dffc4298eac7822407665
tree0fd78d058e1a6b152a52d92cbd39ccb8e3bede6d
parent76d42aa951aefbad2490551a35bd8496bd7b65bf
accel/qaic: Declare BO 'sliced' after all the operations are complete

Once the BO is declared 'sliced' by setting bo->sliced to true we can
perform DMA (QAIC_EXECUTE_BO) operation on that BO. Hence we should
declare a BO sliced after completing all the operations.

Adding BO to its respective DBC list in qaic_attach_slicing_bo() seems
out of place as qaic_attach_slicing_bo() should just update BO with
slicing configuration.

Signed-off-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901172247.11410-4-quic_jhugo@quicinc.com
drivers/accel/qaic/qaic_data.c