linux-next: manual merge of the drm-xe tree with the origin tree
Subsystems (3)
Mark Brown
maintainerHi all,
Today's linux-next merge of the drm-xe tree got a conflict in:
drivers/gpu/drm/xe/xe_bb.c
between commits:
69050f8d6d075 ("treewide: Replace kmalloc with kmalloc_obj for non-scalar types") bf4afc53b77ae ("Convert 'alloc_obj' family to use the new default GFP_KERNEL argument")
from the origin tree and commit:
bcd768d787e7b ("drm/xe/vf: Fix fs_reclaim warning with CCS save/restore BB allocation")
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_bb.c +0 -0
@@@ -59,12 -59,18 +59,18 @@@ errreturn ERR_PTR (err); } -struct xe_bb *xe_bb_ccs_new (struct xe_gt *gt,u32 dwords, -enum xe_sriov_vf_ccs_rw_ctxs ctx_id) +/** +* xe_bb_alloc() - Allocate a new batch buffer structure +* @gt: the &xe_gt +* +* Allocates and initializes a new xe_bb structure with an associated +* uninitialized suballoc object. +* +* Returns: Batch buffer structure or an ERR_PTR(-ENOMEM). +*/ +struct xe_bb *xe_bb_alloc (struct xe_gt *gt) { - struct xe_bb *bb = kmalloc(sizeof(*bb), GFP_KERNEL); + struct xe_bb *bb = kmalloc_obj(*bb); -struct xe_device *xe =gt_to_xe (gt); -struct xe_sa_manager *bb_pool;int err;if (!bb)