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