From b9678aa17d3dc0abca6db4ed9d7102dcb9a7d899 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 19 Aug 2020 18:56:01 -0500 Subject: [PATCH] iris: Stop advertising clover-only caps Both of these are clover-only caps. We don't really support clover and, even if we did, the number of address bits is wrong and we definitely don't support the CL path for images. Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/iris/iris_screen.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 4cc98754567..754da070486 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -459,9 +459,6 @@ iris_get_compute_param(struct pipe_screen *pscreen, } while (0) switch (param) { - case PIPE_COMPUTE_CAP_ADDRESS_BITS: - RET((uint32_t []){ 32 }); - case PIPE_COMPUTE_CAP_IR_TARGET: if (ret) strcpy(ret, "gen"); @@ -487,12 +484,11 @@ iris_get_compute_param(struct pipe_screen *pscreen, /* MaxComputeSharedMemorySize */ RET((uint64_t []) { 64 * 1024 }); - case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED: - RET((uint32_t []) { 1 }); - case PIPE_COMPUTE_CAP_SUBGROUP_SIZE: RET((uint32_t []) { BRW_SUBGROUP_SIZE }); + case PIPE_COMPUTE_CAP_ADDRESS_BITS: + case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED: case PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE: case PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY: case PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS: -- 2.30.2