summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_tt.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-06-16 15:33:23 +0300
committerChristian König <christian.koenig@amd.com>2020-06-29 18:54:12 +0300
commit58e4d686d456c3e356439ae160ff4a0728940b8e (patch)
treea3faa1faa59b975b50e268a5049c50737acd385a /drivers/gpu/drm/ttm/ttm_tt.c
parent60e9eabf41fa916d2ef68c5bf929197975917578 (diff)
downloadlinux-58e4d686d456c3e356439ae160ff4a0728940b8e.tar.xz
drm/ttm: cleanup ttm_mem_type_manager_func.get_node interface v3
Instead of signaling failure by setting the node pointer to NULL do so by returning -ENOSPC. v2: add memset() to make sure that mem is always initialized. v3: drop memset() only set mm_node = NULL, move mm_node init in amdgpu Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Link: https://patchwork.freedesktop.org/patch/373181/
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_tt.c')
0 files changed, 0 insertions, 0 deletions