diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-12 23:46:09 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-14 18:11:31 +0400 |
commit | 6c4f978b357bc779c703fda1f200e9179623d3e9 (patch) | |
tree | 51a77b25130a49e2ecaacd576a066d6e7222575e /drivers/gpu/drm/radeon/radeon_ring.c | |
parent | 9cc2e0e9f13315559c85c9f99f141e420967c955 (diff) | |
download | linux-6c4f978b357bc779c703fda1f200e9179623d3e9.tar.xz |
drm/radeon: allow selection of alignment in the sub-allocator
There are cases where we need more than 4k alignment. No
functional change with this commit.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_ring.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 5f1c51a776ed..fb5ea6208970 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c @@ -224,6 +224,7 @@ int radeon_ib_pool_init(struct radeon_device *rdev) } r = radeon_sa_bo_manager_init(rdev, &rdev->ring_tmp_bo, RADEON_IB_POOL_SIZE*64*1024, + RADEON_GPU_PAGE_SIZE, RADEON_GEM_DOMAIN_GTT); if (r) { return r; |