Atomic: Notify Watcher to observe device fd
commit5c076707336319ef2649f1c62f977b015ff583fa
authorkalyan.kondapally <kalyan.kondapally@intel.com>
Mon, 10 Aug 2015 18:37:10 +0000 (10 11:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 10 Aug 2015 18:37:39 +0000 (10 18:37 +0000)
tree55236c62ffc604376f08435b3f691d95444497c9
parentfb34f46d8f4e7ab56474ca3866514cd11b579198
Atomic: Notify Watcher to observe device fd

we always block on the main thread till the FD becomes
readable. With non-atomic code path, we always wait on a
worker thread to see if the device fd has become readable.
We want to do the same with Atomic, notify watcher to observe
if the device fd is readable in a separate thread (respecting is_sync value)
instead of blocking main thread.

BUG=

Review URL: https://codereview.chromium.org/1282723002

Cr-Commit-Position: refs/heads/master@{#342651}
ui/ozone/platform/drm/gpu/drm_device.cc