mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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:
parent
652ef8f0c5
commit
69f9a805ae
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue