On Thu, 2017-09-14 at 19:39 +0100, Chris Wilson wrote: > Quoting Zhi Wang (2017-09-14 18:24:10) > > struct_mutext needs to be held before call these two APIs. > > True for the moment. But raises a question of whether introducing a > ppat->mutex would be beneficial? All depends on whether the caller is > already forced to use struct_mutex and is likely to continue to need it > next year... I doubt this will be performance critical, so introducing separate locking should not hurt. Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx