freedreno: fix typo in gpu version check
authorRob Clark <robclark@freedesktop.org>
Fri, 25 Jul 2014 18:28:10 +0000 (14:28 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 25 Jul 2014 18:29:02 +0000 (14:29 -0400)
Opps, I should use larger fonts, I guess.

Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.h

index e0377b561a9230e1b9bd41370e4e64998cc45971..f9341d38eea9651646ee2afa408a01e8eb0f203e 100644 (file)
@@ -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_ */