[Mesa-dev] [PATCH 05/11] freedreno: add a20x ids

Jonathan Marek jonathan at marek.ca
Mon Sep 17 18:22:14 UTC 2018


the two a20x GPUs tested are a200 in the imx51 and the imx53 (not a205).
the 201 id is used for the imx51 (it only has 128kb gmem as opposed to the
typical 256kb for a200)

Signed-off-by: Jonathan Marek <jonathan at marek.ca>
---
 src/gallium/drivers/freedreno/freedreno_screen.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index ef88e5b121..c39c140fac 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -782,6 +782,8 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro)
 	 * send a patch ;-)
 	 */
 	switch (screen->gpu_id) {
+	case 200:
+	case 201:
 	case 205:
 	case 220:
 		fd2_screen_init(pscreen);
-- 
2.17.1



More information about the mesa-dev mailing list