ANDROID: minigbm: msm: Enable QCOM_DISABLE_COMPRESSED_NV12 on the minigbm_msm build target

Currently upstream video video drivers don't support
QCOM_COMPRESSED drm modifier, so disable it on NV12 bufffers in
the build for now.

Submitted to AOSP, as upstream doesn't include the Android.bp files.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I86730572d0253455c76552c99d135e3246be6052
This commit is contained in:
John Stultz 2021-11-06 03:22:55 +00:00
parent db90701156
commit bf308b3781

View file

@ -233,7 +233,10 @@ cc_library_shared {
cc_library_shared {
name: "libminigbm_gralloc_msm",
defaults: ["minigbm_cros_gralloc_library_defaults"],
cflags: ["-DDRV_MSM"],
cflags: [
"-DDRV_MSM",
"-DQCOM_DISABLE_COMPRESSED_NV12",
],
}
cc_library_shared {