From 8d0830de05e5d6212a6a0e1b26ea52b0748b0264 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Mon, 7 Oct 2019 12:24:51 +0200 Subject: Revert "Revert "st/dri2: Implement DRI2bufferDamageExtension"" This reverts commit 19546108d3dd5541a189e36df4ea83b3f519e48f. This commit breaks the build because lima implements ->set_damage_region(). I guess we'll need more discussion before removing the ->set_damage_region() hook. --- src/gallium/drivers/panfrost/pan_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index acc5b476316..55c66e0c9a7 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -753,6 +753,7 @@ panfrost_create_screen(int fd, struct renderonly *ro) screen->base.get_compiler_options = panfrost_screen_get_compiler_options; screen->base.fence_reference = panfrost_fence_reference; screen->base.fence_finish = panfrost_fence_finish; + screen->base.set_damage_region = panfrost_resource_set_damage_region; panfrost_resource_screen_init(screen); -- cgit v1.2.3