xref: /linux/drivers/gpu/drm/mgag200/Kconfig (revision 45d8b572fac3aa8b49d53c946b3685eaf78a2824)
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_IOBURST_WORKAROUND
16	bool "Disable buffer caching"
17	depends on DRM_MGAG200 && PREEMPT_RT && X86
18	help
19	  Enable a workaround to avoid I/O bursts within the mgag200 driver at
20	  the expense of overall display performance.
21	  It restores the <v5.10 behavior, by mapping the framebuffer in system
22	  RAM as Write-Combining, and flushing the cache after each write.
23	  This is only useful on x86_64 if you want to run processes with
24	  deterministic latency.
25	  If unsure, say N.
26