accel/qaic: Update BO metadata in a central location
authorPranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Fri, 1 Sep 2023 17:22:42 +0000 (11:22 -0600)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 22 Sep 2023 15:55:52 +0000 (09:55 -0600)
commit76d42aa951aefbad2490551a35bd8496bd7b65bf
treec2c9bc49300fb933feda1b51f6c3d6a973b69915
parentcb850f6f69d1ee03ca4a5746df2870cf49e90871
accel/qaic: Update BO metadata in a central location

Update/Clean up BO metadata in a central location, this will help maintain
the code and looks cleaner.

Use qaic_unprepare_bo() to cleanup release_dbc()

Next few patches will be implementing detach IOCTL which will leverage
this patch.

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-3-quic_jhugo@quicinc.com
drivers/accel/qaic/qaic_data.c