minigbm: support P010 SCANOUT

This CL adds GBM_FORMAT_P010 which somehow wasn't there (Chrome used
DRM_FORMAT_P010) and adds SCANOUT support for it: P010 can be
scanned out in JSL and TGL (Gen 11 and Gen12 GPUs).

crrev/c/2808787 adds P010 support to drm-tests plane_test.

[1] https://source.chromium.org/search?q=I915_SCANOUT_Y_TILED

BUG=b:183760490
TEST=on volteer:
  /usr/bin/plane_test -f P010
  /usr/bin/plane_test --format NV12 --size 600x400 -p --format P010 --size 200x200 -d 200,200
work as expected.

Change-Id: I535b05102ab8d2c3bd7cd0d63029bfca5fe3d79f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2808788
Tested-by: Miguel Casas <[email protected]>
Auto-Submit: Miguel Casas <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Commit-Queue: Miguel Casas <[email protected]>
2 files changed