metal: add copy-device based prime methods
This commit is contained in:
parent
a77929741a
commit
897944b580
4 changed files with 571 additions and 25 deletions
|
|
@ -1135,7 +1135,6 @@ impl CopyDevice {
|
|||
})
|
||||
}
|
||||
|
||||
#[expect(dead_code)]
|
||||
pub fn create_buffer(
|
||||
&self,
|
||||
dma_buf_ids: &DmaBufIds,
|
||||
|
|
@ -1853,7 +1852,6 @@ impl Drop for Pending {
|
|||
}
|
||||
|
||||
impl CopyDeviceBuffer {
|
||||
#[expect(dead_code)]
|
||||
pub fn dmabuf(&self) -> &DmaBuf {
|
||||
&self.dmabuf
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue