From 28b2269ee046fb131006cd1307fdc92e1377e8dc Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 6 Nov 2014 15:56:43 -0500 Subject: [PATCH] freedreno: fix borked check for a320.0 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 f9341d38eea..4bfa74466c9 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) == 0x03000000; + return (screen->chip_id & 0xff0000ff) == 0x03000000; } #endif /* FREEDRENO_SCREEN_H_ */ -- 2.30.2