Watch
1
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-10-18 21:58:11 +07:00

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
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.