drm/mgag200: Add an option to disable Write-Combine
authorJocelyn Falempe <jfalempe@redhat.com>
Fri, 17 May 2024 15:09:58 +0000 (17:09 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Tue, 21 May 2024 07:38:47 +0000 (09:38 +0200)
commitb593ea9406237739d2da42e6f245c390d8a69f43
tree98ebe8e2de869035d6feb3c4e5cc9e4b4e01b2b1
parente7f67d0388e77e3863f2f2e9ae4a5f8bce2a718a
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
drivers/gpu/drm/mgag200/Kconfig
drivers/gpu/drm/mgag200/mgag200_drv.c