[Mesa-dev] [PATCH 02/40] i965/gen8: Document inst buffer size modify enabling bit

Kenneth Graunke kenneth at whitecape.org
Mon Apr 18 05:09:11 UTC 2016


On Saturday, April 16, 2016 4:42:30 PM PDT Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>  src/mesa/drivers/dri/i965/gen8_misc_state.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/gen8_misc_state.c b/src/mesa/drivers/
dri/i965/gen8_misc_state.c
> index a46b252..c0014e5 100644
> --- a/src/mesa/drivers/dri/i965/gen8_misc_state.c
> +++ b/src/mesa/drivers/dri/i965/gen8_misc_state.c
> @@ -64,7 +64,8 @@ gen8_upload_state_base_address(struct brw_context *brw)
>     /* Instruction access upper bound */
>     OUT_BATCH(ALIGN(brw->cache.bo->size, 4096) | 1);
>     if (brw->gen >= 9) {
> -      OUT_BATCH(1);
> +      const int instruction_buffer_size_modify_enable = 1;
> +      OUT_BATCH(instruction_buffer_size_modify_enable);
>        OUT_BATCH(0);
>        OUT_BATCH(0);
>     }
> 


I don't really care for this patch, personally.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160417/436a4921/attachment.sig>


More information about the mesa-dev mailing list