]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/nouveau/mc: add nvkm_mc_enabled() function
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:18 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:30 +0000 (15:14 +1000)
commitc599dd4b70d3d8a485be6b80d8b190beb3df874b
treed702d8b6ccde594b62fad5bb23ba5097c446dbd1
parentc1fcb14879e87c837c360c2ec9f32d19f62faf89
drm/nouveau/mc: add nvkm_mc_enabled() function

Add a function that allows us to query whether a given subdev is
currently enabled or not.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
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