search for: fuc3

Displaying 20 results from an estimated 20 matches for "fuc3".

Did you mean: fc3
2016 Mar 10
0
[PATCH] gr/fuc: Store $r0 in interrupt handler
It's supposed to always be 0, but at least nv_iowr() temporarily violates this. Since the ih touches $r0, it should be stored. Signed-off-by: Roy Spliet <rs855 at cam.ac.uk> --- drm/nouveau/nvkm/engine/gr/fuc/gpc.fuc | 2 + drm/nouveau/nvkm/engine/gr/fuc/gpcgf100.fuc3.h | 80 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h | 82 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgk104.fuc3.h | 82 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgk110.fuc3.h | 82 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgk208.fuc5.h | 68 +++---- drm/nouveau/nvkm/engine/gr/fuc...
2017 Nov 01
2
[PATCH] pmu/fuc: don't use movw directly anymore
fixes compilation issues with recent envytools, because movw was removed from fuc5, because it doesn't exist there anymore. The current code is most likely broken for fuc5 hardware as well and might have triggered all kinds of random memory reclocking fails. Changes in fuc3 binaries are tue do opcode optimizations using shorter opcodes when possible. Signed-off-by: Karol Herbst <kherbst at redhat.com> --- drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 746 +++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 802 ++++++++++---------- drm/nouvea...
2016 Mar 01
1
[PATCH 4/4] pmu/fuc: movw is somewhat weird on gk208, use mov instead
..., 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 > fuc5 Ah, right, fuc3 was on the GT2xx. Thanks! > >> something. Have you tried assembling this code on older fuc versions? Pretty >> sure it will fail. > That's what the imm32() macro is for. Right, with the mov replace with the imm32 macro, this patch will have my R...
2018 Sep 09
2
[Bug 107874] New: Incorrect SPDX-License-Identifier on various nouveau drm kernel source files?
...L-2.0 OR MIT nouveau_ttm.h:/* SPDX-License-Identifier: GPL-2.0 */ nouveau_usif.h:/* SPDX-License-Identifier: GPL-2.0 */ nouveau_vga.c:// SPDX-License-Identifier: GPL-2.0 nouveau_vga.h:/* SPDX-License-Identifier: GPL-2.0 */ nv10_fence.h:/* SPDX-License-Identifier: GPL-2.0 */ nvkm/engine/ce/fuc/gf100.fuc3.h:/* SPDX-License-Identifier: GPL-2.0 */ nvkm/engine/ce/fuc/gt215.fuc3.h:/* SPDX-License-Identifier: GPL-2.0 */ nvkm/engine/ce/priv.h:/* SPDX-License-Identifier: GPL-2.0 */ nvkm/engine/device/acpi.h:/* SPDX-License-Identifier: GPL-2.0 */ nvkm/engine/device/ctrl.h:/* SPDX-License-Identifier: GPL-2.0...
2017 Nov 06
0
[PATCH v3] pmu/fuc: don't use movw directly anymore
...of movw on v5 is the same as mov with a 0x0 argument. The proper fix throughout is to only ever use the 'movw' alias in combination with 'sethi'. Anything else should get the sign-extended validation to ensure that the intended value ends up in the destination register. Changes in fuc3 binaries is the result of a different encoding being selected for a mov with an 8-bit value. v2: added commit message written by Ilia, thanks for that! v3: messed up rebasing, now it should apply Signed-off-by: Karol Herbst <kherbst at redhat.com> --- drm/nouveau/nvkm/subdev/pmu/fuc/gf100....
2016 Mar 01
2
[PATCH 4/4] pmu/fuc: movw is somewhat weird on gk208, use mov instead
...@@ -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] /* > */ cl...
2019 Jun 20
2
[PATCH] drm/nouveau: fix bogus GPL-2 license header
...h | 2 +- drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +- drivers/gpu/drm/nouveau/nouveau_vga.h | 2 +- drivers/gpu/drm/nouveau/nv10_fence.h | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/gf100.fuc3.h | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/gt215.fuc3.h | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/ce/priv.h | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.h | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.h |...
2017 Nov 01
0
[PATCH] pmu/fuc: don't use movw directly anymore
...fixes compilation issues with recent envytools, because movw was removed > from fuc5, because it doesn't exist there anymore. The current code is > most likely broken for fuc5 hardware as well and might have triggered all > kinds of random memory reclocking fails. > > Changes in fuc3 binaries are tue do opcode optimizations using shorter > opcodes when possible. Might I suggest the following wording for the commit: ---------------8<---------------- Fixes failure to compile with recent envyas as a result of the 'movw' alias being removed for v5. A bit of history...
2017 May 07
6
[RFC v2 0/6] PMU engine counters
...face for current load pmu: setup counters drm/nouveau/include/nvif/device.h | 1 + drm/nouveau/include/nvkm/subdev/pmu.h | 10 + drm/nouveau/nouveau_debugfs.c | 23 + drm/nouveau/nvkm/subdev/pmu/base.c | 8 + drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 838 ++++++++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 780 +++++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 732 +++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 736 +++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/...
2017 Nov 06
0
[PATCH v2] pmu/fuc: don't use movw directly anymore
...of movw on v5 is the same as mov with a 0x0 argument. The proper fix throughout is to only ever use the 'movw' alias in combination with 'sethi'. Anything else should get the sign-extended validation to ensure that the intended value ends up in the destination register. Changes in fuc3 binaries is the result of a different encoding being selected for a mov with an 8-bit value. v2: added commit message written by Ilia, thanks for that! Signed-off-by: Karol Herbst <kherbst at redhat.com> --- drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 1072 +++++++++++------------ drm/n...
2017 Jun 05
7
[PATCH v3 0/7] PMU engine counters
...eau/debugfs: add interface for current load drm/nouveau/include/nvif/device.h | 1 + drm/nouveau/include/nvkm/subdev/pmu.h | 17 + drm/nouveau/nouveau_debugfs.c | 27 + drm/nouveau/nvkm/subdev/pmu/base.c | 8 + drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 838 ++++++++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 780 +++++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 732 +++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 736 +++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/...
2015 Oct 26
0
[PATCH 3/4] subdev/pmu/fuc: implement perf
From: Karol Herbst <git at karolherbst.de> --- drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 788 +++++++++++++++------------ drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 740 ++++++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h | 740 ++++++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 710 ++++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/f...
2015 Oct 26
9
[PATCH 0/4] Add pdaemon load counters
...debugfs: add interface for current load drm/nouveau/include/nvif/device.h | 1 + drm/nouveau/include/nvkm/subdev/pmu.h | 10 + drm/nouveau/nouveau_debugfs.c | 23 + drm/nouveau/nvkm/subdev/pmu/base.c | 18 + drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 788 ++++++----- drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 740 +++++----- drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4 | 70 + drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h | 1869 ++++++++++++++++++++++++++ drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 710 ++++++---- drm/nouveau/nv...
2016 Feb 08
4
[PATCH 0/4] PMU engine counters
...debugfs: add interface for current load drm/nouveau/include/nvif/device.h | 1 + drm/nouveau/include/nvkm/subdev/pmu.h | 10 + drm/nouveau/nouveau_debugfs.c | 24 + drm/nouveau/nvkm/subdev/pmu/base.c | 18 + drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 401 +++--- drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 735 +++++----- drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4 | 70 + drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h | 1866 ++++++++++++++++++++++++++ drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 713 +++++----- drm/nouveau/nvkm/su...
2016 Feb 16
4
[PATCH v2 0/4] PMU engine counters
...debugfs: add interface for current load drm/nouveau/include/nvif/device.h | 1 + drm/nouveau/include/nvkm/subdev/pmu.h | 10 + drm/nouveau/nouveau_debugfs.c | 23 + drm/nouveau/nvkm/subdev/pmu/base.c | 18 + drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 411 +++--- drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 745 +++++----- drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4 | 70 + drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h | 1866 ++++++++++++++++++++++++++ drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 725 ++++++---- drm/nouveau/nvkm/su...
2016 Feb 26
0
[PATCH 2/4] pmu/fuc: replace mov+sethi with imm32
on gk208+ we can simply mov 32bits, so we should have a single mov there Signed-off-by: Karol Herbst <nouveau at karolherbst.de> --- drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 1598 +++++++++++------------ drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 1494 +++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 1424 ++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 1746 +++++++++++++------------- drm/nouveau/nvkm/subdev/pmu/fuc/ho...
2016 Mar 02
4
[PATCH v2 0/4] fix pmu code on gk208+
...o allow us to enable memory recklocking on maxwell Karol Herbst (4): pmu/fuc: fix imm32 for gk208+ pmu/fuc: replace mov+sethi with imm32 pmu/fuc: use the call macro instead of using the call instruction directly pmu/fuc: use imm32 in ld/st macros drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 1598 +++++++++++------------ drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 1494 +++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 1420 ++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 1746 +++++++++++++------------- drm/nouveau/nvkm/subdev/pmu/fuc/ho...
2016 Feb 26
8
[PATCH 0/4] fix pmu code on gk208+
...08 gpu, I notived that the pmu is pretty much screwed up there. Karol Herbst (4): pmu/fuc: fix imm32 for gk208+ pmu/fuc: replace mov+sethi with imm32 pmu/fuc: call# seems to be broken on gk208 pmu/fuc: movw is somewhat weird on gk208, use mov instead drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 1598 +++++++++++------------ drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 1494 +++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 1420 ++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 1746 +++++++++++++------------- drm/nouveau/nvkm/subdev/pmu/fuc/ho...
2016 Mar 01
0
[PATCH 4/4] pmu/fuc: movw is somewhat weird on gk208, use mov instead
...gt; #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 fuc5 > something. Have you tried assembling this code on older fuc versions? Pretty > sure it will fail. That's what the imm32() macro is for. > >> */ st size D[$r0] reg /* >> */ clear b32 $r0 >> #define ld(size, reg, addr) /* >> -*/ mov...
2016 Oct 27
0
[PATCH] pmu: remove reset() hook
...deletions(-) diff --git a/drm/nouveau/nvkm/subdev/pmu/gt215.c b/drm/nouveau/nvkm/subdev/pmu/gt215.c index 8ba7fa4ca75b..dcf9eaf274aa 100644 --- a/drm/nouveau/nvkm/subdev/pmu/gt215.c +++ b/drm/nouveau/nvkm/subdev/pmu/gt215.c @@ -24,17 +24,8 @@ #include "priv.h" #include "fuc/gt215.fuc3.h" -static void -gt215_pmu_reset(struct nvkm_pmu *pmu) -{ - struct nvkm_device *device = pmu->subdev.device; - nvkm_mask(device, 0x022210, 0x00000001, 0x00000000); - nvkm_mask(device, 0x022210, 0x00000001, 0x00000001); -} - static const struct nvkm_pmu_func gt215_pmu = { - .reset = gt21...