aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_resource.c1
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c
index f7f80eead57..4c794798d32 100644
--- a/src/gallium/drivers/panfrost/pan_resource.c
+++ b/src/gallium/drivers/panfrost/pan_resource.c
@@ -212,7 +212,6 @@ panfrost_create_scanout_res(struct pipe_screen *screen,
struct panfrost_resource *pres = pan_resource(res);
pres->scanout = scanout;
- pscreen->display_target = pres;
return res;
}
diff --git a/src/gallium/drivers/panfrost/pan_screen.h b/src/gallium/drivers/panfrost/pan_screen.h
index f30f2cf7135..bf64b8b40e0 100644
--- a/src/gallium/drivers/panfrost/pan_screen.h
+++ b/src/gallium/drivers/panfrost/pan_screen.h
@@ -56,9 +56,6 @@ struct panfrost_screen {
/* Memory management is based on subdividing slabs with AMD's allocator */
struct pb_slabs slabs;
- /* TODO: Where? */
- struct panfrost_resource *display_target;
-
/* While we're busy building up the job for frame N, the GPU is
* still busy executing frame N-1. So hold a reference to
* yesterjob */