diff options
author | Eric Anholt <[email protected]> | 2016-07-11 17:55:33 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-07-20 16:15:15 -0700 |
commit | d81934cded89b20cf305e5afb5c2de9b22d02904 (patch) | |
tree | 890d94b47e130fb9c05090253faae44f56f71279 /src/gallium/drivers/vc4/vc4_screen.h | |
parent | 83b8ca58e12ee13c4d5cd51c30c0fd19bf4f8bd2 (diff) |
vc4: Check the V3D version reported by the kernel.
We don't want to bring up an old userspace driver on a kernel for
newer hardware. We'll also want to look at the other ident fields in
the future.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h index 6cecca63bc4..9bd2765031c 100644 --- a/src/gallium/drivers/vc4/vc4_screen.h +++ b/src/gallium/drivers/vc4/vc4_screen.h @@ -50,6 +50,8 @@ struct vc4_screen { struct pipe_screen base; int fd; + int v3d_ver; + void *simulator_mem_base; uint32_t simulator_mem_size; |