summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-11-06 15:56:43 -0500
committerRob Clark <[email protected]>2014-11-14 12:07:39 -0500
commit28b2269ee046fb131006cd1307fdc92e1377e8dc (patch)
treed0d50a35271b2c53eafac5f47548168a600db780 /src/gallium/drivers/freedreno
parent8b898c1174b11a4e16a865ad78e6b6f6350bf185 (diff)
freedreno: fix borked check for a320.0
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h2
1 files changed, 1 insertions, 1 deletions
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_ */