drm: Partial sync with Linux 4.7.10
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 24 Jul 2018 21:21:05 +0000 (23:21 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 24 Jul 2018 21:21:05 +0000 (23:21 +0200)
commitc4bb8e01c525f72b1df5200e92d8bc406dc3a643
tree9d531396f2e709525be75a69a7a3b5f6ecc9e832
parenta11011060515ad7c2088f1494089788e796fd760
drm: Partial sync with Linux 4.7.10

* Implement O_NONBLOCK support on /dev/dri/cardN

* Use filp->private_data in more places

* Add locking directives
sys/dev/drm/drm_fops.c
sys/dev/drm/drm_ioctl.c
sys/dev/drm/drm_vm.c
sys/dev/drm/include/drm/drmP.h
sys/dev/drm/include/linux/fs.h