ANDROID: GKI: Add DRM_TTM config to GKI

When certain DRM drivers, such as virtio-gpu, are built out of tree,
they might depend on parts of DRM, such as DRM_TTM, that are not
included in all configs.

This CL adds the config to GKI_HACKS_TO_FIX, allowing DRM drivers that
use DRM_TTM to link successfully against GKI.

Test: Build and run virtio-gpu as an external module
Change-Id: I1ae869b7394a6059c0f3880bdc65a0b3ceb3e004
Bug: 153580313
Signed-off-by: Lingfeng Yang <lfy@google.com>
This commit is contained in:
Lingfeng Yang 2020-04-15 13:50:41 -07:00 committed by Alistair Delva
parent 2d358f3605
commit bc48c50063

View file

@ -3,6 +3,7 @@ config GKI_HIDDEN_DRM_CONFIGS
select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
select DRM_GEM_CMA_HELPER
select DRM_MIPI_DSI
select DRM_TTM if (HAS_IOMEM && DRM)
select VIDEOMODE_HELPERS
help
Dummy config option used to enable hidden DRM configs.