From c625d99403809ead0225dfa9e0f71b64ca450612 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 16 Aug 2022 11:08:11 -0700 Subject: [PATCH] freedreno/pps: improve interaction with turnip turnip uses priority 0. pps should too (actually, it makes sense to do so regardless of what turnip does). turnip is not expected to starve pps, but it does with drm-next for 5.20. Part-of: --- src/freedreno/ds/fd_pps_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/ds/fd_pps_driver.cc b/src/freedreno/ds/fd_pps_driver.cc index 06f4bbaf02b..86bb16b7fbb 100644 --- a/src/freedreno/ds/fd_pps_driver.cc +++ b/src/freedreno/ds/fd_pps_driver.cc @@ -438,7 +438,7 @@ FreedrenoDriver::init_perfcnt() uint64_t val; dev = fd_device_new(drm_device.fd); - pipe = fd_pipe_new(dev, FD_PIPE_3D); + pipe = fd_pipe_new2(dev, FD_PIPE_3D, 0); dev_id = fd_pipe_dev_id(pipe); if (fd_pipe_get_param(pipe, FD_MAX_FREQ, &val)) {