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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18093>
This commit is contained in:
Chia-I Wu 2022-08-16 11:08:11 -07:00 committed by Marge Bot
parent 718748fe61
commit c625d99403

View file

@ -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)) {