From 5eb11eb1921020afc1fb099ecb275f91d9fc791d Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 25 Jul 2014 14:28:10 -0400 Subject: [PATCH] freedreno: fix typo in gpu version check Opps, I should use larger fonts, I guess. Reported-by: Ilia Mirkin Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_ */ -- 2.30.2