On Fri, Mar 17, 2017 at 11:17:57PM +0200, ville.syrjala@xxxxxxxxxxxxxxx wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Pull the code to calculate the pre-SKL primary plane control register > value into a separate function. Allows us to pre-compute it in the > future. > > We can also share the code between the i9xx and ilk codepaths as the > differences are minimal. Actually there are no differences between > g4x and ilk, so the current split doesn't really make any sense. Could you do this as 2 passes? I started to freak out seeing hsw/bdw when checking for no changes from the i9xx_update_primary_plane. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx