disp: rotator: remove deprecated dma_buf_ops callbacks
Map and unmap calls are removed from dma_buf_ops. Add support to remove the deprecated callbacks from rotator driver. Change-Id: I93dff0629d1393983807e015dbd06293940dceb3 Signed-off-by: Gaurav LNU <quic_glnu@quicinc.com>
This commit is contained in:
committed by
Charishma Jerripothula
orang tua
ca333561cf
melakukan
126186bb88
@@ -1184,18 +1184,6 @@ static void sde_rot_dmabuf_unmap(struct dma_buf_attachment *attach,
|
||||
kfree(sgt);
|
||||
}
|
||||
|
||||
static void *sde_rot_dmabuf_no_map(struct dma_buf *buf, unsigned long n)
|
||||
{
|
||||
SDEROT_WARN("NOT SUPPORTING dmabuf map\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void sde_rot_dmabuf_no_unmap(struct dma_buf *buf, unsigned long n,
|
||||
void *addr)
|
||||
{
|
||||
SDEROT_WARN("NOT SUPPORTING dmabuf unmap\n");
|
||||
}
|
||||
|
||||
static void sde_rot_dmabuf_release(struct dma_buf *buf)
|
||||
{
|
||||
SDEROT_DBG("Release dmabuf:%pK\n", buf);
|
||||
@@ -1212,8 +1200,6 @@ static const struct dma_buf_ops sde_rot_dmabuf_ops = {
|
||||
.map_dma_buf = sde_rot_dmabuf_map_tiny,
|
||||
.unmap_dma_buf = sde_rot_dmabuf_unmap,
|
||||
.release = sde_rot_dmabuf_release,
|
||||
.map = sde_rot_dmabuf_no_map,
|
||||
.unmap = sde_rot_dmabuf_no_unmap,
|
||||
.mmap = sde_rot_dmabuf_no_mmap,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user