1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_MGAG200
3	tristate "Matrox G200"
4	depends on DRM && PCI && MMU
5	select DRM_GEM_SHMEM_HELPER
6	select DRM_KMS_HELPER
7	select I2C
8	select I2C_ALGOBIT
9	help
10	 This is a KMS driver for Matrox G200 chips. It supports the original
11	 MGA G200 desktop chips and the server variants. It requires 0.3.0
12	 of the modesetting userspace driver, and a version of mga driver
13	 that will fail on KMS enabled devices.
14
15config DRM_MGAG200_DISABLE_WRITECOMBINE
16	bool "Disable Write Combine mapping of VRAM"
17	depends on DRM_MGAG200 && PREEMPT_RT
18	help
19	  The VRAM of the G200 is mapped with Write-Combine to improve
20	  performances. This can interfere with real-time tasks; even if they
21	  are running on other CPU cores than the graphics output.
22	  Enable this option only if you run realtime tasks on a server with a
23	  Matrox G200.