summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-12 21:46:09 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-07-14 16:11:31 +0200
commit6c4f978b357bc779c703fda1f200e9179623d3e9 (patch)
tree51a77b25130a49e2ecaacd576a066d6e7222575e /drivers/gpu/drm/radeon/radeon.h
parentdrm/radeon: never unpin UVD bo v3 (diff)
downloadlinux-6c4f978b357bc779c703fda1f200e9179623d3e9.tar.xz
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.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 7b7d23ae3f27..82e8e36064e3 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -455,6 +455,7 @@ struct radeon_sa_manager {
uint64_t gpu_addr;
void *cpu_ptr;
uint32_t domain;
+ uint32_t align;
};
struct radeon_sa_bo;