diff options
author | Matt Turner <mattst88@gmail.com> | 2009-10-14 00:34:41 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-15 18:49:23 -0400 |
commit | a77f171843d466d4af0d527bcb2d314fafa8afd7 (patch) | |
tree | ca184539d306a819d70ce93b44536fdb6980012a /drivers/gpu/drm/radeon/radeon.h | |
parent | dfdd646773941bb6b22c3898a26a109e57c872a2 (diff) |
drm/radeon/kms: use RADEON_GPU_PAGE_SIZE instead of 4096
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 3598adca034a..8b60e36b20ba 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -276,6 +276,8 @@ union radeon_gart_table { | |||
276 | struct radeon_gart_table_vram vram; | 276 | struct radeon_gart_table_vram vram; |
277 | }; | 277 | }; |
278 | 278 | ||
279 | #define RADEON_GPU_PAGE_SIZE 4096 | ||
280 | |||
279 | struct radeon_gart { | 281 | struct radeon_gart { |
280 | dma_addr_t table_addr; | 282 | dma_addr_t table_addr; |
281 | unsigned num_gpu_pages; | 283 | unsigned num_gpu_pages; |