Ben Skeggs
dceef5d87c
drm/nouveau/fb: initialise vram controller as pfb sub-object
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2013-07-01 13:44:04 +10:00
Ben Skeggs
77145f1cbd
drm/nouveau: port remainder of drm code, and rip out compat layer
...
v2: Ben Skeggs <bskeggs@redhat.com >
- fill in nouveau_pm.dev to prevent oops
- fix ppc issues (build + OF shadow)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-10-03 13:12:59 +10:00
Ben Skeggs
861d21074b
drm/nouveau/fb: merge fb/vram and port to subdev interfaces
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-10-03 13:12:49 +10:00
Ben Skeggs
70790f4f81
drm/nouveau/clock: pull in the implementation from all over the place
...
Still missing the main bits we use to change performance levels, I'll get
to it after all the hard yakka has been finished.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-10-03 13:12:47 +10:00
Ben Skeggs
02a841d434
drm/nouveau: restructure source tree, split core from drm implementation
...
Future work will be headed in the way of separating the policy supplied by
the nouveau drm module from the mechanisms provided by the driver core.
There will be a couple of major classes (subdev, engine) of driver modules
that have clearly defined tasks, and the further directory structure change
is to reflect this.
No code changes here whatsoever, aside from fixing up a couple of include
file pathnames.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-10-03 13:12:43 +10:00
Maarten Lankhorst
44b9f44e11
nouveau: fixup scanout enable in nvc0_pm
...
Fixes screen being black after changing performance level.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com >
Cc: stable@vger.kernel.org [3.5+]
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-08-14 09:36:51 +10:00
Ben Skeggs
9d6ba0b58c
drm/nvc0/pm: very initial mclk freq change
...
Loads of magic missing, this will probably blow up if you try it.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-05-24 16:31:34 +10:00
Ben Skeggs
6b91d6b056
drm/nvc0/pm: enable mpll src pll, and calc mpll coefficients
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-05-24 16:31:30 +10:00
Ben Skeggs
a1da205f42
drm/nvc0/pm: start filling in memory reclocking stubs
2012-05-24 16:31:29 +10:00
Ben Skeggs
1ae73f2f16
drm/nvc0/pm: restrict pll mode to clocks that can actually use it
...
Fixes reclocking failure on some chips where we attempted to set PDAEMON
to PLL mode.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2012-03-13 17:14:58 +10:00
Ben Skeggs
045da4e555
drm/nvc0/pm: initial engine reclocking
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2011-12-21 19:01:46 +10:00
Ben Skeggs
8ce51fcfee
drm/nvc0/pm: minor clock readback fixes
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2011-09-20 16:11:55 +10:00
Ben Skeggs
9698b9a680
drm/nvc0/pm: more complete parsing of clock domains
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2011-09-20 16:03:34 +10:00
Ben Skeggs
354d0781e5
drm/nvc0/pm: initial implementation of clocks_get()
...
Not too certain on memory clock yet, but it gets the right numbers for
each perflvl on my NVC0.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2011-09-20 16:03:16 +10:00