drm-tests/plane_test: add support for external displays

This CL adds a flag --external (-e, like gamma_test) so especify
that all commands should be directed to the external DRM connector
and not the internal, which is used by default.

BUG=b:183760490
TEST=/usr/bin/plane_test --external --format XR30 on volteer with
a DP connected external screen does what it's supposed to do on
the external screen. No "--external" uses the panel.

Change-Id: I50cdd313d243676cd92780be429751c1f7f1c177
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/2869728
Tested-by: Miguel Casas <mcasas@chromium.org>
Reviewed-by: Pilar Molina Lopez <pmolinalopez@google.com>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
1 file changed