]> Git Repo - linux.git/commitdiff
drm/hisilicon/hibmc: Make CONFIG_DRM_HISI_HIBMC depend on ARM64
authorMatthew Ruffell <[email protected]>
Thu, 15 Aug 2019 04:26:40 +0000 (16:26 +1200)
committerXinliang Liu <[email protected]>
Mon, 26 Aug 2019 07:21:34 +0000 (15:21 +0800)
Hisilicon developed hibmc_drm for their arm64 based soc and did not
intend for this driver to be used on any other architecture than arm64.

Using it on amd64 leads to incorrect video modes being used, making
the screen unreadable, forcing users to manually blacklist the module
on the kernel command line to use the d-i server installer or any
graphical sessions.

Make CONFIG_DRM_HISI_HIBMC firmly depend on ARM64 to ensure it is not
built for other architectures.

Signed-off-by: Matthew Ruffell <[email protected]>
Signed-off-by: Xinliang Liu <[email protected]>
drivers/gpu/drm/hisilicon/hibmc/Kconfig

index f20eedf0073af21bf73ebd05915c0ee465a69c75..35a3c5f0c38cc1cb38e755244e7f5334c10af5c6 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_HISI_HIBMC
        tristate "DRM Support for Hisilicon Hibmc"
-       depends on DRM && PCI && MMU
+       depends on DRM && PCI && MMU && ARM64
        select DRM_KMS_HELPER
        select DRM_VRAM_HELPER
 
This page took 0.055561 seconds and 4 git commands to generate.