drm/nv50: import initial clock get/set routines + hook up pm engine
authorBen Skeggs <bskeggs@redhat.com>
Thu, 16 Sep 2010 06:17:35 +0000 (16:17 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:27:06 +0000 (16:27 +1000)
commit02c30ca0a1d6d8b878fc32f47b3b25192ef4a8ef
tree7f8e859b1ea46c8e96a90528c092a0e01462feb6
parent330c5988ee78045e6a731c3693251aaa5b0d14e3
drm/nv50: import initial clock get/set routines + hook up pm engine

This will make nouveau_pm attempt to report the card's current performance
level both during bootup, and through sysfs.

This is a very initial implementation, and can be improved a *lot*

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/nouveau_pm.h
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv50_pm.c [new file with mode: 0644]