Displaying 19 results from an estimated 19 matches for "def_speed".
2019 May 20
2
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...> --- a/drm/nouveau/include/nvkm/subdev/pci.h
> +++ b/drm/nouveau/include/nvkm/subdev/pci.h
> @@ -26,8 +26,9 @@ struct nvkm_pci {
> } agp;
>
> struct {
> - enum nvkm_pcie_speed speed;
> - u8 width;
> + enum nvkm_pcie_speed cur_speed;
> + enum nvkm_pcie_speed def_speed;
> + u8 cur_width;
> } pcie;
>
> bool msi;
> diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
> index ee2431a7..d9fb5a83 100644
> --- a/drm/nouveau/nvkm/subdev/pci/base.c
> +++ b/drm/nouveau/nvkm/subdev/pci/base.c
> @@ -90,6 +90,...
2019 May 07
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
.../nvkm/subdev/pci.h
index 1fdf3098..b23793a2 100644
--- a/drm/nouveau/include/nvkm/subdev/pci.h
+++ b/drm/nouveau/include/nvkm/subdev/pci.h
@@ -26,8 +26,9 @@ struct nvkm_pci {
} agp;
struct {
- enum nvkm_pcie_speed speed;
- u8 width;
+ enum nvkm_pcie_speed cur_speed;
+ enum nvkm_pcie_speed def_speed;
+ u8 cur_width;
} pcie;
bool msi;
diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
index ee2431a7..d9fb5a83 100644
--- a/drm/nouveau/nvkm/subdev/pci/base.c
+++ b/drm/nouveau/nvkm/subdev/pci/base.c
@@ -90,6 +90,8 @@ nvkm_pci_fini(struct nvkm_subdev *subdev...
2019 May 20
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...ev/pci.h
> > @@ -26,8 +26,9 @@ struct nvkm_pci {
> > } agp;
> >
> > struct {
> > - enum nvkm_pcie_speed speed;
> > - u8 width;
> > + enum nvkm_pcie_speed cur_speed;
> > + enum nvkm_pcie_speed def_speed;
> > + u8 cur_width;
> > } pcie;
> >
> > bool msi;
> > diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
> > index ee2431a7..d9fb5a83 100644
> > --- a/drm/nouveau/nvkm/subdev/pci/base.c
> > ++...
2019 May 04
0
[PATCH 4/5] pci: save the boot pcie link speed
.../nvkm/subdev/pci.h
index 1fdf3098..b23793a2 100644
--- a/drm/nouveau/include/nvkm/subdev/pci.h
+++ b/drm/nouveau/include/nvkm/subdev/pci.h
@@ -26,8 +26,9 @@ struct nvkm_pci {
} agp;
struct {
- enum nvkm_pcie_speed speed;
- u8 width;
+ enum nvkm_pcie_speed cur_speed;
+ enum nvkm_pcie_speed def_speed;
+ u8 cur_width;
} pcie;
bool msi;
diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
index ee2431a7..b6ebee6f 100644
--- a/drm/nouveau/nvkm/subdev/pci/base.c
+++ b/drm/nouveau/nvkm/subdev/pci/base.c
@@ -100,6 +100,8 @@ nvkm_pci_preinit(struct nvkm_subdev *s...
2019 May 21
3
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...@ struct nvkm_pci {
> > > } agp;
> > >
> > > struct {
> > > - enum nvkm_pcie_speed speed;
> > > - u8 width;
> > > + enum nvkm_pcie_speed cur_speed;
> > > + enum nvkm_pcie_speed def_speed;
> > > + u8 cur_width;
> > > } pcie;
> > >
> > > bool msi;
> > > diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
> > > index ee2431a7..d9fb5a83 100644
> > > --- a/drm/nouveau/...
2019 May 04
10
[PATCH 0/5] Potential fix for runpm issues on various laptops
While investigating the runpm issues on my GP107 I noticed that something
inside devinit makes runpm break. If Nouveau loads up to the point right
before doing devinit, runpm works without any issues, if devinit is ran,
not anymore.
Out of curiousity I even tried to "bisect" devinit by not running it on
vbios provided signed PMU image, but on the devinit parser we have inside
Nouveau.
2019 May 21
2
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...t; > >
> > > > > struct {
> > > > > - enum nvkm_pcie_speed speed;
> > > > > - u8 width;
> > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > + enum nvkm_pcie_speed def_speed;
> > > > > + u8 cur_width;
> > > > > } pcie;
> > > > >
> > > > > bool msi;
> > > > > diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
> > > > > index...
2019 Aug 13
3
[PATCH 1/4] pci: enable pcie link changes for pascal
Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Lyude Paul <lyude at redhat.com>
---
drm/nouveau/nvkm/subdev/pci/gk104.c | 8 ++++----
drm/nouveau/nvkm/subdev/pci/gp100.c | 10 ++++++++++
drm/nouveau/nvkm/subdev/pci/priv.h | 5 +++++
3 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/drm/nouveau/nvkm/subdev/pci/gk104.c
2019 May 21
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...> } agp;
> > > >
> > > > struct {
> > > > - enum nvkm_pcie_speed speed;
> > > > - u8 width;
> > > > + enum nvkm_pcie_speed cur_speed;
> > > > + enum nvkm_pcie_speed def_speed;
> > > > + u8 cur_width;
> > > > } pcie;
> > > >
> > > > bool msi;
> > > > diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
> > > > index ee2431a7..d9fb5a83 100644
>...
2019 May 07
8
[PATCH v2 0/4] Potential fix for runpm issues on various laptops
CCing linux-pci and Bjorn Helgaas. Maybe we could get better insights on
how a reasonable fix would look like.
Anyway, to me this entire issue looks like something which has to be fixed
on a PCI level instead of inside a driver, so it makes sense to ask the
pci folks if they have any better suggestions.
Original cover letter:
While investigating the runpm issues on my GP107 I noticed that
2019 May 21
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...t; > > > struct {
> > > > > > - enum nvkm_pcie_speed speed;
> > > > > > - u8 width;
> > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > + u8 cur_width;
> > > > > > } pcie;
> > > > > >
> > > > > > bool msi;
> > > > > > diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
>...
2019 May 04
0
[PATCH 5/5] pci: restore the boot pcie link speed on fini
.../nouveau/nvkm/subdev/pci/pcie.c
index 727b5d6a..00c07fd8 100644
--- a/drm/nouveau/nvkm/subdev/pci/pcie.c
+++ b/drm/nouveau/nvkm/subdev/pci/pcie.c
@@ -118,6 +118,14 @@ nvkm_pcie_init(struct nvkm_pci *pci)
return 0;
}
+int
+nvkm_pcie_fini(struct nvkm_pci *pci)
+{
+ if (!IS_ERR_VALUE(pci->pcie.def_speed))
+ return nvkm_pcie_set_link(pci, pci->pcie.def_speed, 16);
+ return 0;
+}
+
int
nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width)
{
diff --git a/drm/nouveau/nvkm/subdev/pci/priv.h b/drm/nouveau/nvkm/subdev/pci/priv.h
index dc3ae3cd..e7744671 100644
--- a/drm/no...
2019 May 21
2
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...struct {
> > > > > > > - enum nvkm_pcie_speed speed;
> > > > > > > - u8 width;
> > > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > > + u8 cur_width;
> > > > > > > } pcie;
> > > > > > >
> > > > > > > bool msi;
> > > > > > > diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvk...
2019 Jun 03
2
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...t; > > > - enum nvkm_pcie_speed speed;
> > > > > > > > > - u8 width;
> > > > > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > > > > + u8 cur_width;
> > > > > > > > > } pcie;
> > > > > > > > >
> > > > > > > > > bool msi;
> > > > > > > > > diff --git a/dr...
2019 Jun 19
2
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...enum nvkm_pcie_speed speed;
> > > > > > > > > > > - u8 width;
> > > > > > > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > > > > > > + u8 cur_width;
> > > > > > > > > > > } pcie;
> > > > > > > > > > >
> > > > > > > > > > > bool msi;
> > > >...
2019 Aug 14
10
[PATCH 0/7] Adding a proper workaround for fixing RTD3 issues with Nouveau
First three patches are removing ACPI workarounds which should have never
landed.
The last four are adding a workaround to nouveau which seem to help quite
a lot with the RTD3 issues with Nouveau, so let's discuss and get wider
testing of those and see if there is any fallout or laptops where the
issues don't get fixed.
Karol Herbst (7):
Revert "ACPI / OSI: Add OEM _OSI string to
2019 May 21
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...t; > > > > > > - enum nvkm_pcie_speed speed;
> > > > > > > > - u8 width;
> > > > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > > > + u8 cur_width;
> > > > > > > > } pcie;
> > > > > > > >
> > > > > > > > bool msi;
> > > > > > > > diff --git a/drm/nouveau/nvkm/subdev/pci...
2019 Jun 03
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...t; - enum nvkm_pcie_speed speed;
> > > > > > > > > > - u8 width;
> > > > > > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > > > > > + u8 cur_width;
> > > > > > > > > > } pcie;
> > > > > > > > > >
> > > > > > > > > > bool msi;
> > > > > > > >...
2019 Jun 19
0
[PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini
...e_speed speed;
> > > > > > > > > > > > - u8 width;
> > > > > > > > > > > > + enum nvkm_pcie_speed cur_speed;
> > > > > > > > > > > > + enum nvkm_pcie_speed def_speed;
> > > > > > > > > > > > + u8 cur_width;
> > > > > > > > > > > > } pcie;
> > > > > > > > > > > >
> > > > > > > > > > > > bool msi;...