};
dma_addr_t rockchip_fb_get_dma_addr(struct drm_framebuffer *fb,
- unsigned int plane, struct device *dev)
+ unsigned int plane)
{
struct rockchip_drm_fb *rk_fb = to_rockchip_fb(fb);
unsigned int num_planes);
dma_addr_t rockchip_fb_get_dma_addr(struct drm_framebuffer *fb,
- unsigned int plane, struct device *dev);
+ unsigned int plane);
#endif /* _ROCKCHIP_DRM_FB_H */
else
offset += (src->y1 >> 16) * fb->pitches[0];
- dma_addr = rockchip_fb_get_dma_addr(fb, 0, vop->dev);
+ dma_addr = rockchip_fb_get_dma_addr(fb, 0);
vop_plane_state->yrgb_mst = dma_addr + offset + fb->offsets[0];
ymirror = !!(state->rotation & BIT(DRM_REFLECT_Y));
offset = (src->x1 >> 16) * bpp / hsub;
offset += (src->y1 >> 16) * fb->pitches[1] / vsub;
- dma_addr = rockchip_fb_get_dma_addr(fb, 1, vop->dev);
+ dma_addr = rockchip_fb_get_dma_addr(fb, 1);
dma_addr += offset + fb->offsets[1];
VOP_WIN_SET(vop, win, uv_vir, fb->pitches[1] >> 2);
VOP_WIN_SET(vop, win, uv_mst, dma_addr);