Skip to content

Commit

Permalink
enable nvk driver for x86_64
Browse files Browse the repository at this point in the history
In future it can be moved for common devices without problems
  • Loading branch information
EliasTheGrandMasterOfMistakes authored and ratatouille committed May 6, 2024
1 parent 2ad6e15 commit 560e938
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TARGET_USES_HWC2 := true
ifneq ($(TARGET_USE_MESA),false)
BOARD_MESA3D_USES_MESON_BUILD := true
BOARD_MESA3D_BUILD_LIBGBM := true
BOARD_MESA3D_GALLIUM_DRIVERS := kmsro r300 r600 nouveau freedreno swrast v3d vc4 etnaviv tegra svga virgl panfrost lima radeonsi
BOARD_MESA3D_GALLIUM_DRIVERS := kmsro r300 r600 nouveau freedreno swrast v3d vc4 etnaviv tegra svga virgl panfrost lima radeonsi zink
BOARD_MESA3D_VULKAN_DRIVERS := broadcom freedreno panfrost swrast virtio amd
endif

Expand Down
3 changes: 2 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ PRODUCT_PACKAGES += \
ifneq ($(filter %_waydroid_x86 %_waydroid_x86_64,$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += \
vulkan.intel \
vulkan.intel_hasvk
vulkan.intel_hasvk \
vulkan.nouveau
endif

PRODUCT_COPY_FILES += \
Expand Down
2 changes: 1 addition & 1 deletion waydroid_x86_64/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ TARGET_2ND_ARCH_VARIANT := x86_64

ifneq ($(TARGET_USE_MESA),false)
BOARD_MESA3D_GALLIUM_DRIVERS += i915 iris crocus
BOARD_MESA3D_VULKAN_DRIVERS += intel intel_hasvk
BOARD_MESA3D_VULKAN_DRIVERS += intel intel_hasvk nouveau
endif

0 comments on commit 560e938

Please sign in to comment.