dma-buf: remove kmap_atomic interface
Neither used nor correctly implemented anywhere. Just completely remove the interface. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Link: https://patchwork.freedesktop.org/patch/226645/
Este cometimento está contido em:

cometido por
Christian König

ascendente
a19741e5e5
cometimento
f664a52695
@@ -157,27 +157,12 @@ static void *udl_dmabuf_kmap(struct dma_buf *dma_buf, unsigned long page_num)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void *udl_dmabuf_kmap_atomic(struct dma_buf *dma_buf,
|
||||
unsigned long page_num)
|
||||
{
|
||||
/* TODO */
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void udl_dmabuf_kunmap(struct dma_buf *dma_buf,
|
||||
unsigned long page_num, void *addr)
|
||||
{
|
||||
/* TODO */
|
||||
}
|
||||
|
||||
static void udl_dmabuf_kunmap_atomic(struct dma_buf *dma_buf,
|
||||
unsigned long page_num,
|
||||
void *addr)
|
||||
{
|
||||
/* TODO */
|
||||
}
|
||||
|
||||
static int udl_dmabuf_mmap(struct dma_buf *dma_buf,
|
||||
struct vm_area_struct *vma)
|
||||
{
|
||||
@@ -192,9 +177,7 @@ static const struct dma_buf_ops udl_dmabuf_ops = {
|
||||
.map_dma_buf = udl_map_dma_buf,
|
||||
.unmap_dma_buf = udl_unmap_dma_buf,
|
||||
.map = udl_dmabuf_kmap,
|
||||
.map_atomic = udl_dmabuf_kmap_atomic,
|
||||
.unmap = udl_dmabuf_kunmap,
|
||||
.unmap_atomic = udl_dmabuf_kunmap_atomic,
|
||||
.mmap = udl_dmabuf_mmap,
|
||||
.release = drm_gem_dmabuf_release,
|
||||
};
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador