summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-07-25 14:28:10 -0400
committerRob Clark <[email protected]>2014-07-25 14:29:02 -0400
commit5eb11eb1921020afc1fb099ecb275f91d9fc791d (patch)
tree811edb9b2ac71b12ff8c33c070b41ef9ae9358a2 /src/gallium
parentdb193e5ad06e7a2fbcffb3bb5df85d212eb12291 (diff)
freedreno: fix typo in gpu version check
Opps, I should use larger fonts, I guess. Reported-by: Ilia Mirkin <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index e0377b561a9..f9341d38eea 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -73,7 +73,7 @@ struct pipe_screen * fd_screen_create(struct fd_device *dev);
static inline boolean
is_a3xx_p0(struct fd_screen *screen)
{
- return (screen->gpu_id & 0xff0000ff) == 0x0300000000;
+ return (screen->gpu_id & 0xff0000ff) == 0x03000000;
}
#endif /* FREEDRENO_SCREEN_H_ */