diff options
author | Jonathan Marek <[email protected]> | 2018-12-18 23:33:54 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-01-28 18:21:16 -0500 |
commit | cb2322c7c0f95d6d1a2b90494cf5f6fd55f55638 (patch) | |
tree | 2456dacc3bab7f9d0be62965913b8922d78f7f46 /src/gallium/drivers/freedreno/freedreno_screen.h | |
parent | 501c6e70d417b6e7347e41976a753c0680268854 (diff) |
freedreno: a2xx: a20x hw binning
Signed-off-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h index 7c457399f2a..3afca8ceb0e 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.h +++ b/src/gallium/drivers/freedreno/freedreno_screen.h @@ -129,6 +129,12 @@ is_a20x(struct fd_screen *screen) return (screen->gpu_id >= 200) && (screen->gpu_id < 210); } +static inline boolean +is_a2xx(struct fd_screen *screen) +{ + return (screen->gpu_id >= 200) && (screen->gpu_id < 300); +} + /* is a3xx patch revision 0? */ /* TODO a306.0 probably doesn't need this.. be more clever?? */ static inline boolean |