Revert "minigbm: mediatek: Conditionally resolve DRM_FORMAT_BGR888 to DRM_FORMAT_XBGR8888"

This reverts commit bfd4b0a3ab68ab0deabc3cf6d5e990ef4ff632f7.

Reason for revert: This breaks CTS: b:196768393

Original change's description:
> minigbm: mediatek: Conditionally resolve DRM_FORMAT_BGR888 to DRM_FORMAT_XBGR8888
>
> Since the original DRM_FORMAT_BGR888 format did not support
> BO_USE_RENDERING or BO_USE_TEXTURE flag and Chromium doesn't
> support 24-bit RGB format, resolve the DRM_FORMAT_BGR888
> to DRM_FORMAT_XBGR8888 to solve the problem.
>
> BUG=b:191096118
> TEST=deploy vendor image and open "My Talking Tom 2" app
>
> Signed-off-by: Nick Fan <Nick.Fan@mediatek.com>
> Change-Id: Ibfc76b3790045731c95f1cd387e67ecc5d775e0b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2976161
> Reviewed-by: Nick Fan <nick.fan@mediatek.corp-partner.google.com>
> Reviewed-by: Fei Shao <fshao@chromium.org>
> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
> Tested-by: Nick Fan <nick.fan@mediatek.corp-partner.google.com>
> Commit-Queue: Fei Shao <fshao@chromium.org>

Bug=b:191096118,b:196768393

Change-Id: I049e41c0885863fd514c43e56705382779b3daa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3097252
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Tested-by: Fei Shao <fshao@chromium.org>
Auto-Submit: Fei Shao <fshao@chromium.org>
Reviewed-by: Shawn Ku <shawnku@chromium.org>
Commit-Queue: Kazuhiro Inaba <kinaba@chromium.org>
1 file changed