Skip to content

Commit

Permalink
update psys driver and patch for ARL PV release (#274)
Browse files Browse the repository at this point in the history
* update build kernel README

Signed-off-by: zouxiaoh <[email protected]>

* update psys driver and patch for ARL PV release

Signed-off-by: zouxiaoh <[email protected]>

---------

Signed-off-by: zouxiaoh <[email protected]>
  • Loading branch information
zouxiaoh authored Oct 8, 2024
1 parent c2190b1 commit 89d7c48
Show file tree
Hide file tree
Showing 4 changed files with 16,981 additions and 15 deletions.
4 changes: 2 additions & 2 deletions drivers/media/pci/intel/ipu6/psys/ipu-psys.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static int ipu_psys_get_userpages(struct ipu_dma_buf_attach *attach)
int nr = 0;
u32 flags;

start = attach->userptr;
start = (unsigned long)attach->userptr;
end = PAGE_ALIGN(start + attach->len);
npages = (end - (start & PAGE_MASK)) >> PAGE_SHIFT;
array_size = npages * sizeof(struct page *);
Expand Down Expand Up @@ -732,7 +732,7 @@ static int ipu_psys_getbuf(struct ipu_psys_buffer *buf, struct ipu_psys_fh *fh)
ipu_buffer_add(fh, kbuf);
mutex_unlock(&fh->mutex);

dev_dbg(dev, "IOC_GETBUF: userptr %llu size %llu to fd %d",
dev_dbg(dev, "IOC_GETBUF: userptr %p size %llu to fd %d",
buf->base.userptr, buf->len, buf->base.fd);

return 0;
Expand Down
Loading

0 comments on commit 89d7c48

Please sign in to comment.