summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-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_ */