On Tue, Jan 29, 2013 at 06:13:34PM +0200, [email protected] wrote: > From: Ville Syrjälä <[email protected]> > > If a GPU reset occurs while a page flip has been submitted to the ring, > the flip will never complete once the ring has been reset. > > The GPU reset can be detected by sampling the reset_counter before the > flip is submitted, and then while waiting for the flip, the sampled > counter is compared with the current reset_counter value. > > Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Damien Lespiau <[email protected]> You might want to rename reset_counter to flip_reset_counter to indicate this field is specific to the flipping code. Other parts of the code might need something similar as well? -- Damien _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
