diff options
author | Matt Turner <mattst88@gmail.com> | 2009-10-14 00:34:41 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-16 08:49:23 +1000 |
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 3598adca034..8b60e36b20b 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -276,6 +276,8 @@ union radeon_gart_table { struct radeon_gart_table_vram vram; }; +#define RADEON_GPU_PAGE_SIZE 4096 + struct radeon_gart { dma_addr_t table_addr; unsigned num_gpu_pages; |