amdgpu: add scanout capable linear DRM_FORMAT_RGB565 support

rgb565 is a common default pixel format for a native window on Android
when app or the platform doesn't override the pixel format. So it's a
must support format for scanout.

BUG=b:198669698
BUG=b:198098339
BUG=b:198098005
TEST=ASurfaceControlTest
TEST=SurfaceViewTests

Change-Id: Ie7199a3e7b181660497566c4a51d413e73ac4540
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3140733
Reviewed-by: Lepton Wu <lepton@chromium.org>
Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
1 file changed