[PATCH i-g-t 1/2] include/intel_gpu_commands: Add persistent batch buffer instruction.

Kumar, Janga Rahul janga.rahul.kumar at intel.com
Tue Dec 26 06:54:46 UTC 2023



> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of
> sai.gowtham.ch at intel.com
> Sent: Friday, December 22, 2023 4:24 PM
> To: igt-dev at lists.freedesktop.org; Ch, Sai Gowtham
> <sai.gowtham.ch at intel.com>
> Subject: [PATCH i-g-t 1/2] include/intel_gpu_commands: Add persistent batch
> buffer instruction.
Don't end commit title with "."
Correct this in all patches wherever required.

Thanks,
Rahul
> 
> From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> 
> Add persistent batct buffer instruction.
> 
> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> ---
>  include/intel_gpu_commands.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/intel_gpu_commands.h b/include/intel_gpu_commands.h
> index e10507fa7..5a98fb63f 100644
> --- a/include/intel_gpu_commands.h
> +++ b/include/intel_gpu_commands.h
> @@ -134,6 +134,7 @@
>  #define MI_STORE_DWORD_IMM	MI_INSTR(0x20, 1)
>  #define MI_STORE_DWORD_IMM_GEN4	MI_INSTR(0x20, 2)
>  #define MI_STORE_QWORD_IMM_GEN8 (MI_INSTR(0x20, 3) | REG_BIT(21))
> +#define MI_PRT_BATCH_BUFFER_START (0x39 << 23)
>  #define   MI_MEM_VIRTUAL	(1 << 22) /* 945,g33,965 */
>  #define   MI_USE_GGTT		(1 << 22) /* g4x+ */
>  #define MI_STORE_DWORD_INDEX	MI_INSTR(0x21, 1)
> --
> 2.39.1



More information about the igt-dev mailing list