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_cs.c | |
parent | drm/radeon: validate relocations in the order determined by userspace v3 (diff) | |
download | linux-19dff56a5f4ba1f3a6e28282415a95a48c27bccf.tar.xz 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_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 07e165128dbf..5abae403ea4f 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c @@ -168,7 +168,7 @@ static int radeon_cs_parser_relocs(struct radeon_cs_parser *p) radeon_cs_buckets_get_list(&buckets, &p->validated); - return radeon_bo_list_validate(&p->ticket, &p->validated, p->ring); + return radeon_bo_list_validate(p->rdev, &p->ticket, &p->validated, p->ring); } static int radeon_cs_get_ring(struct radeon_cs_parser *p, u32 ring, s32 priority) |