From ae78489d3eb2d3916555e593e387103c06cecce6 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 11 Sep 2018 15:59:22 -0400 Subject: freedreno/a6xx: hwbinning Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c') diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 33f14b8f248..231e0d4c817 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -822,7 +822,11 @@ fd_screen_create(struct fd_device *dev) goto fail; } - if (screen->gpu_id >= 500) { + if (screen->gpu_id >= 600) { + screen->gmem_alignw = 32; + screen->gmem_alignh = 32; + screen->num_vsc_pipes = 32; + } else if (screen->gpu_id >= 500) { screen->gmem_alignw = 64; screen->gmem_alignh = 32; screen->num_vsc_pipes = 16; -- cgit v1.2.3