diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-03-02 00:56:22 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-03-03 11:00:24 +0100 |
commit | 19dff56a5f4ba1f3a6e28282415a95a48c27bccf (patch) | |
tree | fe3f4ddccdfe7846a6bc9deace1e6e130182854c /drivers/gpu/drm/radeon/radeon_object.h | |
parent | c9b76548899cde2e729e3bca015d7e78ec5baad7 (diff) | |
download | talos-obmc-linux-19dff56a5f4ba1f3a6e28282415a95a48c27bccf.tar.gz talos-obmc-linux-19dff56a5f4ba1f3a6e28282415a95a48c27bccf.zip |
drm/radeon: limit how much memory TTM can move per IB according to VRAM usage
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_object.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.h b/drivers/gpu/drm/radeon/radeon_object.h index 6c3ca9edc2f4..7dff64d1f592 100644 --- a/drivers/gpu/drm/radeon/radeon_object.h +++ b/drivers/gpu/drm/radeon/radeon_object.h @@ -138,7 +138,8 @@ extern int radeon_bo_evict_vram(struct radeon_device *rdev); extern void radeon_bo_force_delete(struct radeon_device *rdev); extern int radeon_bo_init(struct radeon_device *rdev); extern void radeon_bo_fini(struct radeon_device *rdev); -extern int radeon_bo_list_validate(struct ww_acquire_ctx *ticket, +extern int radeon_bo_list_validate(struct radeon_device *rdev, + struct ww_acquire_ctx *ticket, struct list_head *head, int ring); extern int radeon_bo_fbdev_mmap(struct radeon_bo *bo, struct vm_area_struct *vma); |