From 0263d2793ce0d061268e83afb9c225a06a4e6f25 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 19 Feb 2020 07:56:43 -0500 Subject: [PATCH] panfrost: Remove flush_frontbuffer A relic from software rasterizers. Hardware drivers generally don't need to implement this. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Erik Faye-Lund Tested-by: Marge Bot Part-of: --- src/gallium/drivers/panfrost/pan_screen.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 2d6fe3377d2..0ad0c2bf638 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -579,16 +579,6 @@ panfrost_destroy_screen(struct pipe_screen *pscreen) ralloc_free(screen); } -static void -panfrost_flush_frontbuffer(struct pipe_screen *_screen, - struct pipe_resource *resource, - unsigned level, unsigned layer, - void *context_private, - struct pipe_box *sub_box) -{ - /* TODO: Display target integration */ -} - static uint64_t panfrost_get_timestamp(struct pipe_screen *_screen) { @@ -789,7 +779,6 @@ panfrost_create_screen(int fd, struct renderonly *ro) screen->base.get_timestamp = panfrost_get_timestamp; screen->base.is_format_supported = panfrost_is_format_supported; screen->base.context_create = panfrost_create_context; - screen->base.flush_frontbuffer = panfrost_flush_frontbuffer; screen->base.get_compiler_options = panfrost_screen_get_compiler_options; screen->base.fence_reference = panfrost_fence_reference; screen->base.fence_finish = panfrost_fence_finish; -- 2.30.2