From: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
To: Karol Herbst <nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>,
nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 4/4] pmu/fuc: movw is somewhat weird on gk208, use mov instead
Date: Tue, 1 Mar 2016 23:36:12 +0200 [thread overview]
Message-ID: <56D60B4C.3010108@free.fr> (raw)
In-Reply-To: <1456499974-1950-5-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
On 26/02/16 17:19, Karol Herbst wrote:
> currently there is no change, because nobody uses those macros yet, but they
> shouldn't stay broken
>
> Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
> ---
> drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc b/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc
> index 0d5cbeb..bb59eb4 100644
> --- a/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc
> +++ b/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc
> @@ -252,12 +252,12 @@
> #endif
>
> #define st(size, addr, reg) /*
> -*/ movw $r0 addr /*
> +*/ mov $r0 addr /*
First of all, I know it is annoying, but we *need* to understand exactly
what movw is now doing.
Secondly, I seem to remember that a 32 bit mov was not added until fuc3
or something. Have you tried assembling this code on older fuc versions?
Pretty sure it will fail.
> */ st size D[$r0] reg /*
> */ clear b32 $r0
>
> #define ld(size, reg, addr) /*
> -*/ movw $r0 addr /*
> +*/ mov $r0 addr /*
> */ ld size reg D[$r0] /*
> */ clear b32 $r0
>
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
next prev parent reply other threads:[~2016-03-01 21:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 15:19 [PATCH 0/4] fix pmu code on gk208+ Karol Herbst
[not found] ` <1456499974-1950-1-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
2016-02-26 15:19 ` [PATCH 1/4] pmu/fuc: fix imm32 for gk208+ Karol Herbst
[not found] ` <1456499974-1950-2-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
2016-03-01 21:38 ` Martin Peres
2016-02-26 15:19 ` [PATCH 2/4] pmu/fuc: replace mov+sethi with imm32 Karol Herbst
[not found] ` <1456499974-1950-3-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
2016-03-01 21:40 ` Martin Peres
2016-02-26 15:19 ` [PATCH 3/4] pmu/fuc: call# seems to be broken on gk208 Karol Herbst
[not found] ` <1456499974-1950-4-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
2016-03-01 21:45 ` Martin Peres
[not found] ` <56D60D6B.7010808-GANU6spQydw@public.gmane.org>
2016-03-01 21:53 ` Ilia Mirkin
[not found] ` <CAKb7UvgKF9deHTrP-PuB6WL=02OjMmUoi4qksDiboSucRVYR8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-01 22:27 ` Martin Peres
2016-02-26 15:19 ` [PATCH 4/4] pmu/fuc: movw is somewhat weird on gk208, use mov instead Karol Herbst
[not found] ` <1456499974-1950-5-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
2016-03-01 21:36 ` Martin Peres [this message]
[not found] ` <56D60B4C.3010108-GANU6spQydw@public.gmane.org>
2016-03-01 21:38 ` Ilia Mirkin
[not found] ` <CAKb7UvgFX8YzWZi_HHn6U2pzwu7kFU=DQHoBgJowOjj=jgucOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-01 21:46 ` Martin Peres
[not found] ` <56D60DB6.1030209-GANU6spQydw@public.gmane.org>
2016-03-01 22:42 ` Karol Herbst
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=56D60B4C.3010108@free.fr \
--to=martin.peres-ganu6spqydw@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=nouveau-lIBOoy2+GI7scQ4cX5LuPg@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.