From: Daniel Vetter Date: Mon, 30 May 2016 17:53:14 +0000 (+0200) Subject: drm/omapdrm: Nuke dummy fb->dirty callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af3ef2925bb4b2b8e95411070f97de3fd48b685d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/omapdrm: Nuke dummy fb->dirty callback It's an optional hook. Cc: Tomi Valkeinen Cc: Laurent Pinchart Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-23-git-send-email-daniel.vetter@ffwll.ch --- diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c index 94ec06d3d737..d639707f67db 100644 --- a/drivers/gpu/drm/omapdrm/omap_fb.c +++ b/drivers/gpu/drm/omapdrm/omap_fb.c @@ -120,17 +120,9 @@ static void omap_framebuffer_destroy(struct drm_framebuffer *fb) kfree(omap_fb); } -static int omap_framebuffer_dirty(struct drm_framebuffer *fb, - struct drm_file *file_priv, unsigned flags, unsigned color, - struct drm_clip_rect *clips, unsigned num_clips) -{ - return 0; -} - static const struct drm_framebuffer_funcs omap_framebuffer_funcs = { .create_handle = omap_framebuffer_create_handle, .destroy = omap_framebuffer_destroy, - .dirty = omap_framebuffer_dirty, }; static uint32_t get_linear_addr(struct plane *plane,