From: Rob Clark Date: Thu, 6 Nov 2014 20:56:43 +0000 (-0500) Subject: freedreno: fix borked check for a320.0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28b2269ee046fb131006cd1307fdc92e1377e8dc;p=mesa.git freedreno: fix borked check for a320.0 Signed-off-by: Rob Clark --- 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_ */