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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user