diff options
author | Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> | 2023-07-07 21:13:55 -0400 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2023-07-10 17:30:51 +0200 |
commit | 35d67ee3e9c9bcaaab9f217cb3cc6dacf21f2b96 (patch) | |
tree | 9cf1fbcd1eac0558bb0d0325e295beeed9c23ef5 /drivers/gpu/drm/arm | |
parent | 45a4ff624f155314b6188d7cb53e80f3861beb0b (diff) | |
download | linux-35d67ee3e9c9bcaaab9f217cb3cc6dacf21f2b96.tar.gz linux-35d67ee3e9c9bcaaab9f217cb3cc6dacf21f2b96.tar.bz2 linux-35d67ee3e9c9bcaaab9f217cb3cc6dacf21f2b96.zip |
drm/ttm: Use init_on_free to delay release TTM BOs
Delay release TTM BOs when the kernel default setting is init_on_free.
This offloads the overhead of clearing the system memory to the work
item and potentially a different CPU. This could be very beneficial when
the application does a lot of malloc/free style allocations of system
memory.
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>.
Link: https://patchwork.freedesktop.org/patch/msgid/20230708011355.853-1-rajneesh.bhardwaj@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/arm')
0 files changed, 0 insertions, 0 deletions