From: Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
To: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [libdrm PATCH 1/3] nouveau: remove unused OUT_RELOC2 and OUT_RELOCr
Date: Wed, 12 Jan 2011 19:26:07 +0100 [thread overview]
Message-ID: <87mxn6htc0.fsf@riseup.net> (raw)
In-Reply-To: <1294594263-1862-1-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> (Marcin Slusarz's message of "Sun, 9 Jan 2011 18:30:58 +0100")
[-- Attachment #1.1.1: Type: text/plain, Size: 1773 bytes --]
Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> ---
> nouveau/nouveau_pushbuf.h | 17 -----------------
> 1 files changed, 0 insertions(+), 17 deletions(-)
>
> diff --git a/nouveau/nouveau_pushbuf.h b/nouveau/nouveau_pushbuf.h
> index 2a98789..70d0f28 100644
> --- a/nouveau/nouveau_pushbuf.h
> +++ b/nouveau/nouveau_pushbuf.h
> @@ -109,15 +109,6 @@ OUT_RELOC(struct nouveau_channel *chan, struct nouveau_bo *bo,
> data, 0, flags, vor, tor);
> }
>
> -static __inline__ int
> -OUT_RELOC2(struct nouveau_channel *chan, struct nouveau_bo *bo,
> - unsigned data, unsigned data2, unsigned flags,
> - unsigned vor, unsigned tor)
> -{
> - return nouveau_pushbuf_emit_reloc(chan, chan->cur++, bo,
> - data, data2, flags, vor, tor);
> -}
> -
> /* Raw data + flags depending on FB/TT buffer */
> static __inline__ int
> OUT_RELOCd(struct nouveau_channel *chan, struct nouveau_bo *bo,
> @@ -143,14 +134,6 @@ OUT_RELOCl(struct nouveau_channel *chan, struct nouveau_bo *bo,
> return OUT_RELOC(chan, bo, delta, flags | NOUVEAU_BO_LOW, 0, 0);
> }
>
> -/* Low 32-bits of offset + GPU linear access range info */
> -static __inline__ int
> -OUT_RELOCr(struct nouveau_channel *chan, struct nouveau_bo *bo,
> - unsigned delta, unsigned size, unsigned flags)
> -{
> - return OUT_RELOC2(chan, bo, delta, size, flags | NOUVEAU_BO_LOW, 0, 0);
> -}
> -
> /* High 32-bits of offset */
> static __inline__ int
> OUT_RELOCh(struct nouveau_channel *chan, struct nouveau_bo *bo,
This patch series looks like a good clean-up. Ben, do you have any
additional changes in mind for the libdrm API? (If you do they could go
in together to avoid annoying users more often than necessary)
[-- Attachment #1.2: Type: application/pgp-signature, Size: 229 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
prev parent reply other threads:[~2011-01-12 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-09 17:30 [libdrm PATCH 1/3] nouveau: remove unused OUT_RELOC2 and OUT_RELOCr Marcin Slusarz
[not found] ` <1294594263-1862-1-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-01-12 18:26 ` Francisco Jerez [this message]
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=87mxn6htc0.fsf@riseup.net \
--to=currojerez-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
--cc=bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/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 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.