Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe: Don't emit extra MI_BATCH_BUFFER_END in WA batchbuffer

The MI_BATCH_BUFFER_END is already added automatically by
__xe_bb_create_job(); including it in the construction of the workaround
batchbuffer results in an unnecessary duplicate.

Link: https://lore.kernel.org/r/20230329173334.4015124-4-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Matt Roper and committed by
Rodrigo Vivi
1bf1d86f 9b36f7af

-2
-2
drivers/gpu/drm/xe/xe_gt.c
··· 203 203 bb->cs[bb->len++] = entry->set_bits; 204 204 } 205 205 } 206 - bb->cs[bb->len++] = MI_NOOP; 207 - bb->cs[bb->len++] = MI_BATCH_BUFFER_END; 208 206 209 207 batch_ofs = xe_bo_ggtt_addr(gt->kernel_bb_pool.bo); 210 208 job = xe_bb_create_wa_job(e, bb, batch_ofs);