[Mesa-dev] [PATCH 04/10] panfrost: Minor comment cleanup (version detection)

Alyssa Rosenzweig alyssa at rosenzweig.io
Wed Mar 13 02:03:21 UTC 2019


Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
---
 src/gallium/drivers/panfrost/pan_context.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index 48e471eace2..cb226cc2220 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -2408,8 +2408,9 @@ panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags)
         unsigned gpu_id;
 
         gpu_id = pscreen->driver->query_gpu_version(pscreen);
-        ctx->is_t6xx = gpu_id <= 0x0750; /* For now, this flag means t76x or less */
-        ctx->require_sfbd = gpu_id < 0x0750; /* t76x is the first to support MFD */
+
+        ctx->is_t6xx = gpu_id <= 0x0750; /* For now, this flag means T760 or less */
+        ctx->require_sfbd = gpu_id < 0x0750; /* T760 is the first to support MFBD */
 
         gallium->screen = screen;
 
-- 
2.20.1



More information about the mesa-dev mailing list