diff options
author | Christian König <deathsimple@vodafone.de> | 2012-10-09 13:31:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-10-15 13:21:01 -0400 |
commit | 13e55c38f8ba4bb15ff9b51e2c5e7801c0f29526 (patch) | |
tree | db7d32c985655841ede2fa940312a1113a2f2e3c /drivers/gpu/drm/radeon/radeon_cs.c | |
parent | d72d43cfc5847c176edabc72e6431ba691322c98 (diff) | |
download | lwn-13e55c38f8ba4bb15ff9b51e2c5e7801c0f29526.tar.gz lwn-13e55c38f8ba4bb15ff9b51e2c5e7801c0f29526.zip |
drm/radeon: separate pt alloc from lru add
Make it possible to allocate a persistent page table.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index cb7b7c062fef..41672cc563fb 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c @@ -478,6 +478,7 @@ static int radeon_cs_ib_vm_chunk(struct radeon_device *rdev, } out: + radeon_vm_add_to_lru(rdev, vm); mutex_unlock(&vm->mutex); mutex_unlock(&rdev->vm_manager.lock); return r; |