commit 1cfef1a587a371344cf93e80367482432b0933a2 Author: François Tigeot <ftig...@wolfpond.org> Date: Fri May 3 21:56:27 2019 +0200
drm: Sync ttm and radeon drivers with Linux 3.18 Summary of changes: sys/conf/files | 1 + sys/dev/drm/include/drm/ttm/ttm_bo_api.h | 31 +-- sys/dev/drm/include/drm/ttm/ttm_bo_driver.h | 45 +--- sys/dev/drm/include/drm/ttm/ttm_execbuf_util.h | 24 +- sys/dev/drm/include/linux/shrinker.h | 5 + sys/dev/drm/radeon/Makefile | 4 + sys/dev/drm/radeon/cik.c | 25 +- sys/dev/drm/radeon/cik_sdma.c | 25 +- sys/dev/drm/radeon/evergreen_dma.c | 24 +- sys/dev/drm/radeon/r100.c | 21 +- sys/dev/drm/radeon/r200.c | 21 +- sys/dev/drm/radeon/r600.c | 23 +- sys/dev/drm/radeon/r600_dma.c | 25 +- sys/dev/drm/radeon/radeon.h | 93 ++++--- sys/dev/drm/radeon/radeon_asic.h | 75 +++--- sys/dev/drm/radeon/radeon_benchmark.c | 30 +-- sys/dev/drm/radeon/radeon_connectors.c | 19 +- sys/dev/drm/radeon/radeon_cs.c | 77 ++++-- sys/dev/drm/radeon/radeon_device.c | 3 + sys/dev/drm/radeon/radeon_display.c | 7 +- sys/dev/drm/radeon/radeon_drv.c | 5 +- sys/dev/drm/radeon/radeon_fence.c | 279 ++++++++++++++++---- sys/dev/drm/radeon/radeon_gem.c | 117 ++++++++- sys/dev/drm/radeon/radeon_ib.c | 2 +- sys/dev/drm/radeon/radeon_irq_kms.c | 2 - sys/dev/drm/radeon/radeon_mn.c | 279 ++++++++++++++++++++ sys/dev/drm/radeon/radeon_object.c | 13 +- sys/dev/drm/radeon/radeon_pm.c | 118 +++++---- sys/dev/drm/radeon/radeon_prime.c | 8 + sys/dev/drm/radeon/radeon_semaphore.c | 53 +++- sys/dev/drm/radeon/radeon_test.c | 22 +- sys/dev/drm/radeon/radeon_ttm.c | 44 +--- sys/dev/drm/radeon/radeon_uvd.c | 6 +- sys/dev/drm/radeon/radeon_vm.c | 184 +++++++------ sys/dev/drm/radeon/rv770_dma.c | 25 +- sys/dev/drm/radeon/si_dma.c | 25 +- sys/dev/drm/radeon/sislands_smc.h | 1 + sys/dev/drm/ttm/ttm_bo.c | 340 ++++++++++++------------- sys/dev/drm/ttm/ttm_bo_manager.c | 8 +- sys/dev/drm/ttm/ttm_bo_util.c | 48 +--- sys/dev/drm/ttm/ttm_bo_vm.c | 12 +- sys/dev/drm/ttm/ttm_execbuf_util.c | 160 +++++------- sys/dev/drm/ttm/ttm_memory.c | 3 +- sys/dev/drm/ttm/ttm_module.c | 2 +- sys/dev/drm/ttm/ttm_page_alloc.c | 39 ++- sys/dev/drm/ttm/ttm_tt.c | 13 +- 46 files changed, 1485 insertions(+), 901 deletions(-) create mode 100644 sys/dev/drm/radeon/radeon_mn.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1cfef1a587a371344cf93e80367482432b0933a2 -- DragonFly BSD source repository