summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_object.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-12 15:46:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-14 10:11:31 -0400
commit6c4f978b357bc779c703fda1f200e9179623d3e9 (patch)
tree51a77b25130a49e2ecaacd576a066d6e7222575e /drivers/gpu/drm/radeon/radeon_object.h
parent9cc2e0e9f13315559c85c9f99f141e420967c955 (diff)
downloadtalos-op-linux-6c4f978b357bc779c703fda1f200e9179623d3e9.tar.gz
talos-op-linux-6c4f978b357bc779c703fda1f200e9179623d3e9.zip
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_object.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.h b/drivers/gpu/drm/radeon/radeon_object.h
index 91519a5622b4..49c82c480013 100644
--- a/drivers/gpu/drm/radeon/radeon_object.h
+++ b/drivers/gpu/drm/radeon/radeon_object.h
@@ -174,7 +174,7 @@ static inline void * radeon_sa_bo_cpu_addr(struct radeon_sa_bo *sa_bo)
extern int radeon_sa_bo_manager_init(struct radeon_device *rdev,
struct radeon_sa_manager *sa_manager,
- unsigned size, u32 domain);
+ unsigned size, u32 align, u32 domain);
extern void radeon_sa_bo_manager_fini(struct radeon_device *rdev,
struct radeon_sa_manager *sa_manager);
extern int radeon_sa_bo_manager_start(struct radeon_device *rdev,
OpenPOWER on IntegriCloud