Commit 562d5456 authored by Daniel Vetter's avatar Daniel Vetter Committed by Inki Dae

drm/exynos: Nuke dummy fb->dirty callback

It's an optional hook. Might be needed for frontbuffer rendering on
manual upload displays, but a simple TODO doesn't explain at all what
needs to be done or why.

Cc: Inki Dae <inki.dae@samsung.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 6aa5e85d
...@@ -97,20 +97,9 @@ static int exynos_drm_fb_create_handle(struct drm_framebuffer *fb, ...@@ -97,20 +97,9 @@ static int exynos_drm_fb_create_handle(struct drm_framebuffer *fb,
&exynos_fb->exynos_gem[0]->base, handle); &exynos_fb->exynos_gem[0]->base, handle);
} }
static int exynos_drm_fb_dirty(struct drm_framebuffer *fb,
struct drm_file *file_priv, unsigned flags,
unsigned color, struct drm_clip_rect *clips,
unsigned num_clips)
{
/* TODO */
return 0;
}
static const struct drm_framebuffer_funcs exynos_drm_fb_funcs = { static const struct drm_framebuffer_funcs exynos_drm_fb_funcs = {
.destroy = exynos_drm_fb_destroy, .destroy = exynos_drm_fb_destroy,
.create_handle = exynos_drm_fb_create_handle, .create_handle = exynos_drm_fb_create_handle,
.dirty = exynos_drm_fb_dirty,
}; };
struct drm_framebuffer * struct drm_framebuffer *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment