diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-23 06:56:51 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-23 08:04:42 -0700 |
commit | 83a1d5544a78b6f741523aa1689ab0c0941d549b (patch) | |
tree | 48c90d352ddedebe35d79607a98455e78ee710b7 /src/gallium | |
parent | 3acc4278ad4138ad3a914085aefd7c47d46e1ad4 (diff) |
panfrost: Use correct definition for is_t6xx
Rather than anything "early Midgard", limit us specifically to T6XX, as
certain workarounds only apply to genuine T6XX, not T7XX.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index c7a34b2dcef..20da92a230b 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2682,7 +2682,7 @@ panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags) memset(ctx, 0, sizeof(*ctx)); struct pipe_context *gallium = (struct pipe_context *) ctx; - ctx->is_t6xx = pscreen->gpu_id <= 0x0750; /* For now, this flag means T760 or less */ + ctx->is_t6xx = pscreen->gpu_id < 0x0700; /* Literally, "earlier than T700" */ ctx->require_sfbd = pscreen->gpu_id < 0x0750; /* T760 is the first to support MFBD */ gallium->screen = screen; |