aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-05-12 09:56:56 -0400
committerRob Clark <[email protected]>2017-05-13 13:25:26 -0400
commit8efaae3e196976dee82c922bf6fd7da0c1e6a5a5 (patch)
treef2947972a389bbddf66f94a1208fbaa8a4547acd /src/gallium/drivers/freedreno/freedreno_screen.c
parentc61417e8be161b5814d5c49276fe7b29fcb74e55 (diff)
freedreno/a5xx: hw binning support
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index e1e02005ae3..cb03bdb96b9 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -836,9 +836,11 @@ fd_screen_create(struct fd_device *dev)
if (screen->gpu_id >= 500) {
screen->gmem_alignw = 64;
screen->gmem_alignh = 32;
+ screen->num_vsc_pipes = 16;
} else {
screen->gmem_alignw = 32;
screen->gmem_alignh = 32;
+ screen->num_vsc_pipes = 8;
}
/* NOTE: don't enable reordering on a2xx, since completely untested.