FIX ME in mga_dma.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David and the maintainers of mga_dma.c I am wondering about remove this function and whether I can or do I need to keep it around for other parts of this driver to work. In addition I will paste the function below from your convience.
Nick
 #if 0
FIXME: Still needed?
*/
static void mga_freelist_reset(struct drm_device *dev)
{
     struct drm_device_dma *dma = dev->dma;
     struct drm_buf *buf;
     drm_mga_buf_priv_t *buf_priv;
     int i;

    for (i = 0; i < dma->buf_count; i++) {
                buf = dma->buflist[i];
                buf_priv = buf->dev_private;
               SET_AGE(&buf_priv->list_entry->age, MGA_BUFFER_FREE, 0);
       }
 }
#endif
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux