Mesa (master): panfrost: Minor comment cleanup (version detection)

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 14 22:51:06 UTC 2019


Module: Mesa
Branch: master
Commit: 23e01357235273994c5e7b8658d360c84fba30ff
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23e01357235273994c5e7b8658d360c84fba30ff

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Tue Mar 12 22:42:16 2019 +0000

panfrost: Minor comment cleanup (version detection)

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;
 




More information about the mesa-commit mailing list