Mesa (master): iris: Stop advertising clover-only caps
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 21 22:58:47 UTC 2020
Module: Mesa
Branch: master
Commit: b9678aa17d3dc0abca6db4ed9d7102dcb9a7d899
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9678aa17d3dc0abca6db4ed9d7102dcb9a7d899
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Aug 19 18:56:01 2020 -0500
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 <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6405>
---
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:
More information about the mesa-commit
mailing list