diff options
author | Kenneth Graunke <[email protected]> | 2018-07-26 21:59:20 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | 9fc672428d7247647d864110e907dbef6ac80cc1 (patch) | |
tree | 82693596ac8281dd5c27e2bcdc6291b868d12653 /src/gallium/drivers/iris/iris_screen.c | |
parent | 860ce6af3f8ebc545cb7feae37db066c7c649244 (diff) |
iris: little bits of compute basics
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 1f336adc20b..5e27acc54b1 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -587,6 +587,10 @@ iris_screen_create(int fd) slab_create_parent(&screen->transfer_pool, sizeof(struct iris_transfer), 64); + screen->subslice_total = + iris_getparam_integer(screen, I915_PARAM_SUBSLICE_TOTAL); + assert(screen->subslice_total >= 1); + struct pipe_screen *pscreen = &screen->base; iris_init_screen_resource_functions(pscreen); |