On to, 2016-08-04 at 20:52 +0100, Chris Wilson wrote: > We only need to take the struct_mutex if the object is pinned to the > display engine and so requires checking for clflush. (The race with > userspace pinning the object to a framebuffer is irrelevant.) > > v2: Use access once for compiler hints (or not as it is a bitfield) > v3: READ_ONCE, obj->pin_display is not a bitfield anymore > v4: Don't be creative with goto. > > Signed-off-by: Chris Wilson <[email protected]> > Cc: Daniel Vetter <[email protected]>
This is readable, and it wasn't that hard. Reviewed-by: Joonas Lahtinen <[email protected]> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
