aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-11 10:12:12 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-11 12:48:25 -0700
commitc4e6d759dd3a55de9c756f08407ed9af1018ac01 (patch)
treeed5bd0d472841157c730df1c7baf0a56a5aef6f5 /src
parent6b9edd2451b7d027a6003d8cf068e96503934a6a (diff)
panfrost: Remove unused display target field
Signed-off-by: Alyssa Rosenzweig <[email protected]>
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 */