summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a5xx
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-11-30 08:26:56 -0500
committerRob Clark <[email protected]>2018-12-07 13:49:21 -0500
commit9f7c6c78bc9d419aebe0baf69e1ef7b9c4f66b80 (patch)
treefd34a0c3cedb3ed4e0c924d45bcba2279aa93cfb /src/gallium/drivers/freedreno/a5xx
parentc500e7b7472099401dcab35e5a2e68e5791ca9a5 (diff)
freedreno/a5xx+a6xx: remove unused fs/vs pvt mem
copy/pasta from older gens Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a5xx')
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_context.c8
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_context.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_context.c b/src/gallium/drivers/freedreno/a5xx/fd5_context.c
index e6af5d265a6..985face47ab 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_context.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_context.c
@@ -48,8 +48,6 @@ fd5_context_destroy(struct pipe_context *pctx)
fd_context_destroy(pctx);
- fd_bo_del(fd5_ctx->vs_pvt_mem);
- fd_bo_del(fd5_ctx->fs_pvt_mem);
fd_bo_del(fd5_ctx->vsc_size_mem);
fd_bo_del(fd5_ctx->blit_mem);
@@ -105,12 +103,6 @@ fd5_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags)
util_blitter_set_texture_multisample(fd5_ctx->base.blitter, true);
- fd5_ctx->vs_pvt_mem = fd_bo_new(screen->dev, 0x2000,
- DRM_FREEDRENO_GEM_TYPE_KMEM);
-
- fd5_ctx->fs_pvt_mem = fd_bo_new(screen->dev, 0x2000,
- DRM_FREEDRENO_GEM_TYPE_KMEM);
-
fd5_ctx->vsc_size_mem = fd_bo_new(screen->dev, 0x1000,
DRM_FREEDRENO_GEM_TYPE_KMEM);
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_context.h b/src/gallium/drivers/freedreno/a5xx/fd5_context.h
index 324878b4348..a8e5953b390 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_context.h
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_context.h
@@ -36,8 +36,6 @@
struct fd5_context {
struct fd_context base;
- struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
-
/* This only needs to be 4 * num_of_pipes bytes (ie. 32 bytes). We
* could combine it with another allocation.
*/