[SRU,Bionic,2/2] UBUNTU: SAUCE: Make CONFIG_DRM_HISI_HIBMC depend on ARM64
diff mbox series

Message ID 20190716010828.27415-3-matthew.ruffell@canonical.com
State New
Headers show
  • hibmc-drm Causes Unreadable Display for Huawei amd64 Servers
Related show

Commit Message

Matthew Ruffell July 16, 2019, 1:08 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1762940

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 the screen being unreadable, forcing users to
manually blacklist the module on the kernel command line to use the d-i
server installer.

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

Signed-off-by: Matthew Ruffell <matthew.ruffell@canonical.com>
 drivers/gpu/drm/hisilicon/hibmc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/drivers/gpu/drm/hisilicon/hibmc/Kconfig b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
index c7129dc3bdfc..cb6455065004 100644
--- a/drivers/gpu/drm/hisilicon/hibmc/Kconfig
+++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
@@ -1,6 +1,6 @@ 
 	tristate "DRM Support for Hisilicon Hibmc"
-	depends on DRM && PCI && MMU
+	depends on DRM && PCI && MMU && ARM64
 	select DRM_TTM