aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-10-07 12:24:51 +0200
committerBoris Brezillon <[email protected]>2019-10-07 12:24:51 +0200
commit8d0830de05e5d6212a6a0e1b26ea52b0748b0264 (patch)
tree7a214d34287278667f3006470ee7f98fdea11bb5 /src/gallium/drivers/panfrost
parent19546108d3dd5541a189e36df4ea83b3f519e48f (diff)
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.
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c1
1 files changed, 1 insertions, 0 deletions
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);