From: Daniel Vetter Date: Wed, 27 Apr 2016 11:38:41 +0000 (+0200) Subject: drm/exynos: Nuke dummy fb->dirty callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=562d54567f56a6228f53c2affa215dcff0cb1e3c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Daniel Vetter Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c index 81cc5537cf25..f851a40ac6cb 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fb.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c @@ -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 *