<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 25, 2016 at 1:10 AM, Pohjolainen, Topi <span dir="ltr"><<a href="mailto:topi.pohjolainen@gmail.com" target="_blank">topi.pohjolainen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On Fri, Aug 19, 2016 at 09:55:37AM -0700, Jason Ekstrand wrote:<br>
> This little patch series is even more blorp code churn. The end objective<br>
> is in patch 31 which pulls blorp into its own directory completely separate<br>
> from the i965 dri driver.<br>
><br>
> Jason Ekstrand (31):<br>
> i965/blorp: Add a blorp_context struct and init/finish funcs<br>
> i965/blorp: Add an internal shader cache<br>
> i965/blorp/genX: Add helpers for allocating various bits of state<br>
> i965/blorp/genX: Pull emit_3dstate_multisample into a helper<br>
> i965/gen6: Refactor gen6_upload_urb<br>
> i965/blorp: Use gen6_upload_urb<br>
> i965/blorp/genX: Move emit_urb_config into another helper<br>
> i965/blorp: Add driver mocs settings to the context<br>
> i965/blorp: Pull emit_surface_state into genX_blorp_exec.c<br>
> i965/blorp: Use blorp_address in brw_blorp_surface instead of<br>
> bo+offset<br>
> i965/blorp/genX: Add a blorp_surface_reloc helper<br>
> i965/blorp: Shorten binding table index enum names<br>
> i965/blorp: Use BT_INDEX enums for setting up the binding table<br>
> i965/blorp: Add a helper for allocating binding tables and surface<br>
> states<br>
> i965/blorp/exec: Refactor to use blorp_context and a void *batch<br>
> i965/blorp: Pull the guts of blorp_exec into a driver-agnostic header<br>
> i965/blorp: Move the guts of brw_blorp_exec into genX_blorp_exec.c<br>
> i965/blorp: Add an "exec" function pointer to blorp_context<br>
> i965/meta_util: Take an isl_device in get_fast_clear_rect<br>
> i965/blorp: Take a blorp_context in compile_nir_shader<br>
> i965/blorp: Get rid of brw_context<br>
> i965/blorp: Make blorp_addres::buffer a void*<br>
> i965/blorp: Add a fast_clear_op enum<br>
> i965: Move the hiz_op enum to blorp<br>
> i965/blorp: Get rid of most brw and mesa includes<br>
> i965: Roll brw_get_ccs_resolve_rect into blorp_ccs_resolve<br>
> i965: Move get_fast_clear_rect to blorp_clear.c<br>
> i965: Move the type_size function declartaions to brw_nir.h<br>
> i965/blorp: Use isl_format_get_depth_format for setting depth formats<br>
> i965/blorp: Remove the remaining brw prefixes from the blorp.h API<br>
> i965: Move blorp into src/intel/blorp<br>
<br>
</div></div>Patches 28-31 also look good to me and are:<br>
<br>
Reviewed-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>><br>
<br>
We discussed a few things offline. Among other things we agreed to add as a<br>
follow-up a word or two about the low 12 bits of aux address in patch 11<br>
giving rational to the delta argument of blorp_surface_reloc(). In any case<br>
I think all patches are now reviewed.<br></blockquote><div><br></div><div>I'm still missing a couple. You can find everything here:<br><br><a href="https://cgit.freedesktop.org/~jekstrand/mesa/log/?h=wip/blorp-vulkan">https://cgit.freedesktop.org/~jekstrand/mesa/log/?h=wip/blorp-vulkan</a><br><br></div><div>In particular, a review of the first patch to flatten makefiles would be nice.<br><br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
><br>
> <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 1 +<br>
> src/intel/Makefile.am | 2 +-<br>
> src/intel/blorp/Makefile.am | 46 +<br>
> src/intel/blorp/Makefile.<wbr>sources | 7 +<br>
> src/{mesa/drivers/dri/i965 => intel/blorp}/blorp.c | 364 +++---<br>
> src/intel/blorp/blorp.h | 144 +++<br>
> .../drivers/dri/i965 => intel/blorp}/blorp_blit.c | 105 +-<br>
> src/intel/blorp/blorp_clear.c | 335 ++++++<br>
> src/intel/blorp/blorp_genX_<wbr>exec.h | 1129 +++++++++++++++++++<br>
> .../drivers/dri/i965 => intel/blorp}/blorp_priv.h | 90 +-<br>
> src/mesa/drivers/dri/i965/<wbr>Makefile.am | 1 +<br>
> src/mesa/drivers/dri/i965/<wbr>Makefile.sources | 5 -<br>
> src/mesa/drivers/dri/i965/<wbr>blorp.h | 92 --<br>
> src/mesa/drivers/dri/i965/<wbr>blorp_clear.c | 201 ----<br>
> src/mesa/drivers/dri/i965/brw_<wbr>blorp.c | 185 +++-<br>
> src/mesa/drivers/dri/i965/brw_<wbr>blorp.h | 6 +-<br>
> src/mesa/drivers/dri/i965/brw_<wbr>clear.c | 4 +-<br>
> src/mesa/drivers/dri/i965/brw_<wbr>context.c | 7 +<br>
> src/mesa/drivers/dri/i965/brw_<wbr>context.h | 8 +-<br>
> src/mesa/drivers/dri/i965/brw_<wbr>meta_util.c | 158 ---<br>
> src/mesa/drivers/dri/i965/brw_<wbr>meta_util.h | 12 -<br>
> src/mesa/drivers/dri/i965/brw_<wbr>nir.h | 9 +-<br>
> src/mesa/drivers/dri/i965/brw_<wbr>shader.h | 6 -<br>
> src/mesa/drivers/dri/i965/<wbr>gen6_urb.c | 56 +-<br>
> src/mesa/drivers/dri/i965/<wbr>gen8_depth_state.c | 12 +-<br>
> src/mesa/drivers/dri/i965/<wbr>genX_blorp_exec.c | 1171 +++-----------------<br>
> src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c | 18 +-<br>
> src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.h | 2 +-<br>
> src/mesa/drivers/dri/i965/<wbr>intel_resolve_map.c | 2 +-<br>
> src/mesa/drivers/dri/i965/<wbr>intel_resolve_map.h | 22 +-<br>
> 30 files changed, 2263 insertions(+), 1937 deletions(-)<br>
> create mode 100644 src/intel/blorp/Makefile.am<br>
> create mode 100644 src/intel/blorp/Makefile.<wbr>sources<br>
> rename src/{mesa/drivers/dri/i965 => intel/blorp}/blorp.c (55%)<br>
> create mode 100644 src/intel/blorp/blorp.h<br>
> rename src/{mesa/drivers/dri/i965 => intel/blorp}/blorp_blit.c (95%)<br>
> create mode 100644 src/intel/blorp/blorp_clear.c<br>
> create mode 100644 src/intel/blorp/blorp_genX_<wbr>exec.h<br>
> rename src/{mesa/drivers/dri/i965 => intel/blorp}/blorp_priv.h (82%)<br>
> delete mode 100644 src/mesa/drivers/dri/i965/<wbr>blorp.h<br>
> delete mode 100644 src/mesa/drivers/dri/i965/<wbr>blorp_clear.c<br>
><br>
> --<br>
> 2.5.0.400.gff86faf<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div></div>