diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_pm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_pm.c b/drivers/gpu/drm/nouveau/nvc0_pm.c index 81b649864fa1..4a21a7264c3c 100644 --- a/drivers/gpu/drm/nouveau/nvc0_pm.c +++ b/drivers/gpu/drm/nouveau/nvc0_pm.c | |||
@@ -212,7 +212,7 @@ calc_src(struct drm_device *dev, int clk, u32 freq, u32 *dsrc, u32 *ddiv) | |||
212 | static u32 | 212 | static u32 |
213 | calc_pll(struct drm_device *dev, int clk, u32 freq, u32 *coef) | 213 | calc_pll(struct drm_device *dev, int clk, u32 freq, u32 *coef) |
214 | { | 214 | { |
215 | struct pll_lims limits; | 215 | struct nvbios_pll limits; |
216 | int N, M, P, ret; | 216 | int N, M, P, ret; |
217 | 217 | ||
218 | ret = get_pll_limits(dev, 0x137000 + (clk * 0x20), &limits); | 218 | ret = get_pll_limits(dev, 0x137000 + (clk * 0x20), &limits); |
@@ -308,7 +308,7 @@ calc_clk(struct drm_device *dev, int clk, struct nvc0_pm_clock *info, u32 freq) | |||
308 | static int | 308 | static int |
309 | calc_mem(struct drm_device *dev, struct nvc0_pm_clock *info, u32 freq) | 309 | calc_mem(struct drm_device *dev, struct nvc0_pm_clock *info, u32 freq) |
310 | { | 310 | { |
311 | struct pll_lims pll; | 311 | struct nvbios_pll pll; |
312 | int N, M, P, ret; | 312 | int N, M, P, ret; |
313 | u32 ctrl; | 313 | u32 ctrl; |
314 | 314 | ||