drm/etnaviv: add pipe_select(..) helper