drm: Sync drm_read() with Linux 4.7.10
commitd420a8a88d271f244e34680d0f9bf03c7bf2f5ed
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 5 Aug 2018 15:07:46 +0000 (5 17:07 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 5 Aug 2018 15:07:46 +0000 (5 17:07 +0200)
tree8f706fa2b0847ff3045778c5b67d73e3ea8986e4
parent3b1300daa841e3b20ed7417394ab6039c5f2506b
drm: Sync drm_read() with Linux 4.7.10

This should fix various issues related to multithreaded races
and make the drm subsystem more robust.
sys/dev/drm/drm_fops.c