Module: Mesa
Branch: master
Commit: c4e6d759dd3a55de9c756f08407ed9af1018ac01
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4e6d759dd3a55de9c756f08407ed9af1018ac01

Author: Alyssa Rosenzweig <[email protected]>
Date:   Thu Jul 11 10:12:12 2019 -0700

panfrost: Remove unused display target field

Signed-off-by: Alyssa Rosenzweig <[email protected]>

---

 src/gallium/drivers/panfrost/pan_resource.c | 1 -
 src/gallium/drivers/panfrost/pan_screen.h   | 3 ---
 2 files changed, 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 */

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to