drm/rockchip: Remove dirtyfb callback

VOP always continue fetch display data from fb,
so we don't need do dirtyfb here, and drm_atomic_helper_dirtyfb
do much operation which will lag the fps.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Ie96eb711723547a2d80fe60c7898109444747030
This commit is contained in:
Andy Yan
2022-02-15 16:17:58 +08:00
committed by Tao Huang
parent ec55e06050
commit 3aa219c04c

View File

@@ -52,7 +52,6 @@ static void rockchip_drm_fb_destroy(struct drm_framebuffer *fb)
static const struct drm_framebuffer_funcs rockchip_drm_fb_funcs = {
.destroy = rockchip_drm_fb_destroy,
.create_handle = drm_gem_fb_create_handle,
.dirty = drm_atomic_helper_dirtyfb,
};
static struct drm_framebuffer *