diff options
| author | Dave Airlie <[email protected]> | 2025-04-23 02:21:38 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2025-04-23 20:56:35 +0000 |
| commit | 55df7c0c62c1727c399fc82150b7f72bee47d4c6 (patch) | |
| tree | 8a9ac168c1f3e709ffc89699b4efe60fc0ebf3d0 /drivers/gpu/drm/ttm/ttm_resource.c | |
| parent | Merge tag 'drm-intel-next-2025-04-11' of https://gitlab.freedesktop.org/drm/i... (diff) | |
| download | kernel-55df7c0c62c1727c399fc82150b7f72bee47d4c6.tar.gz kernel-55df7c0c62c1727c399fc82150b7f72bee47d4c6.zip | |
drm/ttm/xe: drop unused force_alloc flag
This flag used to be used in the old memory tracking code, that
code got migrated into the vmwgfx driver[1], and then got removed
from the tree[2], but this piece got left behind.
[1] f07069da6b4c ("drm/ttm: move memory accounting into vmwgfx v4")
[2] 8aadeb8ad874 ("drm/vmwgfx: Remove the dedicated memory accounting")
Cleanup the dead code.
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_resource.c')
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_resource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_resource.c b/drivers/gpu/drm/ttm/ttm_resource.c index 7e5a60c55813..769b0ca9be47 100644 --- a/drivers/gpu/drm/ttm/ttm_resource.c +++ b/drivers/gpu/drm/ttm/ttm_resource.c @@ -548,7 +548,6 @@ int ttm_resource_manager_evict_all(struct ttm_device *bdev, struct ttm_operation_ctx ctx = { .interruptible = false, .no_wait_gpu = false, - .force_alloc = true }; struct dma_fence *fence; int ret; |
