Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/hisilicon/hibmc: Make CONFIG_DRM_HISI_HIBMC depend on ARM64

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 <matthew.ruffell@canonical.com>
Signed-off-by: Xinliang Liu <z.liuxinliang@hisilicon.com>

authored by

Matthew Ruffell and committed by
Xinliang Liu
feeb07d0 bda4a850

+1 -1
+1 -1
drivers/gpu/drm/hisilicon/hibmc/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_HISI_HIBMC 3 3 tristate "DRM Support for Hisilicon Hibmc" 4 - depends on DRM && PCI && MMU 4 + depends on DRM && PCI && MMU && ARM64 5 5 select DRM_KMS_HELPER 6 6 select DRM_VRAM_HELPER 7 7