Commit b2576f6
accel/qaic: Create a function to initialize BO
This makes sure that we have a single place to initialize and
re-initialize BO.
Use this new API to cleanup release_dbc()
We will need this for next patch to detach slicing to a BO.
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-7-quic_jhugo@quicinc.com1 parent 0a9ee93 commit b2576f6
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
638 | 650 | | |
639 | 651 | | |
640 | 652 | | |
| |||
643 | 655 | | |
644 | 656 | | |
645 | 657 | | |
646 | | - | |
647 | | - | |
648 | | - | |
| 658 | + | |
649 | 659 | | |
650 | 660 | | |
651 | 661 | | |
| |||
1880 | 1890 | | |
1881 | 1891 | | |
1882 | 1892 | | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
| 1893 | + | |
1886 | 1894 | | |
1887 | 1895 | | |
1888 | 1896 | | |
| |||
0 commit comments