From c4e6d759dd3a55de9c756f08407ed9af1018ac01 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 11 Jul 2019 10:12:12 -0700 Subject: panfrost: Remove unused display target field Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_resource.c | 1 - src/gallium/drivers/panfrost/pan_screen.h | 3 --- 2 files changed, 4 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3