On pe, 2017-01-20 at 10:36 +0000, Chris Wilson wrote: > On Thu, Jan 19, 2017 at 09:44:23PM +0200, Ville Syrjälä wrote: > > > > Still inaccurate for 915+Y, but if this is only used to compute the tile > > row size it'll just give a needlessly large answer and so should be > > safe. > > The alternative is that this code is only relevant for gen4+. I wonder > if renaming and restricting at the caller is more tidy.
I think caller restriction would be better, addresses my concern about the gen parameter too. Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx