Re: [Intel-gfx] [PATCH] drm/crc: Handle opening and closing crc better

2017-07-06 Thread Tomeu Vizoso
Looks good to me: Reviewed-by: Tomeu Vizoso I guess you have tested this with IGT? In any case, I think it would be good to mention how a patch has been tested in the changelog. That can be very useful to others if things go wrong at some point. Thanks, Tomeu On 21 June 2017 at 13:00, Maar

[Intel-gfx] [PATCH] drm/crc: Handle opening and closing crc better

2017-06-21 Thread Maarten Lankhorst
When I was doing a grep . -r /sys/kernel/debug/dri/0 I noticed a WARN appearing when I aborted the grep with ^C. After investigating I've also noticed that the error handling was lacking and there are race conditions involving multiple calls to open/close simultaneously. Fix this by setting the o