diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-10-02 14:03:19 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 09:51:56 +0900 |
commit | db531487d7f87820533fa37be4e52439034075d1 (patch) | |
tree | dc8abfb86e8a8974699cf252a45c60c422d09621 /include | |
parent | 65825ff6388e1905ea128cb5341822840ddda62e (diff) | |
download | lwn-db531487d7f87820533fa37be4e52439034075d1.tar.gz lwn-db531487d7f87820533fa37be4e52439034075d1.zip |
drm/nouveau/fbcon: take runpm reference when userspace has an open fd
commit f231976c2e8964ceaa9250e57d27c35ff03825c2 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions