freedreno/fdperf: prefer render node
authorRob Clark <robdclark@chromium.org>
Sun, 5 Jul 2020 18:47:15 +0000 (11:47 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 15:08:15 +0000 (15:08 +0000)
commit0a7b1f916700a34c27fa8fc804b31428e553ec94
treedde5e46f90040868610c9124610f81082c6282ce
parent385d036f5836714bc59937369fdc3447fc0da5fb
freedreno/fdperf: prefer render node

Avoid inadvertantly becoming master if fdperf happens to be the first
thing to open the device.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5762>
src/freedreno/perfcntrs/fdperf.c