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 <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36644>
This commit is contained in:
Rob Clark 2025-08-07 08:03:24 -07:00 committed by Marge Bot
parent 652ef8f0c5
commit 69f9a805ae

View file

@ -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;