]> git.karo-electronics.de Git - linux-beck.git/commit
drm/nouveau/mc: add helper function to handle device reset
authorBen Skeggs <bskeggs@redhat.com>
Fri, 8 Apr 2016 07:24:40 +0000 (17:24 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 20 May 2016 04:43:04 +0000 (14:43 +1000)
commit6defde5ab3e1d8b8fcd187517f878955b5e30465
tree584b5a1cba48b799ef46c8876ab29cf4a81b933f
parent87f313e6e6dcd1f46cc4ad134980584c822b67d6
drm/nouveau/mc: add helper function to handle device reset

This will be later extended to handle PTOP-specified reset masks as well
as the hardcoded ones.

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