From 69f9a805aef01857c360d00e3cbfd5999a5e7727 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 7 Aug 2025 08:03:24 -0700 Subject: [PATCH] freedreno/drm-shim: Fix nr_rings/priorities Since drm/sched conversion, the kernel will report at least 3. And rusticl seems to depend on this. Signed-off-by: Rob Clark Part-of: --- src/freedreno/drm-shim/freedreno_noop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/drm-shim/freedreno_noop.c b/src/freedreno/drm-shim/freedreno_noop.c index 76f213f2bfe..36732451678 100644 --- a/src/freedreno/drm-shim/freedreno_noop.c +++ b/src/freedreno/drm-shim/freedreno_noop.c @@ -103,8 +103,8 @@ msm_ioctl_get_param(int fd, unsigned long request, void *arg) case MSM_PARAM_CHIP_ID: gp->value = device_info->chip_id; return 0; - case MSM_PARAM_NR_RINGS: - gp->value = 1; + case MSM_PARAM_PRIORITIES: + gp->value = 3; return 0; case MSM_PARAM_MAX_FREQ: gp->value = 1000000;