From: Jason Ekstrand Date: Wed, 19 Aug 2020 23:56:01 +0000 (-0500) Subject: iris: Stop advertising clover-only caps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9678aa17d3dc0abca6db4ed9d7102dcb9a7d899;p=mesa.git 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: --- 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: