[PATCH 3/4] vmwgfx: Wrap drm_read and drm_poll

2011-10-10 Thread Thomas Hellstrom
Make sure the device is processing the fifo when these functions are called in case they might sleep waiting for an event. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |3 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |4 +++ drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c

[PATCH 3/4] vmwgfx: Wrap drm_read and drm_poll

2011-10-10 Thread Thomas Hellstrom
Make sure the device is processing the fifo when these functions are called in case they might sleep waiting for an event. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |3 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |4 +++ drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c