aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge v7.1-rc5 into drm-nextSimona Vetter1-0/+2
2026-05-13drm/ttm: Support 52-bit PAs in ttm_placeFelix Kuehling1-2/+2
2026-05-08drm/ttm: Fix ttm_bo_swapout() infinite LRU walk on swapout failureThomas Hellström1-0/+2
2026-04-08ttm/pool: port to list_lru. (v2)Dave Airlie1-4/+3
2026-03-20drm/ttm: Update the struct ttm_operation_ctx kerneldocThomas Hellström1-9/+19
2026-03-20drm/ttm: Avoid invoking the OOM killer when reading back swapped contentThomas Hellström1-1/+1
2025-11-26drm/ttm: rework pipelined eviction fence handlingPierre-Eric Pelloux-Prayer1-8/+21
2025-11-06drm/ttm: Fix @alloc_flags descriptionBagas Sanjaya2-2/+2
2025-10-31drm/ttm: Add an allocation flag to propagate -ENOSPC on OOMTvrtko Ursulin2-0/+6
2025-10-31drm/ttm: Allow drivers to specify maximum beneficial TTM pool sizeTvrtko Ursulin1-2/+3
2025-10-31drm/ttm: Replace multiple booleans with flags in device initTvrtko Ursulin1-1/+2
2025-10-31drm/ttm: Replace multiple booleans with flags in pool initTvrtko Ursulin2-5/+13
2025-10-31drm/ttm: replace drm_print.h include with a forward declarationJani Nikula1-1/+2
2025-10-13Merge drm/drm-next into drm-misc-nextThomas Zimmermann1-1/+1
2025-09-22Merge tag 'amd-drm-next-6.18-2025-09-19' of https://gitlab.freedesktop.org/ag...Dave Airlie1-1/+1
2025-09-17drm/ttm: rename ttm_bo_put to _fini v3Christian König1-1/+1
2025-09-11ttm/bo: add an API to populate a bo before exporting.Dave Airlie1-0/+2
2025-09-09drm/ttm: Bump TTM_NUM_MEM_TYPES to 9 (Prep for AMDGPU_PL_MMIO_REMAP)Srinivasan Shanmugam1-1/+1
2025-07-10drm/ttm: add new api ttm_device_prepare_hibernation()Samuel Zhang1-0/+1
2025-07-08Merge tag 'drm-intel-next-2025-07-04' of https://gitlab.freedesktop.org/drm/i...Simona Vetter1-0/+1
2025-06-27drm/ttm: Add ttm_bo_kmap_try_from_panic()Jocelyn Falempe1-0/+1
2025-06-26drm/ttm, drm_xe, Implement ttm_lru_walk_for_evict() using the guarded LRU ite...Thomas Hellström1-2/+7
2025-06-26drm/ttm, drm/xe: Modify the struct ttm_bo_lru_walk_cursor initializationThomas Hellström1-8/+8
2025-06-26drm/ttm: Use a struct for the common part of struct ttm_lru_walk and struct t...Thomas Hellström1-9/+14
2025-06-11Merge drm/drm-next into drm-misc-nextThomas Zimmermann2-11/+9
2025-05-28Merge tag 'drm-next-2025-05-28' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds1-2/+0
2025-05-26drm/ttm: make ttm_bo_get internalChristian König1-10/+0
2025-05-26drm/ttm: revert "Export ttm_bo_get_unless_zero()"Christian König1-18/+0
2025-05-06drm/ttm: Remove the struct ttm_backup abstractionThomas Hellström2-8/+6
2025-05-06drm/ttm: Fix ttm_backup kerneldocThomas Hellström1-3/+3
2025-04-24drm/ttm/xe: drop unused force_alloc flagDave Airlie1-2/+0
2025-03-05drm/ttm: Add helpers for shrinkingThomas Hellström2-0/+23
2025-03-05drm/ttm: Add a macro to perform LRU iterationThomas Hellström1-0/+72
2025-03-05drm/ttm/pool, drm/ttm/tt: Provide a helper to shrink pagesThomas Hellström2-2/+73
2025-03-05drm/ttm: Provide a shmem backup implementationThomas Hellström1-0/+74
2025-02-06Merge drm/drm-next into drm-misc-nextMaxime Ripard2-1/+13
2025-01-13drm/ttm: Balance ttm_resource_cursor_init() and ttm_resource_cursor_fini()Thomas Hellström1-5/+6
2025-01-11Merge tag 'cgroup-dmem-drm-v2' of git://git.kernel.org/pub/scm/linux/kernel/g...Dave Airlie1-1/+11
2025-01-10drm/ttm: Handle cgroup based eviction in TTMMaarten Lankhorst1-1/+11
2024-11-27drm/ttm: Add ttm_bo_accessMatthew Brost1-0/+2
2024-10-11drm/ttm: Fix incorrect use of kernel-doc formatThomas Hellström1-1/+1
2024-10-09drm/ttm: Move swapped objects off the manager's LRU listThomas Hellström3-2/+10
2024-09-11Merge v6.11-rc7 into drm-nextSimona Vetter1-4/+0
2024-08-26drm/ttm: fix kernel-doc typo for @trylock_onlyJani Nikula1-1/+1
2024-08-23Revert "drm/ttm: increase ttm pre-fault value to PMD size"Alex Deucher1-4/+0
2024-07-09drm/ttm: Use the LRU walker for evictionThomas Hellström1-5/+3
2024-07-09drm/ttm: Use the LRU walker helper for swappingThomas Hellström2-4/+3
2024-07-09drm/ttm: Provide a generic LRU walker helperThomas Hellström1-0/+35
2024-07-09drm/ttm, drm/amdgpu, drm/xe: Consider hitch moves within bulk sublist movesThomas Hellström1-21/+35
2024-07-09drm/ttm: Use LRU hitchesThomas Hellström1-2/+7
2024-07-09drm/ttm: Slightly clean up LRU list iterationThomas Hellström1-4/+6
2024-07-09drm/ttm: Allow TTM LRU list nodes of different typesThomas Hellström1-1/+53
2024-06-20drm/ttm: increase ttm pre-fault value to PMD sizeZhu Lingshan1-0/+4
2024-03-20drm/ttm: warn when resv objs are mixed in a bulk_moveChristian König1-0/+3
2024-03-11drm/ttm: make ttm_pool.h self-containedJani Nikula1-2/+3
2024-03-11drm/ttm: fix ttm_kmap_iter.h kernel-doc warningsJani Nikula1-2/+2
2024-03-11drm/ttm: fix ttm_execbuf_util.h kernel-doc warningsJani Nikula1-4/+3
2024-03-11drm/ttm: make ttm_caching.h self-containedJani Nikula1-0/+2
2024-03-11drm/ttm: fix ttm_bo.h kernel-doc warningsJani Nikula1-6/+11
2024-03-01drm/ttm: improve idle/busy handling v5Christian König1-1/+2
2024-01-29Merge drm/drm-next into drm-misc-nextMaxime Ripard1-1/+1
2024-01-26drm/ttm: Make sure the mapped tt pages are decrypted when neededZack Rusin1-1/+8
2024-01-25drm/ttm: replace busy placement with flags v6Somalapuram Amaranath2-10/+8
2024-01-08mm, treewide: introduce NR_PAGE_ORDERSKirill A. Shutemov1-1/+1
2023-08-10drm/ttm: Remove two unused function declarationsYue Haibing1-2/+0
2023-06-15Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd...Dave Airlie2-2/+4
2023-06-09drm/ttm: add NUMA node id to the poolRajneesh Bhardwaj1-1/+3
2023-06-09drm/ttm: Helper function to get TTM mem limitMukul Joshi1-1/+1
2023-05-17drm/ttm: let struct ttm_device_funcs be placed in rodataJani Nikula1-2/+2
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-03-09drm/ttm: Use the BIT macro for the TTM_TT_FLAGsThomas Hellström1-5/+5
2023-03-03ttm/ttm_device.h: fix a trival typosuijingfeng1-1/+1
2023-01-18drm/ttm/vmwgfx: move ttm_bo_wait into VMWGFXChristian König1-1/+0
2022-12-06drm/ttm: merge ttm_bo_api.h and ttm_bo_driver.h v2Christian König3-483/+165
2022-12-06drm/ttm: use per BO cleanup workersChristian König2-19/+6
2022-12-06drm/ttm: remove ttm_bo_(un)lock_delayed_workqueueChristian König1-16/+0
2022-11-02drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATEDGaosheng Cui1-1/+1
2022-10-27drm/ttm: rework on ttm_resource to use size_t typeSomalapuram Amaranath1-2/+2
2022-09-07drm/ttm: Remove unnecessary '0' values from retLi zeming1-1/+1
2022-08-22drm/ttm: Add new callbacks to ttm res mgrArunpravin Paneer Selvam1-0/+40
2022-07-13Merge drm/drm-next into drm-misc-nextMaxime Ripard1-4/+4
2022-07-11drm/ttm: rename and cleanup ttm_bo_initChristian König1-85/+8
2022-06-14drm/ttm: fix bulk move handling v2Christian König1-4/+4
2022-04-20drm/ttm: Add common debugfs code for resource managersZack Rusin1-0/+4
2022-04-13drm/ttm: fix kerneldoc for ttm_lru_bulk_moveChristian König1-2/+1
2022-04-12drm/ttm: stop passing NULL fence in ttm_bo_move_sync_cleanupMatthew Auld1-8/+3
2022-04-07drm/ttm: remove bo->movingChristian König1-2/+0
2022-04-05Merge drm/drm-next into drm-misc-nextMaxime Ripard3-14/+13
2022-04-02drm/ttm: Add a parameter to add extra pages into ttm_ttRamalingam C1-1/+3
2022-03-29drm/amdgpu: drop amdgpu_gtt_nodeChristian König1-0/+8
2022-03-29drm/ttm: rework bulk move handling v5Christian König4-26/+12
2022-03-29drm/ttm: de-inline ttm_bo_pin/unpinChristian König1-28/+2
2022-03-28drm/ttm: allow bulk moves for all domainsChristian König2-4/+2
2022-03-28drm/ttm: add resource iterator v4Christian König1-0/+23
2022-03-28drm/ttm: move the LRU into resource handling v4Christian König3-44/+41
2022-02-25Merge tag 'drm-misc-next-2022-02-23' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-3/+9
2022-02-14drm/ttm: add common accounting to the resource mgr v3Christian König1-2/+9
2022-02-14drm/ttm: fix resource manager size type and descriptionChristian König1-1/+1
2022-02-11Merge tag 'drm-intel-next-2022-02-08' of git://anongit.freedesktop.org/drm/dr...Dave Airlie3-13/+13
2022-02-07dma-buf-map: Rename to iosys-mapLucas De Marchi3-13/+13
2022-01-26drm/ttm: add a weak BO reference to the resource v3Christian König1-0/+4
2022-01-26drm/ttm: add back a reference to the bdev to the res managerChristian König1-7/+9
2022-01-26drm/ttm: add ttm_resource_fini v2Christian König1-0/+3
2021-12-01drm/ttm: Clarify that the TTM_PL_SYSTEM is under TTMs controlZack Rusin1-0/+11
2021-11-30drm/ttm: Don't include drm_hashtab.hThomas Zimmermann1-1/+0
2021-11-11Merge tag 'drm-misc-next-fixes-2021-11-10' of git://anongit.freedesktop.org/d...Dave Airlie1-2/+1
2021-11-05drm/ttm: remove ttm_bo_vm_insert_huge()Jason Gunthorpe1-2/+1
2021-11-05Merge tag 'drm-misc-next-2021-10-14' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-2/+4
2021-10-13drm/ttm_bo_api: update the description for @placement and @sgAmos Kong1-2/+4
2021-10-11Merge tag 'drm-intel-gt-next-2021-10-08' of git://anongit.freedesktop.org/drm...Dave Airlie1-1/+1
2021-09-29drm/ttm: add TTM_TT_FLAG_EXTERNAL_MAPPABLEMatthew Auld1-3/+16
2021-09-29drm/ttm: add some kernel-doc for TTM_TT_FLAG_*Matthew Auld1-19/+41
2021-09-29drm/ttm: s/FLAG_SG/FLAG_EXTERNAL/Matthew Auld2-10/+10
2021-09-29drm/ttm: remove TTM_PAGE_FLAG_NO_RETRYMatthew Auld1-1/+0
2021-09-15Merge drm/drm-next into drm-intel-gt-nextJoonas Lahtinen2-3/+7
2021-09-14Merge drm/drm-next into drm-misc-nextMaxime Ripard1-1/+2
2021-09-13drm/ttm: Try to check if new ttm man out of bounds during compilexinhui pan2-2/+19
2021-09-09drm/ttm: enable TTM page pool kerneldocChristian König1-2/+3
2021-09-09drm/ttm: enable TTM TT object kerneldoc v2Christian König1-3/+8
2021-09-09drm/ttm: enable TTM placement kerneldocChristian König1-0/+1
2021-09-09drm/ttm: enable TTM resource object kerneldoc v2Christian König1-4/+2
2021-09-09drm/ttm: enable TTM device object kerneldoc v2Christian König1-33/+39
2021-09-09drm/ttm: add kerneldoc for enum ttm_cachingChristian König1-0/+17
2021-09-03drm/ttm: cleanup ttm_resource_compatChristian König2-12/+3
2021-09-01drm/ttm: Clear all DMA mappings on demandAndrey Grodzovsky1-0/+1
2021-08-30drm/ttm: Create pinned listAndrey Grodzovsky1-0/+1
2021-08-25drm/ttm, drm/i915: Update ttm_move_memcpy for async useThomas Hellström1-1/+1
2021-08-23drm/ttm: remove ttm_tt_destroy_common v2Christian König1-7/+0
2021-08-16drm/ttm: Include pagemap.h from ttm_tt.hJason Ekstrand1-0/+1
2021-08-16drm/ttm: ttm_bo_device is now ttm_deviceJason Ekstrand1-1/+1
2021-06-23drm/ttm: add TTM_PL_FLAG_TEMPORARY flag v3Lang Yu1-2/+5
2021-06-07drm/ttm: Document and optimize ttm_bo_pipeline_gutting()Thomas Hellström1-0/+13
2021-06-07drm/ttm: Add a generic TTM memcpy move for page-based iomemThomas Hellström5-0/+168
2021-06-04drm/ttm: flip the switch for driver allocated resources v2Christian König2-28/+18
2021-06-04drm/ttm: flip over the range manager to self allocated nodesChristian König3-26/+46
2021-06-04drm/ttm: allocate resource object instead of embedding it v2Christian König3-9/+6
2021-06-02drm/ttm: rename bo->mem and make it a pointerChristian König2-4/+5
2021-05-26drm/ttm: Remove ttm_bo_mmap() and friendsThomas Zimmermann2-28/+0
2021-05-19drm/ttm: Remap all page faults to per process dummy page.Andrey Grodzovsky1-0/+2
2021-04-26Merge drm/drm-next into drm-misc-nextMaxime Ripard1-2/+4
2021-04-23drm/ttm: move the page_alignment into the BO v2Christian König2-2/+2
2021-04-23drm/ttm: remove special handling for non GEM driversChristian König1-19/+0
2021-04-13Merge drm/drm-fixes into drm-nextDaniel Vetter1-2/+4
2021-03-29drm/ttm: switch back to static allocation limits for nowChristian König1-2/+1
2021-03-24drm/ttm: switch to per device LRU lockChristian König2-4/+4
2021-03-24drm/ttm: remove swap LRU v3Christian König3-7/+2
2021-03-24drm/ttm: move swapout logic around v3Christian König2-1/+4
2021-03-15drm/ttm: make ttm_bo_unpin more defensiveChristian König1-2/+4
2021-02-09drm/ttm: move memory accounting into vmwgfx v4Christian König4-107/+3
2021-02-09drm/ttm: rework ttm_tt page limit v4Christian König2-2/+6
2021-02-09drm/ttm: fix removal of bo_count sysfs fileChristian König1-1/+0
2021-01-21drm/ttm: device naming cleanupChristian König5-344/+352
2021-01-18drm/ttm: WARN_ON non-empty lru when disabling a resource managerDaniel Vetter1-0/+4
2020-12-15drm/ttm: cleanup LRU handling furtherChristian König2-2/+5
2020-12-14drm/ttm: cleanup BO size handling v3Christian König2-7/+3
2020-12-01drm/ttm/drivers: remove unecessary ttm_module.h include v2Christian König2-41/+0
2020-11-30drm/ttm: nuke ttm_dma_tt_initChristian König1-2/+0
2020-11-27drm/ttm: Warn on pinning without holding a referenceDaniel Vetter1-0/+2
2020-11-11drm/ttm: add multihop infrastrucutre (v3)Dave Airlie1-1/+6
2020-11-09drm/ttm: Add vmap/vunmap to TTM and TTM GEM helpersThomas Zimmermann1-0/+28
2020-11-04drm/ttm: replace context flags with bools v2Christian König1-7/+6
2020-11-04drm/ttm: rework no_retry handling v2Christian König2-3/+2
2020-10-29drm/ttm: nuke old page allocatorChristian König3-126/+0
2020-10-29drm/ttm: wire up the new pool as default one v2Christian König1-4/+7
2020-10-29drm/ttm: new TT backend allocation pool v3Christian König2-0/+93
2020-10-26drm/ttm: merge ttm_dma_tt back into ttm_ttChristian König2-31/+16
2020-10-26drm/ttm: make num_pages uint32_tChristian König1-1/+1
2020-10-26drm/ttm: nuke ttm_tt_set_(un)populated againChristian König1-10/+0
2020-10-22drm/ttm: replace last move_notify with delete_mem_notifyDave Airlie1-8/+2
2020-10-21drm/ttm: move last binding into the drivers.Dave Airlie1-14/+0
2020-10-21drm/ttm: remove move to new and inline into remainging place.Dave Airlie1-4/+0
2020-10-21drm/ttm: drop unbind callback.Dave Airlie1-18/+0
2020-10-21drm/ttm: add move to system into driversDave Airlie1-2/+0
2020-10-20drm/ttm: drop ttm_bo_move_ttm wrapperDave Airlie1-22/+0
2020-10-20drm/ttm: add move old to system to drivers.Dave Airlie1-0/+2
2020-10-20drm/ttm: refactor out common code to setup a new tt backed resourceDave Airlie1-0/+4
2020-10-19drm/ttm: drop free old node wrapper.Dave Airlie1-9/+0
2020-10-15drm/ttm: nuke caching placement flagsChristian König2-29/+0
2020-10-15drm/ttm: use caching instead of placement for ttm_io_protChristian König1-2/+4
2020-10-15drm/ttm: add caching state to ttm_bus_placementChristian König1-3/+5
2020-10-15drm/ttm: set the tt caching state at creation timeChristian König2-10/+40
2020-10-07drm/ttm: move ttm_set_memory.h out of includeChristian König1-84/+0
2020-10-07drm/ttm: remove ttm_bo_unmap_virtual_locked declaration v2Christian König1-9/+0
2020-10-07drm/vmwgfx: move ttm_bo_swapout_all into vmwgfxChristian König1-1/+0
2020-10-07drm/ttm: drop glob parameter from ttm_bo_swapoutChristian König1-2/+1
2020-10-07drm/ttm: nuke ttm_bo_evict_mm and rename mgr function v3Christian König2-22/+2
2020-10-07drm/ttm: remove TTM_PAGE_FLAG_WRITEChristian König1-1/+0
2020-09-28drm/ttm: remove fault callbackChristian König1-3/+0
2020-09-24drm/ttm: remove TTM_PL_FLAG_NO_EVICTChristian König1-1/+0
2020-09-24drm/ttm: remove ttm_bo_createChristian König1-24/+0
2020-09-24drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2Christian König1-0/+26
2020-09-24drm/ttm: remove persistent_swap_storageChristian König2-6/+1
2020-09-24drm/ttm: add bo wait that takes a ctx wrapper.Dave Airlie1-0/+5
2020-09-23drm/ttm: stop dangerous caching attribute changeChristian König1-22/+0
2020-09-23drm/ttm: remove nonsense AGP handlingChristian König1-44/+0
2020-09-18drm/ttm: drop evicted from ttm_bo.Dave Airlie1-1/+0
2020-09-18drm/ttm: drop special pipeline accel cleanup function.Dave Airlie1-15/+2
2020-09-18drm/ttm: add a simple assign mem to bo wrapperDave Airlie1-2/+8
2020-09-18drm/ttm: flip tt destroy ordering.Dave Airlie1-0/+7