From 3aa219c04c30597a6758dd22b608cf839b4fcaa4 Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Tue, 15 Feb 2022 16:17:58 +0800 Subject: [PATCH] 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 Change-Id: Ie96eb711723547a2d80fe60c7898109444747030 --- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c index 97522f6f9dce..eb2b518b4a71 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c @@ -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 *