diff options
author | Christian König <christian.koenig@amd.com> | 2014-05-27 14:47:37 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-06-02 14:25:13 (GMT) |
commit | 0e97703c5ca98b6119404210cedc453284bacdaa (patch) | |
tree | b027ff5bca4b7cfda0b996516f05242c45178e21 /drivers/gpu/drm/radeon/radeon.h | |
parent | 1aab5514ca9604e0263f658a067da0189c86a35b (diff) | |
download | linux-0e97703c5ca98b6119404210cedc453284bacdaa.tar.xz |
drm/radeon: add define for flags used in R600+ GTT
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 736bfa2..dd4da88 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -855,6 +855,10 @@ struct radeon_mec { #define R600_PTE_FRAG_64KB (4 << 7) #define R600_PTE_FRAG_256KB (6 << 7) +/* flags used for GART page table entries on R600+ */ +#define R600_PTE_GART ( R600_PTE_VALID | R600_PTE_SYSTEM | R600_PTE_SNOOPED \ + | R600_PTE_READABLE | R600_PTE_WRITEABLE) + struct radeon_vm_pt { struct radeon_bo *bo; uint64_t addr; |