From 24ab5c4c4f5c6cadd3f331c29e7b9bedc24448b7 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 16 Jul 2025 08:57:11 -0700 Subject: [PATCH] freedreno: Remove obsolete comment This hasn't been quite true for quite a while. Fixes: 78c8a8af80d5 ("freedreno: Generate device-info tables at build time") Signed-off-by: Rob Clark Part-of: (cherry picked from commit f10217a6a310bea744e8d8d4fd180a3cf7001891) --- .pick_status.json | 2 +- src/gallium/drivers/freedreno/freedreno_screen.c | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 22fed86a36c..1bce2ba4fe8 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3844,7 +3844,7 @@ "description": "freedreno: Remove obsolete comment", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "78c8a8af80d5b0ccd68dd85ff7ecbb699be31f7d", "notes": null diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 19c18671bcf..5812e084276 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -960,17 +960,6 @@ fd_screen_create(int fd, screen->dev_info = info; screen->info = &screen->dev_info; - /* explicitly checking for GPU revisions that are known to work. This - * may be overly conservative for a3xx, where spoofing the gpu_id with - * the blob driver seems to generate identical cmdstream dumps. But - * on a2xx, there seem to be small differences between the GPU revs - * so it is probably better to actually test first on real hardware - * before enabling: - * - * If you have a different adreno version, feel free to add it to one - * of the cases below and see what happens. And if it works, please - * send a patch ;-) - */ switch (screen->gen) { case 2: fd2_screen_init(pscreen);