Displaying 4 results from an estimated 4 matches for "nouveau_hw_get_pllvals".
2020 Aug 27
0
[PATCH] drm/nouveau: remove redundant check
...s this problem
hw.c:271:12: warning: The left operand of '>=' is a
garbage value
if (pv.M1 >= pll_lim.vco1.min_m ...
~~~~~ ^
This is mostly not a problem because an early check in
nouveau_hw_fix_bad_vpll()
if (nvbios_pll_parse(bios, pll, &pll_lim))
return;
nouveau_hw_get_pllvals(dev, pll, &pv);
shadows a similar check in nouveau_hw_get_pllvals()
ret = nvbios_pll_parse(bios, plltype, &pll_lim);
if (ret || !(reg1 = pll_lim.reg))
return -ENOENT;
Since the first check is redundant, remove it and
check the status of nouveau_hw_get_pllvals().
Signed-off-by: Tom R...
2017 Jan 20
0
[PATCH] nv1a,nv1f/disp: fix memory clock rate retrieval
...P >> 8) & 0xf;
if (!mpllP)
mpllP = 4;
@@ -232,7 +233,7 @@ nouveau_hw_get_clock(struct drm_device *dev, enum nvbios_pll_type plltype)
uint32_t clock;
pci_read_config_dword(pci_get_bus_and_slot(0, 5), 0x4c, &clock);
- return clock;
+ return clock / 1000;
}
ret = nouveau_hw_get_pllvals(dev, plltype, &pllvals);
--
2.10.2
2017 Jul 29
0
[PATCH] nouveau: Fix declarations with incorrect variables.
...diff --git a/drm/nouveau/dispnv04/hw.h b/drm/nouveau/dispnv04/hw.h
index 3a2be47f..2afda90a 100644
--- a/drm/nouveau/dispnv04/hw.h
+++ b/drm/nouveau/dispnv04/hw.h
@@ -43,7 +43,7 @@ void NVSetOwner(struct drm_device *, int owner);
void NVBlankScreen(struct drm_device *, int head, bool blank);
int nouveau_hw_get_pllvals(struct drm_device *, enum nvbios_pll_type plltype,
struct nvkm_pll_vals *pllvals);
-int nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pllvals);
+int nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pv);
int nouveau_hw_get_clock(struct drm_device *, enum nvbios_pll_type plltype);
void nouv...
2012 Oct 27
47
[Bug 56461] New: NV11 black screen & kernel hang on loading nouveaufb
https://bugs.freedesktop.org/show_bug.cgi?id=56461
Priority: medium
Bug ID: 56461
Assignee: nouveau at lists.freedesktop.org
Summary: NV11 black screen & kernel hang on loading nouveaufb
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: chris at