Skip to contentSkip to conversation

linux-next: manual merge of the drm-xe tree with the drm-fixes tree

PATCH Mark Brown 1 participant 2 messages Nov 13 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

Today's linux-next merge of the drm-xe tree got conflicts in:

drivers/gpu/drm/xe/xe_lmtt.c
drivers/gpu/drm/xe/xe_pm.c

between commits:

fc0ba46fd8278 ("drm/xe: Access GT MMIO after pcode init") a17c5ed0dc715 ("drm/xe/pm: Apply tile workarounds after PCODE initialization") 3654a4d734df9 ("drm/xe/pf: Program LMTT directory pointer from each GT's init path")

from the drm-fixes tree and commits:

641ffb2132839 ("drm/xe/pm: Apply tile workarounds after PCODE initialization") a8653bee6a040 ("drm/xe/pf: Program LMTT directory pointer from each GT's init path") c9edd9cf7e613 ("drm/xe/pf: Use multicast writes for early-generation LMTT config") be082ef8157b7 ("drm/xe/pm: skip BO eviction on iGPU for non-hibernation sleep") ff03d9510426e ("drm/xe/pm: Introduce xe_device_suspend/resume()")

from the drm-xe tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

drivers/gpu/drm/xe/xe_lmtt.c +1 -7
index 8fba3c01fac29..ea2a3eeefccd7 100644
@@ -220,14 +220,8 @@ static void lmtt_setup_dir_ptr_gt(struct xe_gt *gt, u32 config)
 	struct xe_reg reg;
 	u32 val_read;
 
-	if (GRAPHICS_VER(xe) < 20) {
-		reg = LMEM_CFG;
-		xe_mmio_write32(&gt->mmio, reg, config);
-		return;
-	}
-
 	if (xe_gt_is_main_type(gt)) {
-		reg_mcr = XE2_LMEM_CFG_MCR;
+		reg_mcr = GRAPHICS_VER(xe) < 20 ? LMEM_CFG_MCR : XE2_LMEM_CFG_MCR;
 		xe_gt_mcr_multicast_write(gt, reg_mcr, config);
 		val_read = xe_gt_mcr_unicast_read_any(gt, reg_mcr);
 		xe_gt_assert_msg(gt, val_read == config, "LMEM_CFG_MCR: %#x != %#x\n",
drivers/gpu/drm/xe/xe_pm.c +29 -97

171 lines not on this page · raw message

A message that is not in the archive (sent off-list or not yet received): 179458978035.21808.18177672178442576596@9ac1b63fe3ea

author maintainer
#2 lore raw

Re: ✗ CI.Patch_applied: failure for linux-next: manual merge of the drm-xe tree with the drm-fixes tree

Quoted 5 lines · Patchwork

== Series Details ==

Series: linux-next: manual merge of the drm-xe tree with the drm-fixes tree
URL : https://patchwork.freedesktop.org/series/178515/
State : failure

This isn't a patch submission...