From 23e01357235273994c5e7b8658d360c84fba30ff Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 12 Mar 2019 22:42:16 +0000 Subject: [PATCH] panfrost: Minor comment cleanup (version detection) Signed-off-by: Alyssa Rosenzweig --- 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.30.2