All of lore.kernel.org
 help / color / mirror / Atom feed
* FIX ME in mga_dma.c
@ 2014-11-20 17:58 nick
  0 siblings, 0 replies; only message in thread
From: nick @ 2014-11-20 17:58 UTC (permalink / raw)
  To: airlied; +Cc: daniel.vetter, linux-kernel, dri-devel, airlied, treding

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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-20 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 17:58 FIX ME in mga_dma.c nick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.