plane_test: Support --crtc-mask flag

Some systems support different plane options on different CRTCs.
Currently, we always choose the first one that matches, but we might
have reasons to test one or the other explicitly.

BUG=b:201581365
TEST=`plane_test -m 0x2 --format NV12 --size 400x400 \
        -p --format XR24 --size 100x100 --translate` on kevin

Change-Id: Ib28dda25e98e06c4a58cf92148284c3b3f78f02a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/3265870
Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Reviewed-by: Miguel Casas <mcasas@google.com>
Tested-by: Brian Norris <briannorris@chromium.org>
Commit-Queue: Brian Norris <briannorris@chromium.org>
1 file changed