diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-01-10 23:10:09 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-24 15:30:15 -0500 |
commit | 58e6c7a9183071b89b0ac94862f369ed55775a7a (patch) | |
tree | f72e90154cb8663230d2ea7f12dcb3257118ecc0 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | efa58db3de82ab0fdc0774aef69e2dd8a27cc98f (diff) |
drm/nouveau: introduce new gart type, and name _SGDMA more appropriately
In preparation for the addition of a new nv40 backend, we'll need to be
able to distinguish between a paged dma object and the on-chip GART.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 9821fcacc3d2..b36dc351f8eb 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -691,8 +691,9 @@ struct drm_nouveau_private { | |||
691 | struct { | 691 | struct { |
692 | enum { | 692 | enum { |
693 | NOUVEAU_GART_NONE = 0, | 693 | NOUVEAU_GART_NONE = 0, |
694 | NOUVEAU_GART_AGP, | 694 | NOUVEAU_GART_AGP, /* AGP */ |
695 | NOUVEAU_GART_SGDMA | 695 | NOUVEAU_GART_PDMA, /* paged dma object */ |
696 | NOUVEAU_GART_HW /* on-chip gart/vm */ | ||
696 | } type; | 697 | } type; |
697 | uint64_t aper_base; | 698 | uint64_t aper_base; |
698 | uint64_t aper_size; | 699 | uint64_t aper_size; |