plane_test: add GBM_BO_USE_LINEAR for BOs

plane_test.c allocates BOs and then tries to map them and write a
colour bar pattern, pixel by pixel, in software. This used to work
by happenstance since said BOs were not allocated with a LINEAR
flag. Recently crrev.com/c/4195657 started enforcing that BOs with
a modifier (on QC those are compressed) could not be mapped, and
broke this binary and the associated graphics.PlatformOverlays.*
Tast tests.

This CL corrects this situation by requesting BOs with the
appropriate LINEAR use flag.

BUG=b:273579852
TEST=graphics.PlatformOverlays on trogdor, brya

Change-Id: I53fc0ab57219e5ded9183a009188d080f8a9bcd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/4408137
Tested-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Commit-Queue: Miguel Casas-Sanchez <mcasas@chromium.org>
Reviewed-by: Rob Clark <robdclark@chromium.org>
1 file changed