WSL2-Linux-Kernel/drivers/gpu/drm/r128
Randy Dunlap 1a361b41c1 drm/r128: fix build for UML
Fix a build error on CONFIG_UML, which does not support (provide)
wbinvd(). UML can use the generic mb() instead.

../drivers/gpu/drm/r128/ati_pcigart.c: In function ‘drm_ati_pcigart_init’:
../drivers/gpu/drm/r128/ati_pcigart.c:218:2: error: implicit declaration of function ‘wbinvd’ [-Werror=implicit-function-declaration]
  wbinvd();
  ^~~~~~

Fixes: 68f5d3f3b6 ("um: add PCI over virtio emulation driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: linux-um@lists.infradead.org
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211011080006.31081-1-rdunlap@infradead.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2021-10-15 15:05:10 +10:00
..
Makefile drm/r128: make ATI PCI GART part of its only user, r128 2019-11-20 11:09:05 +02:00
ati_pcigart.c drm/r128: fix build for UML 2021-10-15 15:05:10 +10:00
ati_pcigart.h drm/r128: make ATI PCI GART part of its only user, r128 2019-11-20 11:09:05 +02:00
r128_cce.c drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
r128_drv.c drm/r128: Remove references to struct drm_device.pdev 2021-05-03 19:48:27 +02:00
r128_drv.h gpu: drm: replace occurrences of invalid character 2021-05-19 12:39:08 -04:00
r128_ioc32.c drm/r128/r128_ioc32: Fix formatting issues in 'r128_compat_ioctl()'s header 2021-01-18 15:41:04 +01:00
r128_irq.c drm/r128: drop use of drmP.h 2019-07-17 12:52:55 +02:00
r128_state.c drm/r128: Remove references to struct drm_device.pdev 2021-05-03 19:48:27 +02:00