[PATCH] sync_file: Return consistent status in SYNC_IOC_FILE_INFO

John Einar Reitan john.reitan at arm.com
Wed Oct 4 12:15:30 UTC 2017


On Wed, Oct 04, 2017 at 11:43:23AM +0100, Chris Wilson wrote:
> In hindsight, having both the per-fence and global variable be called
> info was a mistake. Certainly made this diff a little harder to parse
> than required!

I agree, I had to re-read the code a few times to find & fix the bug.

> Personally I would have set info.status directly rather than add a new
> fences_status. But that's immaterial to the bug fix,

I can clean that up if there is a need for a v2.

> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Thanks!

John



More information about the dri-devel mailing list