Enable the drm_hwcomposer and minigbm gralloc modules.

These modules are enabled in addition to the vsoc implementations for
now, so we can run with the old and new models for graphics and switch
between them using device properties. This change does nothing except
turn on the modules; they are not used in any way.

Bug: 77276633
Change-Id: I88bb24d3cab1b4b3cd14b98ced0e84d61e538def
diff --git a/shared/BoardConfig.mk b/shared/BoardConfig.mk
index 6e10d72..f4b7822 100644
--- a/shared/BoardConfig.mk
+++ b/shared/BoardConfig.mk
@@ -55,6 +55,11 @@
 BOARD_CACHEIMAGE_PARTITION_SIZE := 67108864
 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
 
+BOARD_DRM_HWCOMPOSER_BUFFER_IMPORTER := minigbm
+BOARD_USES_DRM_HWCOMPOSER := true
+BOARD_USES_MINIGBM := true
+BOARD_GPU_DRIVERS := virgl
+
 BOARD_KERNEL_CMDLINE := loop.max_part=7
 BOARD_KERNEL_CMDLINE += console=ttyS0 androidboot.console=ttyS1
 BOARD_KERNEL_CMDLINE += androidboot.hardware=vsoc
diff --git a/shared/device.mk b/shared/device.mk
index 1d1894f..fdb661e 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -161,6 +161,7 @@
 # Hardware Composer HAL
 #
 PRODUCT_PACKAGES += \
+    hwcomposer.drm \
     hwcomposer.vsoc \
     hwcomposer-stats \
     android.hardware.graphics.composer@2.1-impl \
@@ -170,6 +171,7 @@
 # Gralloc HAL
 #
 PRODUCT_PACKAGES += \
+    gralloc.minigbm \
     gralloc.vsoc \
     android.hardware.graphics.mapper@2.0-impl \
     android.hardware.graphics.allocator@2.0-impl \