summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mgag200/Kconfig
diff options
context:
space:
mode:
authorJocelyn Falempe <jfalempe@redhat.com>2024-05-17 18:09:58 +0300
committerJocelyn Falempe <jfalempe@redhat.com>2024-05-21 10:38:47 +0300
commitb593ea9406237739d2da42e6f245c390d8a69f43 (patch)
tree98ebe8e2de869035d6feb3c4e5cc9e4b4e01b2b1 /drivers/gpu/drm/mgag200/Kconfig
parente7f67d0388e77e3863f2f2e9ae4a5f8bce2a718a (diff)
downloadlinux-b593ea9406237739d2da42e6f245c390d8a69f43.tar.xz
drm/mgag200: Add an option to disable Write-Combine
Unfortunately, the G200 ioburst workaround doesn't work on some servers like Dell poweredge XR11, XR5610, or HPE XL260. In this case completely disabling WC is the only option to achieve low-latency. So this adds a new Kconfig option to disable WC mapping of the G200. Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240517151050.624797-3-jfalempe@redhat.com
Diffstat (limited to 'drivers/gpu/drm/mgag200/Kconfig')
-rw-r--r--drivers/gpu/drm/mgag200/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mgag200/Kconfig b/drivers/gpu/drm/mgag200/Kconfig
index b28c5e4828f4..3096944a8f0a 100644
--- a/drivers/gpu/drm/mgag200/Kconfig
+++ b/drivers/gpu/drm/mgag200/Kconfig
@@ -11,3 +11,13 @@ config DRM_MGAG200
MGA G200 desktop chips and the server variants. It requires 0.3.0
of the modesetting userspace driver, and a version of mga driver
that will fail on KMS enabled devices.
+
+config DRM_MGAG200_DISABLE_WRITECOMBINE
+ bool "Disable Write Combine mapping of VRAM"
+ depends on DRM_MGAG200 && PREEMPT_RT
+ help
+ The VRAM of the G200 is mapped with Write-Combine to improve
+ performances. This can interfere with real-time tasks; even if they
+ are running on other CPU cores than the graphics output.
+ Enable this option only if you run realtime tasks on a server with a
+ Matrox G200. \ No newline at end of file