Re: [Mesa-dev] [PATCH 7/7] i965: Record mipmap resolver for unmapping

2018-04-12 Thread Scott D Phillips
Chris Wilson writes: > Quoting Scott D Phillips (2018-04-12 15:17:16) >> Chris Wilson writes: >> >> > When mapping a region of the mipmap_tree, record which complementary >> > method to use to unmap it afterwards. By doing so we can avoid >> > duplicating the decision tree used when mapping and

Re: [Mesa-dev] [PATCH 7/7] i965: Record mipmap resolver for unmapping

2018-04-12 Thread Chris Wilson
Quoting Scott D Phillips (2018-04-12 15:17:16) > Chris Wilson writes: > > > When mapping a region of the mipmap_tree, record which complementary > > method to use to unmap it afterwards. By doing so we can avoid > > duplicating the decision tree used when mapping and thereby eliminate > > trivial

Re: [Mesa-dev] [PATCH 7/7] i965: Record mipmap resolver for unmapping

2018-04-12 Thread Scott D Phillips
Chris Wilson writes: > When mapping a region of the mipmap_tree, record which complementary > method to use to unmap it afterwards. By doing so we can avoid > duplicating the decision tree used when mapping and thereby eliminate > trivial errors that can be introduced if the two if-chains become

[Mesa-dev] [PATCH 7/7] i965: Record mipmap resolver for unmapping

2018-04-11 Thread Chris Wilson
When mapping a region of the mipmap_tree, record which complementary method to use to unmap it afterwards. By doing so we can avoid duplicating the decision tree used when mapping and thereby eliminate trivial errors that can be introduced if the two if-chains become out of sync. Signed-off-by: Ch