linux/drivers/gpu/drm/ttm
Johannes Berg 016017a195 drm/ttm: fix compilation on ARCH=um
Even if it's probably not really useful, it can get selected
by e.g. randconfig builds, and then failing to compile is an
annoyance. Unfortunately, it's hard to fix in Kconfig, since
DRM_TTM is selected by many things that don't really depend
on any specific architecture, and just depend on PCI (which
is indeed now available in ARCH=um via simulation/emulation).

Fix this in the code instead by just ifdef'ing the relevant
two lines that depend on "real X86".

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211220111519.a4c8c6eff702.Ie4cf4e68698f6a9f546b83379bc52c266504424f@changeid
2022-01-14 13:30:56 +01:00
..
Makefile drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_agp_backend.c drm/ttm: cleanup ttm_agp_backend 2021-05-03 12:50:41 +02:00
ttm_bo.c drm/ttm: fix ttm_bo_swapout 2021-12-03 14:01:46 +01:00
ttm_bo_util.c Linux 5.15 2021-11-12 09:23:16 +10:00
ttm_bo_vm.c drm/ttm: remove ttm_bo_vm_insert_huge() 2021-11-05 11:13:19 +01:00
ttm_device.c Merge drm/drm-next into drm-misc-next 2021-09-14 09:25:30 +02:00
ttm_execbuf_util.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_module.c drm/ttm: fix compilation on ARCH=um 2022-01-14 13:30:56 +01:00
ttm_module.h drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_pool.c drm/ttm: s/FLAG_SG/FLAG_EXTERNAL/ 2021-09-29 16:17:56 +02:00
ttm_range_manager.c drm/ttm: Try to check if new ttm man out of bounds during compile 2021-09-13 10:14:28 +02:00
ttm_resource.c drm/ttm: cleanup ttm_resource_compat 2021-09-03 11:03:59 +02:00
ttm_sys_manager.c drm/ttm: flip the switch for driver allocated resources v2 2021-06-04 15:16:46 +02:00
ttm_tt.c drm/ttm: add TTM_TT_FLAG_EXTERNAL_MAPPABLE 2021-09-29 16:18:43 +02:00