dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: nick <xerofoify@gmail.com>
To: airlied@linux.ie
Cc: daniel.vetter@ffwll.ch, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org, airlied@redhat.com,
	treding@nvidia.com
Subject: FIX ME in mga_dma.c
Date: Thu, 20 Nov 2014 12:58:01 -0500	[thread overview]
Message-ID: <546E2BA9.40104@gmail.com> (raw)

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

                 reply	other threads:[~2014-11-20 17:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546E2BA9.40104@gmail.com \
    --to=xerofoify@gmail.com \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox