drm/omapdrm: Nuke dummy fb->dirty callback
authorDaniel Vetter <[email protected]>
Mon, 30 May 2016 17:53:14 +0000 (19:53 +0200)
committerDaniel Vetter <[email protected]>
Wed, 1 Jun 2016 07:41:56 +0000 (09:41 +0200)
It's an optional hook.

Cc: Tomi Valkeinen <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/omapdrm/omap_fb.c

index 94ec06d3d737cd137f60cc3e632068dc9a48fe17..d639707f67db7c62e99346cccea11c796730153b 100644 (file)
@@ -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,