Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90450caf authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/msm: Nuke dummy fb->dirty callback

parent 80f67cd8
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -56,17 +56,9 @@ static void msm_framebuffer_destroy(struct drm_framebuffer *fb)
	kfree(msm_fb);
}

static int msm_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 msm_framebuffer_funcs = {
	.create_handle = msm_framebuffer_create_handle,
	.destroy = msm_framebuffer_destroy,
	.dirty = msm_framebuffer_dirty,
};

#ifdef CONFIG_DEBUG_FS