summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/bios/shadow.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-10-02 14:03:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-10-12 13:01:03 +1000
commit2291ed10b42d60f4a163165fb8ddc38682db35de (patch)
tree03b436334517eecb7632479cfa3168bd501499d0 /drm/nouveau/nvkm/subdev/bios/shadow.c
parentb85635aa9ba289d168f0440bd535d1cc336bf489 (diff)
downloadnouveau-2291ed10b42d60f4a163165fb8ddc38682db35de.tar.gz
fbcon: take runpm reference when userspace has an open fd
We need to do this in order to prevent accesses to the device while it's powered down. Userspace may have an mmap of the fb, and there's no good way (that I know of) to prevent it from touching the device otherwise. This fixes some nasty races between runpm and plymouth on some systems, which result in the GPU getting very upset and hanging the boot. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/nvkm/subdev/bios/shadow.c')
0 files changed, 0 insertions, 0 deletions