drm/exynos: Nuke dummy fb->dirty callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Apr 2016 11:38:41 +0000 (13:38 +0200)
committerInki Dae <daeinki@gmail.com>
Tue, 10 May 2016 14:11:44 +0000 (23:11 +0900)
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: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fb.c

index 81cc5537cf2577899bd5c1d011beb404584e08a6..f851a40ac6cb83fa2aef5fd0e5e20a82f7e2dfcd 100644 (file)
@@ -97,20 +97,9 @@ static int exynos_drm_fb_create_handle(struct drm_framebuffer *fb,
                                     &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 = {
        .destroy        = exynos_drm_fb_destroy,
        .create_handle  = exynos_drm_fb_create_handle,
-       .dirty          = exynos_drm_fb_dirty,
 };
 
 struct drm_framebuffer *