summaryrefslogtreecommitdiffstats
path: root/kernel/taskstats.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2018-10-16 10:04:09 +0200
committerAlex Deucher <alexander.deucher@amd.com>2018-11-05 14:20:52 -0500
commit105f20706fb5df8b763e3d9a9bfbfa73386391c3 (patch)
tree68211ef5e7cc5aa0bab8ef5a83858e682057d275 /kernel/taskstats.c
parente55a5c9b5f5b80275a38293ac0fd38336dd2efdf (diff)
downloadlinux-105f20706fb5df8b763e3d9a9bfbfa73386391c3.tar.gz
linux-105f20706fb5df8b763e3d9a9bfbfa73386391c3.tar.bz2
linux-105f20706fb5df8b763e3d9a9bfbfa73386391c3.zip
drm/ttm: Provide ttm_bo_global_{init/release}() for struct ttm_bo_global
So far, struct ttm_bo_global_ref was the only way of initializing a struct ttm_bo_global. Providing separate initializer and release functions for struct ttm_bo_global gives drivers the option of implementing their own init and release callbacks for drm_global_references of type DRM_GLOBAL_TTM_BO. The original functions for initializing and releasing via struct ttm_bo_global_ref are wrappers around the new interfaces. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions