From: Andrew Randrianasulu <randrianasulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Kill some nvc0 defines from nv50_ir_target_nv50.h
Date: Wed, 21 Oct 2020 21:20:24 +0300 [thread overview]
Message-ID: <202010212120.25137.randrianasulu@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
Well, as Illia Mirkin suggested I killed few lines of code :}
Driver seems to compile fine afterwards, and run glxgeras :}
and clpeak too (but with external nv50 compute patches from Pierre Moreau)
From 528143b24875e8053edfb95cfc97fe0ac7fa9ebb Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Wed, 21 Oct 2020 21:14:24 +0300
Subject: [PATCH] Nuke NVC0 defines from nouveau/codegen/nv50_ir_target_nv50.h
(they are in nouveau/codegen/nv50_ir_target_nvc0.h)
---
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h
index caf66b269db..604a35890b7 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h
@@ -24,12 +24,6 @@
namespace nv50_ir {
-#define NVC0_BUILTIN_DIV_U32 0
-#define NVC0_BUILTIN_DIV_S32 1
-#define NVC0_BUILTIN_RCP_F64 2
-#define NVC0_BUILTIN_RSQ_F64 3
-
-#define NVC0_BUILTIN_COUNT 4
class TargetNV50 : public Target
{
--
2.14.5
[-- Attachment #2: 0001-Nuke-NVC0-defines-from-nouveau-codegen-nv50_ir_targe.patch --]
[-- Type: text/x-diff, Size: 1013 bytes --]
From 528143b24875e8053edfb95cfc97fe0ac7fa9ebb Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Wed, 21 Oct 2020 21:14:24 +0300
Subject: [PATCH] Nuke NVC0 defines from nouveau/codegen/nv50_ir_target_nv50.h
(they are in nouveau/codegen/nv50_ir_target_nvc0.h)
---
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h
index caf66b269db..604a35890b7 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h
@@ -24,12 +24,6 @@
namespace nv50_ir {
-#define NVC0_BUILTIN_DIV_U32 0
-#define NVC0_BUILTIN_DIV_S32 1
-#define NVC0_BUILTIN_RCP_F64 2
-#define NVC0_BUILTIN_RSQ_F64 3
-
-#define NVC0_BUILTIN_COUNT 4
class TargetNV50 : public Target
{
--
2.14.5
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
reply other threads:[~2020-10-21 18:20 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=202010212120.25137.randrianasulu@gmail.com \
--to=randrianasulu-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.