I hope now the final revison of that patch series.
I've taken care of 2 out of 3 comments from ben.
I left the set_link and set_version name this way, because I can't figure any
better name and because they are always used with pcie. in front, so they
should fit in nice
Ben: if you are strong ab
v2: remove error and only set link for pcie devices
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/clk/base.c | 4
1 file changed, 4 insertions(+)
diff --git a/drm/nouveau/nvkm/subdev/clk/base.c
b/drm/nouveau/nvkm/subdev/clk/base.c
index 7ae4f26..137e06f 100644
--- a/drm/nouveau/
v2: change email used in header
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/pci.h | 1 +
drm/nouveau/nvkm/engine/device/base.c | 20 +-
drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
drm/nouveau/nvkm/subdev/pci/gk104.c | 38 ++
v2: rename functions and simplify code a little
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pci/gf100.c | 59 +
drm/nouveau/nvkm/subdev/pci/gf106.c | 5
drm/nouveau/nvkm/subdev/pci/gk104.c | 3 ++
drm/nouveau/nvkm/subdev/pci/priv.h | 7 +++
v2: change email used in header
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/pci.h | 1 +
drm/nouveau/nvkm/engine/device/base.c | 10 -
drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
drm/nouveau/nvkm/subdev/pci/gf106.c | 38 +++
4 file
v2: rename functions and simplify init
v3: give g84/6 their own implementation
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pci/g84.c | 97 +
drm/nouveau/nvkm/subdev/pci/g94.c | 18 +++
drm/nouveau/nvkm/subdev/pci/gf100.c | 5 ++
drm/nouvea
v2: rename and group functions
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/pci.h | 14 +++
drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
drm/nouveau/nvkm/subdev/pci/base.c| 5 ++
drm/nouveau/nvkm/subdev/pci/pcie.c| 165 ++
drm/nouve
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/bios/perf.h | 2 ++
drm/nouveau/nvkm/subdev/bios/perf.c | 16
2 files changed, 18 insertions(+)
diff --git a/drm/nouveau/include/nvkm/subdev/bios/perf.h
b/drm/nouveau/include/nvkm/subdev/bios/perf.h
index
v2: rename functions
v3: remove pcie2 accessors
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pci/gk104.c | 186
1 file changed, 186 insertions(+)
diff --git a/drm/nouveau/nvkm/subdev/pci/gk104.c
b/drm/nouveau/nvkm/subdev/pci/gk104.c
index 458dd31
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/clk.h | 3 +++
drm/nouveau/nvkm/subdev/clk/base.c| 2 ++
2 files changed, 5 insertions(+)
diff --git a/drm/nouveau/include/nvkm/subdev/clk.h
b/drm/nouveau/include/nvkm/subdev/clk.h
index 8708f0a..e9c4a81 100644
--- a/drm/nouvea
this patch uses an approach closer to the nvidia driver to configure both PLLs
for high gddr5 memory clocks (usually above 2400MHz)
previously nouveau used the one PLL as it was used for the lower clocks and just
adjusted the second PLL to get as close as possible to the requested clock.
This mean
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 10/13/2015 07:44 PM, Karol Herbst wrote:
> v2: rename functions
>
> Signed-off-by: Karol Herbst ---
> drm/nouveau/nvkm/subdev/pci/gk104.c | 196
> 1 file changed, 196
> insertions(+)
>
> diff --git a/drm/nou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 10/13/2015 07:44 PM, Karol Herbst wrote:
> v2: rename functions and simplify init
>
> Signed-off-by: Karol Herbst ---
> drm/nouveau/nvkm/subdev/pci/g84.c | 105
>
> drm/nouveau/nvkm/subdev/pci/g94.c | 1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 10/13/2015 07:44 PM, Karol Herbst wrote:
> v2: rename and group functions
>
> Signed-off-by: Karol Herbst ---
> drm/nouveau/include/nvkm/subdev/pci.h | 14 +++
> drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
> drm/nouveau/nvkm/subdev/pci/base
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 10/13/2015 06:18 AM, Karol Herbst wrote:
> this patch uses an approach closer to the nvidia driver to
> configure both PLLs for high gddr5 memory clocks (usually above
> 2400MHz)
>
> previously nouveau used the one PLL as it was used for the lo
https://bugs.freedesktop.org/show_bug.cgi?id=92307
--- Comment #5 from poma ---
Created attachment 118863
--> https://bugs.freedesktop.org/attachment.cgi?id=118863&action=edit
dmesg 4.3.0-0.rc5.git0.1.fc24.x86_64+debug & nouveau git on G98
--
You are receiving this mail because:
You are the a
https://bugs.freedesktop.org/show_bug.cgi?id=92307
poma changed:
What|Removed |Added
Summary|NV50: WARNING: ... at |G98: WARNING: ... at
|include/d
https://bugs.freedesktop.org/show_bug.cgi?id=92307
--- Comment #4 from poma ---
(In reply to Stefan Huehner from comment #3)
> Seeing same here when 'switching off' and 'on' again hdmi display connected
> to a gm206
Goes - both, S3 RESUME and disable/enable the output will induce these
warnings
https://bugs.freedesktop.org/show_bug.cgi?id=92438
--- Comment #11 from Gabriele Svelto ---
Created attachment 118860
--> https://bugs.freedesktop.org/attachment.cgi?id=118860&action=edit
X log
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee fo
https://bugs.freedesktop.org/show_bug.cgi?id=92438
--- Comment #9 from Gabriele Svelto ---
I'm attaching a new dmesg/Xorg.0.log couple taken just after I hit the bug,
they'll be probably easier to parse than the previous one. Especially the dmesg
output has some nouveau-related error messages at
https://bugs.freedesktop.org/show_bug.cgi?id=92438
Gabriele Svelto changed:
What|Removed |Added
Attachment #118838|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=92438
--- Comment #8 from Gabriele Svelto ---
I can still reproduce on mesa 11.0.3 / libdrm 2.4.65 though it takes longer to
trigger the bug (a few minutes of usage). This is the backtrace when using
these versions of mesa and libdrm, it's somewhat dif
https://bugs.freedesktop.org/show_bug.cgi?id=92438
--- Comment #7 from Gabriele Svelto ---
After some fiddling with the various dependency I'm now testing on mesa 11.0.3.
I haven't hit the bug just yet but I want to run the emulator for a while to be
sure it's not just luck on my part.
--
You a
Signed-off-by: Karol Herbst
---
drm/nouveau/nouveau_drm.c | 2 -
drm/nouveau/nouveau_drm.h | 1 -
drm/nouveau/nouveau_sysfs.c | 165
drm/nouveau/nouveau_sysfs.h | 13
4 files changed, 181 deletions(-)
diff --git a/drm/nouveau/nouveau_drm
this is somehow copied from i915
Signed-off-by: Karol Herbst
---
drm/nouveau/nouveau_debugfs.c | 56 +--
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/drm/nouveau/nouveau_debugfs.c b/drm/nouveau/nouveau_debugfs.c
index 5392e07..762441f 100
we will need our own debugfs_init and cleanup functions, because nouveau_drm
isn't ready while the drm ones are called by drm
Signed-off-by: Karol Herbst
---
drm/nouveau/nouveau_debugfs.c | 4 ++--
drm/nouveau/nouveau_debugfs.h | 9 +
drm/nouveau/nouveau_drm.c | 4 ++--
3 files chan
Signed-off-by: Karol Herbst
---
drm/nouveau/nouveau_debugfs.c | 144 +-
1 file changed, 142 insertions(+), 2 deletions(-)
diff --git a/drm/nouveau/nouveau_debugfs.c b/drm/nouveau/nouveau_debugfs.c
index 53d2233..d024ffa 100644
--- a/drm/nouveau/nouveau_deb
exposing the pstate interface through sysfs might make sense with no dynamic
reclocking, we shouldn't expose it as sysfs interface, because we actually want
to dynamic reclock the card later on.
Doing it in debugfs on the other hand should be fine, also we need something
like that later on, when w
Signed-off-by: Karol Herbst
---
drm/nouveau/nouveau_debugfs.c | 30 ++
drm/nouveau/nouveau_debugfs.h | 26 ++
drm/nouveau/nouveau_drm.c | 2 ++
drm/nouveau/nouveau_drm.h | 1 +
4 files changed, 59 insertions(+)
diff --git a/drm/nouvea
Signed-off-by: Karol Herbst
---
drm/nouveau/Kbuild | 1 -
drm/nouveau/nouveau_drm.c | 2 --
drm/nouveau/nouveau_sysfs.c | 33 -
drm/nouveau/nouveau_sysfs.h | 8
4 files changed, 44 deletions(-)
delete mode 100644 drm/nouveau/nouveau_sysfs.c
v2: change email used in header
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/pci.h | 1 +
drm/nouveau/nvkm/engine/device/base.c | 20 +-
drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
drm/nouveau/nvkm/subdev/pci/gk104.c | 38 ++
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/bios/perf.h | 2 ++
drm/nouveau/nvkm/subdev/bios/perf.c | 16
2 files changed, 18 insertions(+)
diff --git a/drm/nouveau/include/nvkm/subdev/bios/perf.h
b/drm/nouveau/include/nvkm/subdev/bios/perf.h
index
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/clk.h | 3 +++
drm/nouveau/nvkm/subdev/clk/base.c| 2 ++
2 files changed, 5 insertions(+)
diff --git a/drm/nouveau/include/nvkm/subdev/clk.h
b/drm/nouveau/include/nvkm/subdev/clk.h
index 8708f0a..e9c4a81 100644
--- a/drm/nouvea
v2: change email used in header
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/pci.h | 1 +
drm/nouveau/nvkm/engine/device/base.c | 10 -
drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
drm/nouveau/nvkm/subdev/pci/gf106.c | 38 +++
4 file
v2: rename and group functions
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvkm/subdev/pci.h | 14 +++
drm/nouveau/nvkm/subdev/pci/Kbuild| 1 +
drm/nouveau/nvkm/subdev/pci/base.c| 5 ++
drm/nouveau/nvkm/subdev/pci/pcie.c| 165 ++
drm/nouve
overall the same as the old stuff, but with better namings and tirivialy
improved code here and there
Karol Herbst (9):
pci: add gk104 variant
pci: add gf106 variant
pci: implement generic code for PCIe speed change
pci: implement pcie speed change for tesla
pci: implement pcie speed cha
v2: remove error and only set link for pcie devices
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/clk/base.c | 4
1 file changed, 4 insertions(+)
diff --git a/drm/nouveau/nvkm/subdev/clk/base.c
b/drm/nouveau/nvkm/subdev/clk/base.c
index 7ae4f26..137e06f 100644
--- a/drm/nouveau/
v2: rename functions and simplify init
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pci/g84.c | 105
drm/nouveau/nvkm/subdev/pci/g94.c | 10
drm/nouveau/nvkm/subdev/pci/gf100.c | 5 ++
drm/nouveau/nvkm/subdev/pci/gf106.c | 5 ++
drm/n
v2: rename functions
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pci/gk104.c | 196
1 file changed, 196 insertions(+)
diff --git a/drm/nouveau/nvkm/subdev/pci/gk104.c
b/drm/nouveau/nvkm/subdev/pci/gk104.c
index 458dd31..99b131c 100644
--- a/drm/
v2: rename functions and simplify code a little
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pci/gf100.c | 59 +
drm/nouveau/nvkm/subdev/pci/gf106.c | 5
drm/nouveau/nvkm/subdev/pci/gk104.c | 3 ++
drm/nouveau/nvkm/subdev/pci/priv.h | 7 +++
https://bugs.freedesktop.org/show_bug.cgi?id=92438
--- Comment #6 from Pierre Moreau ---
FYI, latest Mesa release is 11.0.3. 10.4 was branched out in December 2014
(though it did receive some additional fixes up to March 2015), so you might
want to try at least 10.6.x, or even better, 11.0.x.
--
https://bugs.freedesktop.org/show_bug.cgi?id=92438
--- Comment #5 from Gabriele Svelto ---
Still repros on mesa 10.4.6 and libdrm 2.4.65.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
42 matches
Mail list logo