linux/drivers/gpu/drm/nouveau/nvkm/subdev
Karol Herbst 78eaf335e4 drm/nouveau/pll/gk104: fix PLL instability due to bad configuration with gddr5
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 means for my card, that I got a 4050 MHz clock
although 4008 MHz was requested.

Now the driver iterates over a list of PLL configuration also used by
the nvidia driver and then adjust the second PLL to get near the
requested clock.  Also it hold to some restriction I found while
analyzing the PLL configurations

This won't fix all gddr5 high clock issues itself, but it should be
fine on hybrid gpu systems as found on many laptops these days.  Also
switching while normal desktop usage should be a lot more stable than
before.

v2: move the pll code into ramgk104

Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-11-03 15:02:18 +10:00
..
bar drm/nouveau/device: cleaner abstraction for device resource functions 2015-08-28 12:40:48 +10:00
bios drm/nouveau/fb/ramnv50: Voltage GPIOs 2015-11-03 15:02:18 +10:00
bus drm/nouveau/bus/hwsq: Implement VBLANK waiting heuristic 2015-11-03 15:02:18 +10:00
clk drm/nouveau/clk/g84: Enable reclocking for GDDR3 G94-G200 2015-11-03 15:02:18 +10:00
devinit drm/nouveau/device: cleaner abstraction for device resource functions 2015-08-28 12:40:48 +10:00
fb drm/nouveau/pll/gk104: fix PLL instability due to bad configuration with gddr5 2015-11-03 15:02:18 +10:00
fuse drm/nouveau/fuse: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
gpio drm/nouveau/fb/ramgt215: Transform GPIO ramfuc method from FBVREF-specific to generic 2015-11-03 15:02:18 +10:00
i2c drm/nouveau/i2c: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
ibus drm/nouveau/ibus/gf100: increase wait timeout to avoid read faults 2015-11-03 15:02:18 +10:00
instmem drm/nouveau/instmem/gk20a: make use of the IOMMU bit 2015-11-03 15:02:18 +10:00
ltc drm/nouveau/ltc/gf100: add flush/invalidate functions 2015-11-03 15:02:18 +10:00
mc drm/nouveau/mc: move device irq handling to platform-specific code 2015-08-28 12:40:48 +10:00
mmu drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
mxm drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
pci drm/nouveau/pci: Handle 5-bit and 8-bit tag field 2015-11-03 15:02:18 +10:00
pmu drm/nouveau/pmu/gk104: check fuse to determine presence of PGOB 2015-11-03 15:02:18 +10:00
therm drm/nouveau/tmr: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
timer drm/nouveau/tmr: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
volt drm/nouveau/volt/gk104: add support for pwm and gpio modes 2015-11-03 15:02:18 +10:00
Kbuild drm/nouveau/pci: new subdev 2015-08-28 12:40:48 +10:00