Displaying 20 results from an estimated 100 matches similar to: "[PATCH] drm/nouveau: add missing pll_calc calls"
2012 Oct 07
1
[PATCH] drm/nv50: wire up pll_calc hook
Fixes crash during reclocking.
Call Trace:
pll_calc == NULL
calc_pll
calc_mclk
nv50_pm_clocks_pre
nouveau_pm_perflvl_set
nouveau_pm_trigger
nouveau_pm_profile_set
nouveau_pm_set_perflvl
dev_attr_store
sysfs_write_file
vfs_write
sys_write
system_call_fastpath
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
It's weird nobody noticed this... nva3+ code does
2015 Jan 07
1
[PATCH V2 1/4] clk: allow non-blocking for nouveau_clock_astate()
On Wed, Jan 7, 2015 at 3:10 PM, Vince Hsu <vinceh at nvidia.com> wrote:
> Hello Ben and Martin,
>
> Any comments for this series?
Hey Vince,
Ah sorry, I thought my comment on the other patch indicated I was fine
with it. I'll merge them now so they don't get lost :)
Thanks,
Ben.
>
> Thanks,
> Vince
>
>
> On 12/22/2014 05:11 PM, Vince Hsu wrote:
>>
2015 Jan 07
0
[PATCH V2 1/4] clk: allow non-blocking for nouveau_clock_astate()
Hello Ben and Martin,
Any comments for this series?
Thanks,
Vince
On 12/22/2014 05:11 PM, Vince Hsu wrote:
> There might be some callers of nouveau_clock_astate(), and they are from
> inetrrupt context. So we must ensure that this function can be atomic in
> that condition. This patch adds one parameter which is subsequently passed
> to nouveau_pstate_calc(). Therefore we can choose
2014 Aug 21
0
[PATCH 7/7] clock/nva3: Pause the GPU before reclocking
Signed-off-by: Roy Spliet <rspliet at eclipso.eu>
---
.../gpu/drm/nouveau/core/include/subdev/clock.h | 3 ++
drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c | 45 ++++++++++++++++++++++
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c | 30 ++++-----------
3 files changed, 55 insertions(+), 23 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/clock.h
2014 Aug 23
0
[PATCH] clock/nva3: Pause the GPU before reclocking
V2: always call post correctly even if pre fails
Signed-off-by: Roy Spliet <rspliet at eclipso.eu>
---
.../gpu/drm/nouveau/core/include/subdev/clock.h | 3 ++
drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c | 52 +++++++++++++++++++++-
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c | 36 +++++----------
3 files changed, 66 insertions(+), 25 deletions(-)
diff --git
2014 Dec 22
7
[PATCH V2 1/4] clk: allow non-blocking for nouveau_clock_astate()
There might be some callers of nouveau_clock_astate(), and they are from
inetrrupt context. So we must ensure that this function can be atomic in
that condition. This patch adds one parameter which is subsequently passed
to nouveau_pstate_calc(). Therefore we can choose whether we want to wait
for the pstate work's completion or not.
Signed-off-by: Vince Hsu <vinceh at nvidia.com>
---
2014 May 17
0
[PATCH] clk: allow config option to enable reclocking
On 17 May 2014 02:43, "Ilia Mirkin" <imirkin at alum.mit.edu> wrote:
>
> Adds a NvReclock boolean option to allow the user to enable (or disable)
> reclocking. All chipsets default to off, except NVAA/NVAC, which are
> reportedly complete.
Hey Ilia,
I think I've expressed my thoughts on this previously via IRC, but let me
stick them here too so there's a record
2016 Feb 11
1
[PATCH] devinit/gf100-: detect if BIOS invoked devinit
It is not advisable to perform devinit if it has already been done.
VBIOS will very likely have invoked devinit if the GPU is the primary
graphics device, but there is no accurate way to detect this fact yet.
This patch adds such a method for gf100 and later chips, by means of the
NV_PTOP_SCRATCH1_DEVINIT_COMPLETED bit. This bit is set to 1 by devinit,
and reset to 0 when the GPU is powered.
2014 Aug 23
2
RESEND NVA3 clock tree improvements
Resend of patch #7 to fix behaviour when failing to pause parts of the GPU
2014 May 16
2
[PATCH] clk: allow config option to enable reclocking
Adds a NvReclock boolean option to allow the user to enable (or disable)
reclocking. All chipsets default to off, except NVAA/NVAC, which are
reportedly complete.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Ben, I know you've been saying that reclocking is in a pretty bad state, but I
do think that there are going to be groups of people for whom the current code
can work
2014 Nov 19
2
Is it necessary to parse the VBIOS init table when executable is false?
Hello everyone,
The code is at /core/subdev/bios/init.c.
When the executable is 0,these functions that parse the VBIOS init table seems to do nothing except the parsing. And in my opinion,init_exec_force does nothing,too!
Then I tried to test it on my computer,when the VBIOS parser tries to change a MMIO register or call a function of struct nouveau_devinit (such as devinit->pll_set,etc.),it
2014 Nov 19
0
Is it necessary to parse the VBIOS init table when executable is false?
On 20 Nov 2014 01:31, "李金华" <goodqt at outlook.com> wrote:
>
> Hello everyone,
>
> The code is at /core/subdev/bios/init.c.
> When the executable is 0,these functions that parse the VBIOS init table
seems to do nothing except the parsing.
Correct. We do not handle every opcode, only the ones that have been
observed so far. The purpose is to be able to test whether
2014 Aug 21
0
[PATCH 2/7] clock/nva3: Set PLL refclk
Signed-off-by: Roy Spliet <rspliet at eclipso.eu>
---
drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c | 73 +++++++++++++++---------
drivers/gpu/drm/nouveau/core/subdev/clock/nva3.h | 2 +-
drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c | 2 +-
3 files changed, 48 insertions(+), 29 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c
2010 Feb 07
3
[PATCH] drm/nouveau: don't hold spin lock while calling kzalloc with GFP_KERNEL
- 'joi' on irc pointed out that this triggers a BUG_ON, because kzalloc could
sleep.
- The irq handler should restore the value NV03_PFIFO_CACHES, but still it's
better if this stuff doesn't happen in the middle of fifo create context. I see
no reason in spin locking pgraph create context, it isn't activated at that
stage.
- Move and rename the lock after some discussion with
2013 Nov 16
0
[PATCH] drm/nouveau/clk: Implement reclocking for NVAA/NVAC
v2: Check for PFIFO, don't pause if it's not yet running. This should fix reclocking on boot
Signed-off-by: Roy Spliet <rspliet at eclipso.eu>
---
drivers/gpu/drm/nouveau/Makefile | 1 +
drivers/gpu/drm/nouveau/core/engine/device/nv50.c | 4 +-
.../gpu/drm/nouveau/core/include/subdev/clock.h | 4 +
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c | 439
2013 Nov 17
0
[PATCH] drm/nouveau/clk: Implement reclocking for NVAA/NVAC
v2: Check for PFIFO, don't pause if it's not yet running. This should fix reclocking on boot
v3: Tiny clean up
Signed-off-by: Roy Spliet <rspliet at eclipso.eu>
---
drivers/gpu/drm/nouveau/Makefile | 1 +
drivers/gpu/drm/nouveau/core/engine/device/nv50.c | 4 +-
.../gpu/drm/nouveau/core/include/subdev/clock.h | 4 +
2014 Aug 21
9
NVA3 clock tree improvements
Following a series of patches to improve nouveaus clock tree parsing. Reclocking these engines (all but memory) is pretty stable on the cards I've tested. Please review and merge when approved.
These patches do not solve the problem that core/shader engine doesn't like to be clocked up too far without fb following, with visible corruption as a result. I suspect this problem is unrelated
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
This patch creates a subdev for DVFS (Dynamic Voltage and Frequency Scaling)
support in Nouveau. This subdev refers to the status information provided by
the NVIDIA hardware and tries to adjust the performance level based on the
calculated target. Only the GK20A is supported right now.
Signed-off-by: Vince Hsu <vinceh at nvidia.com>
---
drm/Kbuild | 2 +
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
Hello Ben,
On 12/18/2014 05:34 PM, Ben Skeggs wrote:
> On Thu, Dec 18, 2014 at 4:28 PM, Vince Hsu <vinceh at nvidia.com> wrote:
>> This patch creates a subdev for DVFS (Dynamic Voltage and Frequency Scaling)
>> support in Nouveau. This subdev refers to the status information provided by
>> the NVIDIA hardware and tries to adjust the performance level based on the
2014 Jul 10
0
[PATCH 3/3] drm/gk20a: reclocking support
Add support for reclocking on GK20A, using a statically-defined pstates
table. The algorithms for calculating the coefficients and setting the
clocks are directly taken from the ChromeOS kernel.
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
---
drivers/gpu/drm/nouveau/Makefile | 1 +
drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 1 +