Skip to content

Commit 5c9464e

Browse files
committed
drm/xe: Don't refer to general LRC initialization as a "wa"
During engine LRC initialization a number of registers need to be programmed as general setup. This programming is not a "workaround" so naming the RTP table as "lrc_was" is misleading; switch to the name "lrc_setup" to more accurately describe what the table is actually for. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240524230444.1447797-2-matthew.d.roper@intel.com
1 parent 0aa2562 commit 5c9464e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/xe/xe_hw_engine.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ xe_hw_engine_setup_default_lrc_state(struct xe_hw_engine *hwe)
342342
u32 blit_cctl_val = REG_FIELD_PREP(BLIT_CCTL_DST_MOCS_MASK, mocs_write_idx) |
343343
REG_FIELD_PREP(BLIT_CCTL_SRC_MOCS_MASK, mocs_read_idx);
344344
struct xe_rtp_process_ctx ctx = XE_RTP_PROCESS_CTX_INITIALIZER(hwe);
345-
const struct xe_rtp_entry_sr lrc_was[] = {
345+
const struct xe_rtp_entry_sr lrc_setup[] = {
346346
/*
347347
* Some blitter commands do not have a field for MOCS, those
348348
* commands will use MOCS index pointed by BLIT_CCTL.
@@ -374,7 +374,7 @@ xe_hw_engine_setup_default_lrc_state(struct xe_hw_engine *hwe)
374374
{}
375375
};
376376

377-
xe_rtp_process_to_sr(&ctx, lrc_was, &hwe->reg_lrc);
377+
xe_rtp_process_to_sr(&ctx, lrc_setup, &hwe->reg_lrc);
378378
}
379379

380380
static void

0 commit comments

Comments
 (0)