[PATCH v14 2/4] drm: crc: Wait for a frame before returning from open()

2017-01-05 Thread Daniel Vetter
On Mon, Jan 02, 2017 at 01:59:10PM +0100, Tomeu Vizoso wrote: > Don't return from the open() call on the crc/data file until the HW has > produced a first frame, as there's great variability in when the HW is > able to do that and userspace shouldn't have to guess when this specific > HW is ready

[PATCH v14 2/4] drm: crc: Wait for a frame before returning from open()

2017-01-02 Thread Tomeu Vizoso
Don't return from the open() call on the crc/data file until the HW has produced a first frame, as there's great variability in when the HW is able to do that and userspace shouldn't have to guess when this specific HW is ready to start giving frame CRCs. Signed-off-by: Tomeu Vizoso ---