Quoting Joonas Lahtinen (2017-09-29 08:08:31) > On Fri, 2017-09-29 at 10:28 +0530, Sagar Arun Kamble wrote: > > i915_gem_restore_fences is GEM resumption task hence it is moved to > > i915_gem_resume from i915_restore_state. > > > > Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@xxxxxxxxx> > > Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> > > Cc: Michał Winiarski <michal.winiarski@xxxxxxxxx> > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > > Yep, this is a more appropriate place. Locality to the display resume > was probably reason for the odd placement previously (it was added to > fix a bug of fences not being there for display resume). > > Do we want to comment this requirement between i915_gem_resume and > i915_restore_state? Chris? I'd forgotten about restore_state. That's old school save-the-world, restore-the-world for UMS code. Keep whittling it down and eventually it will go away, everything we do now should be independent of i915_suspend.c... > Anyway, > > Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Added to my queue for pushing, thanks for the patch and review. > Regards, Joonas > > PS. My guess seems to be correct according to git blame (skipping one > rename in between) info. Yes, debugging fences across resume has always been a case of fixing display corruption. :| -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx