diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2008-01-17 13:10:36 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2008-03-12 10:10:03 +0100 |
commit | c0a1cd052ac44d1b342fa3f26afe1bd21d92b194 (patch) | |
tree | 38c75825b1bb6208c24b524b5ac5994d902cb0bf /linux-core/drmP.h | |
parent | 7bcce66a1d5c93ff9b9f20d45d5b2c33c8ca8da9 (diff) |
Add an emergency pinnable memory quota for root-only processes.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 1fea807b..2f76f3df 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -1001,8 +1001,10 @@ extern int drm_unbind_agp(DRM_AGP_MEM * handle); extern void drm_free_memctl(size_t size); extern int drm_alloc_memctl(size_t size); extern void drm_query_memctl(uint64_t *cur_used, + uint64_t *emer_used, uint64_t *low_threshold, - uint64_t *high_threshold); + uint64_t *high_threshold, + uint64_t *emer_threshold); extern void drm_init_memctl(size_t low_threshold, size_t high_threshold, size_t unit_size); |