summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nva3_pm.c
Commit message (Collapse)AuthorAgeFilesLines
* drm/nva3/pm: fixup for NVAF specialBen Skeggs2011-09-201-1/+7
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: use crystal freq where appropriateBen Skeggs2011-09-201-3/+4
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: pll disabled if bit 0 of ctrl not setBen Skeggs2011-09-201-19/+23
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvc0/pm: more complete parsing of clock domainsBen Skeggs2011-09-201-0/+2
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: idle graphics engine before changing clocksBen Skeggs2011-09-201-0/+40
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: tidy and add some comments here and thereBen Skeggs2011-09-201-47/+78
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: parse/reclock vdec/41a0 clocksBen Skeggs2011-09-201-0/+20
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: rewrite clock_set, and switch to new interfacesBen Skeggs2011-09-201-136/+141
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: rewrite clock readback functions, far more correct nowBen Skeggs2011-09-201-33/+62
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/clk: better pll calculation when no fractional fb div availableBen Skeggs2011-05-161-2/+2
| | | | | | | | | | | | The core/mem/shader clocks don't support the fractional feedback divider, causing our calculated clocks to be off by quite a lot in some cases. To solve this we will switch to a search-based algorithm when fN is NULL. For my NVA8 at PL3, this actually generates identical cooefficients to the binary driver. Hopefully that's a good sign, and that does not break VPLL calculation for someone.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: allow use of divisor 16Ben Skeggs2011-05-161-1/+1
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/pm: initial pass at set_clock() hookBen Skeggs2011-05-161-21/+94
| | | | | | I still discourage anyone from actually doing this yet. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3: somewhat improve clock reportingBen Skeggs2011-05-161-10/+46
| | | | | | | Definitely not 100% correct, but, for the configurations I've seen used it'll read back the correct clocks now. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3: split pm backend out from nv50Ben Skeggs2010-10-051-0/+95
This will end up quite different, it makes sense for it to be completely separate. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
OpenPOWER on IntegriCloud