freedreno: fix borked check for a320.0
authorRob Clark <robclark@freedesktop.org>
Thu, 6 Nov 2014 20:56:43 +0000 (15:56 -0500)
committerRob Clark <robclark@freedesktop.org>
Fri, 14 Nov 2014 17:07:39 +0000 (12:07 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.h

index f9341d38eea9651646ee2afa408a01e8eb0f203e..4bfa74466c9c057c2067360017250e918826f88c 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) == 0x03000000;
+       return (screen->chip_id & 0xff0000ff) == 0x03000000;
 }
 
 #endif /* FREEDRENO_SCREEN_H_ */