]> git.karo-electronics.de Git - linux-beck.git/commit
drm/nouveau/mc: expose device enable/disable separately, as well as reset
authorBen Skeggs <bskeggs@redhat.com>
Sun, 29 May 2016 22:23:41 +0000 (08:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commit3c2a536b0cbac98035cba42c880c58fd399cb167
tree2205bb8a12fb2d245f8da2dbb53feb40ae0fb263
parentd398119034a4b78d475e3853b3b0ad9fa26f6c52
drm/nouveau/mc: expose device enable/disable separately, as well as reset

There are cases where subdevs need to perform additonal actions around
the master reset, so we want to expost the operations separately.

This commit also adds a flag to the NV_PMC_ENABLE bitfield definitions
which allow skipping the automatic reset() called from core/subdev.c.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h