drm/nouveau/therm: split the nv50 and nv84 code
authorMartin Peres <martin.peres@labri.fr>
Sat, 23 Feb 2013 15:45:51 +0000 (16:45 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 26 Apr 2013 05:37:35 +0000 (15:37 +1000)
commit2f4573679a8159e0c80a5d4f812b778aef9ceb14
tree60ac29a003260e0fef86a0c2ae95c3418151965a
parent897a6e27fd44573d2f346d9bb122e0e29759952c
drm/nouveau/therm: split the nv50 and nv84 code

This is needed because temperature management on nv50 can be enabled and it
looks about the same as nv40.

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/include/subdev/therm.h
drivers/gpu/drm/nouveau/core/subdev/device/nv50.c
drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c
drivers/gpu/drm/nouveau/core/subdev/therm/nv50.c
drivers/gpu/drm/nouveau/core/subdev/therm/nv84.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/subdev/therm/nva3.c
drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c
drivers/gpu/drm/nouveau/core/subdev/therm/priv.h