Skip to content

Commit 1ec31d3

Browse files
Tvrtko Ursulinlucasdemarchi
authored andcommitted
drm/xe: Rename utilization workaround emission function
Lucas suggested to consolidate to a slightly different naming scheme which will align with the upcoming additions better. Signed-off-by: Tvrtko Ursulin <[email protected]> Suggested-by: Lucas De Marchi <[email protected]> Cc: Matt Roper <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
1 parent 81b7967 commit 1ec31d3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

drivers/gpu/drm/xe/xe_lrc.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,10 @@ static void xe_lrc_finish(struct xe_lrc *lrc)
944944
* store it in the PPHSWP.
945945
*/
946946
#define CONTEXT_ACTIVE 1ULL
947-
static ssize_t wa_bb_setup_utilization(struct xe_lrc *lrc, struct xe_hw_engine *hwe,
948-
u32 *batch, size_t max_len)
947+
static ssize_t setup_utilization_wa(struct xe_lrc *lrc,
948+
struct xe_hw_engine *hwe,
949+
u32 *batch,
950+
size_t max_len)
949951
{
950952
u32 *cmd = batch;
951953

@@ -1044,7 +1046,7 @@ static void finish_bo(struct bo_setup_state *state)
10441046
static int setup_wa_bb(struct xe_lrc *lrc, struct xe_hw_engine *hwe)
10451047
{
10461048
static const struct bo_setup funcs[] = {
1047-
{ .setup = wa_bb_setup_utilization },
1049+
{ .setup = setup_utilization_wa },
10481050
};
10491051
struct bo_setup_state state = {
10501052
.lrc = lrc,

0 commit comments

Comments
 (0)