mirror-linux/include/drm/ttm
Tvrtko Ursulin 402b3a8650 drm/ttm: Add an allocation flag to propagate -ENOSPC on OOM
Some graphics APIs differentiate between out-of-graphics-memory and
out-of-host-memory (system memory). Add a device init flag to have -ENOSPC
propagated from the resource managers instead of being converted to
-ENOMEM, to aid driver stacks in determining what error code to return or
whether corrective action can be taken at the driver level.

Co-developed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20251020115411.36818-7-tvrtko.ursulin@igalia.com
2025-10-31 09:27:28 +00:00
..
ttm_allocation.h drm/ttm: Add an allocation flag to propagate -ENOSPC on OOM 2025-10-31 09:27:28 +00:00
ttm_backup.h drm/ttm: Remove the struct ttm_backup abstraction 2025-05-06 10:57:27 +02:00
ttm_bo.h drm/ttm: rename ttm_bo_put to _fini v3 2025-09-17 14:03:21 +02:00
ttm_caching.h drm/ttm: make ttm_caching.h self-contained 2024-03-11 11:47:06 +02:00
ttm_device.h drm/ttm: Add an allocation flag to propagate -ENOSPC on OOM 2025-10-31 09:27:28 +00:00
ttm_execbuf_util.h drm/ttm: fix ttm_execbuf_util.h kernel-doc warnings 2024-03-11 11:47:06 +02:00
ttm_kmap_iter.h drm/ttm: fix ttm_kmap_iter.h kernel-doc warnings 2024-03-11 11:47:06 +02:00
ttm_placement.h drm/ttm: replace busy placement with flags v6 2024-01-25 09:59:44 +01:00
ttm_pool.h drm/ttm: Replace multiple booleans with flags in pool init 2025-10-31 09:01:08 +00:00
ttm_range_manager.h drm/ttm: Try to check if new ttm man out of bounds during compile 2021-09-13 10:14:28 +02:00
ttm_resource.h drm/ttm: replace drm_print.h include with a forward declaration 2025-10-31 10:34:56 +02:00
ttm_tt.h drm/ttm: Remove the struct ttm_backup abstraction 2025-05-06 10:57:27 +02:00