diff options
Diffstat (limited to 'sys/dev/pci/drm/savage_drv.h')
-rw-r--r-- | sys/dev/pci/drm/savage_drv.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/drm/savage_drv.h b/sys/dev/pci/drm/savage_drv.h index cd0609b8004..6cca938de54 100644 --- a/sys/dev/pci/drm/savage_drv.h +++ b/sys/dev/pci/drm/savage_drv.h @@ -54,12 +54,12 @@ typedef struct drm_savage_age { unsigned int wrap; } drm_savage_age_t; -typedef struct drm_savage_buf_priv { - struct drm_savage_buf_priv *next; - struct drm_savage_buf_priv *prev; - drm_savage_age_t age; - struct drm_buf *buf; -} drm_savage_buf_priv_t; +struct savagedrm_buf_priv { + TAILQ_ENTRY(savagedrm_buf_priv) link; + drm_savage_age_t age; + struct drm_buf *buf; + int free; +}; typedef struct drm_savage_dma_page { drm_savage_age_t age; @@ -132,7 +132,7 @@ typedef struct drm_savage_private { bus_size_t fb_size; bus_addr_t aperture_base; - drm_savage_buf_priv_t head, tail; + TAILQ_HEAD(savage_freelist, savagedrm_buf_priv) freelist; /* who am I? */ enum savage_family chipset; |