panfrost: Remove unused display target field
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 11 Jul 2019 17:12:12 +0000 (10:12 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 11 Jul 2019 19:48:25 +0000 (12:48 -0700)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_screen.h

index f7f80eead570b9d37d0be901acdeabcbaff6a95e..4c794798d3275a743ca13a2c4c5fdec0bd4fa2f2 100644 (file)
@@ -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;
 }
index f30f2cf7135024039a45cc9964b3d2ecb8e094ca..bf64b8b40e0e10a72e1fec20c6d5956f31aae309 100644 (file)
@@ -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 */