summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2022-02-14 07:28:38 +0100
committerChristian König <christian.koenig@amd.com>2022-02-14 14:34:36 +0100
commit90d4aa20c8cc76f5baecd423b5dc289b899ebc42 (patch)
treeb8acfea53ea8eb6cfa99151839accdc9e4643d3f /include/drm
parent8f8dbb35a6282f5fcedac48f3fea3eabbb6b3703 (diff)
drm/ttm: fix resource manager size type and description
Leave the man->size units as driver defined. Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220214093439.2989-1-christian.koenig@amd.com Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/ttm/ttm_resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_resource.h b/include/drm/ttm/ttm_resource.h
index 69eea9d6399b..555a11fb8a7f 100644
--- a/include/drm/ttm/ttm_resource.h
+++ b/include/drm/ttm/ttm_resource.h
@@ -278,7 +278,7 @@ void ttm_resource_set_bo(struct ttm_resource *res,
void ttm_resource_manager_init(struct ttm_resource_manager *man,
struct ttm_device *bdev,
- unsigned long p_size);
+ uint64_t size);
int ttm_resource_manager_evict_all(struct ttm_device *bdev,
struct ttm_resource_manager *man);