freedreno: add is_a3xx()/is_a4xx() helpers
authorRob Clark <robclark@freedesktop.org>
Fri, 12 Dec 2014 23:51:36 +0000 (18:51 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 13 Dec 2014 20:09:37 +0000 (15:09 -0500)
commitf24e910da40c7c813b7da009269cd994cf6ff375
tree2881d2d8038f1856cfd44687fed65dd9bbec1f8c
parent7474de2235beee9240be702ab99b93989fa7c7c1
freedreno: add is_a3xx()/is_a4xx() helpers

A bunch of open-coded 'gpu_id > 300's seems like it will eventually
cause problems with future generations.  There were already a few minor
problems with caps for features that still need additional work on a4xx.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_screen.h