From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796055109; b=rQt+qxau1ooT2U/ReylIz60/yFdn7HtauQtMWpLQLlX2RBjCqmYpLzs810tjJR6pzn4h v/75RJAw1twULVOXxYB5WK2/CsODFZExoyHlczFU5C4iYDAQA9fHboY91UjeisbDxcuu6 +2V1KoRmJ20bmL7dYaaQg4YxNC2L67pzfZ7fAaHiN1QBdlpe2BBo4VWcVpSfkBtq/etD5 aqTNKzeJRqzj6Jb2ElTjRyZLDSN+oH8Dqk2e2rB0SshCCJZjV+VTAC6i8ZYfpLdT9x69V zpbuczFZUp5Wu/dRhterua6Buh8MnL3pbYTa8BQD8JnTKUW5yNB68CiQ8Edo4yl6Ucg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055109; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; bh=HP0uAGucFFOT/76VqL1VQ6rqZ39J1BBnbl4ybd12D9E=; b=qTt2xJxBQ/opT9une5EavCXh5e1vh9+TDfMy/SPoBX5ud+SCEPDDLTrsuJD28w5un6Ha BfHBrT9UoaFTg7QIy+mRPRqrc+P0pI8N28tEl6jm9b4A9J0HuCD1ht5aXfTrvwPuGCuAb pa/AAaY3mro5bhsvTCDSdbWhNQoU3xyy4SZL4k3RqOl45RDVECEhFBKno2Zs3PRgbRGG/ vaViqiVJiyK0kAr9vhcU9oPwHteYywOWPDcUeEfhZsUSb3kwkylDieUhY4ZuXh3vzQ87l 8WY7/RMcz/P8KJVMNCTaA6o/6zFEVAl8PH0ccRqZ86DWSQS/Nd9jmsssuVXHKjp5GSQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AATMmzk2; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32B47606A320; Mon, 30 Nov 2026 16:11:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AATMmzk2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34AF01F0089A; Mon, 30 Nov 2026 16:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796055108; bh=HP0uAGucFFOT/76VqL1VQ6rqZ39J1BBnbl4ybd12D9E=; h=Date:From:To:Cc:Subject; b=AATMmzk2WuVEBKlqV/7VNy5ZihLYQFSryWRRoF7oB7BSBMJfqRcryJZcR2k4NWXYO U0SYiE6BvFeLUafCRYfyxBGCOT5D3Bw8PR1sXaH5k5uEHwcHafXR4P/h/yYnFB2BR3 f+/63y5jS3Y6KpE76sH0y1IwakSH1arvu5BKJq4/Ebr0/1/LeGYZb2FSo6UTXcgBv7 /4X+DA5eyGzg8bW9Iej8vRikf+ViTo6f+SMk0y7WAOFe9pgCgBxOo8ZYdP7rmDi4QC GYgjsLuQP1qidXBUHNCr+LrQ1r6Pjk3ZTvvn8hWYsAAe5DYklHg/IWhjrZUIAxbQ9A LpMgesQs/yNHQ== Date: Mon, 30 Nov 2026 16:11:39 +0000 From: Mark Brown To: Dave Airlie , DRI Cc: Alex Deucher , Alexey Minnekhanov , Alistair Popple , Badal Nilawar , Christian =?iso-8859-1?Q?K=F6nig?= , Conor Dooley , Daniel Charles , Daniele Ceraolo Spurio , David Rosca , Dnyaneshwar Bhadane , Jason Gunthorpe , Jason Gunthorpe , Jia Wang , Joonas Lahtinen , Jouni =?iso-8859-1?Q?H=F6gander?= , Karthik Poosa , Linux Kernel Mailing List , Linux Next Mailing List , Maarten Lankhorst , Matthew Brost , Matt Roper , "Michael J. Ruhl" , Mika Kahola , Mina Almasry , Neil Armstrong , Paolo Abeni , Raag Jadav , Riana Tauro , Rodrigo Vivi , Ruijing Dong , Satyanarayana K V P , Vinay Belgaumkar Subject: linux-next: manual merge of the drm tree with the amd-drm-fixes,amd-drm-next,drm-intel-fixes,drm-intel-next,drm-misc-next,drm-xe-fixes,drm-xe-next,net-next,riscv-dt trees Message-ID: X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JcpZGCYtu9rUr08u" Content-Disposition: inline --JcpZGCYtu9rUr08u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, FIXME: Add author(s)/SOB of conflicting commits. Today's linux-next merge of the drm tree got conflicts in: drivers/gpu/drm/xe/xe_pci_error.c drivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c drivers/gpu/drm/xe/xe_drm_ras.c drivers/gpu/drm/xe/xe_uc_fw.c between commits: 4da6437456f0c ("drm/amdgpu: keep the commit padding when re-emitting subm= issions") 87a841d8c0b71 ("drm/amdgpu: Fix VCE buffer size check for DPB and input s= urface") 4247f4e2c10ea ("drm/i915/psr: Re-arm PSR after flush") 031cc955b33b0 ("drm/xe: Move xe_device_wedged_fini() registration to xe_d= evice_probe_early()") 402567ac0875b ("drm/xe: Drop xe_device_set_wedged_method()") 8801081e5991e ("drm/xe/gt: Use GT ordered workqueue for wedging") b828d2b7326b5 ("drm/xe: Make xe_device_declare_wedged() IRQ safe") 72296e02b46a3 ("drm/xe/hwmon: Unregister hwmon before the device is unplu= gged") 55d37e0c61553 ("drm/xe/ras: Fix sysctrl and drm-ras discrepancy") 1eb526467c96d ("drm/xe/pci_error: Flush GT wedge worker before bus reset") f8795bced27bb ("drm/xe/gsc: Fix NVL-S GSC compatibility number") c948839c2e81a ("drm/xe/amc: Guard xe_amc_work() with runtime PM") a890a885b982f ("drm/xe/hw_error: Guard csc_hw_error_work() with runtime P= M") d37dcdaa99b18 ("drm/xe/hwmon: Fix thermal sensor data handling") dbd199c775cbe ("drm/xe/hwmon: Handle unavailable memory controller sensor= s") c9d8ef7f6835d ("drm/xe/hwmon: Decode mailbox temperature as sign-magnitud= e") 808951ee16738 ("drm/xe/hwmon: Report errors using structured xe_log API") 74f1a6f03f2d4 ("drm/xe/xe_late_bind_fw: Fix firmware leak on missing mani= fest entry") 3654a4d734df9 ("drm/xe/pf: Program LMTT directory pointer from each GT's = init path") 7539edbca32d6 ("drm/xe/pat: Return error from xe_pat_init_early() on unkn= own platform") f2a144e9891b3 ("drm/xe/hwmon: Add helpers to validate thermal sensor read= ings") a17c5ed0dc715 ("drm/xe/pm: Apply tile workarounds after PCODE initializat= ion") fc0ba46fd8278 ("drm/xe: Access GT MMIO after pcode init") c4466d2c3e776 ("net: devmem: unmap dma_buf synchronously on queue uninsta= ll") ede1618064a9b ("net: devmem: detach TX bindings on NETDEV_UNREGISTER") f61b65abc9f41 ("dt-bindings: vendor-prefixes: Add shenrongda") =66rom the amd-drm-fixes,amd-drm-next,drm-intel-fixes,drm-intel-next,drm-misc-next,drm= -xe-fixes,drm-xe-next,net-next,riscv-dt tree and commits: 8a4dfdc0d2adf ("drm/amdgpu: reemit RLC SPM register in ring reemit") b229fdd689c8b ("drm/amdgpu: Allow multiple VCE create commands with same = handle") 24c0be8ac3ef2 ("drm/amdgpu: Fix VCE buffer size check for DPB and input s= urface") 20470bb876bcf ("drm/i915/psr: Track all joined pipes for frontbuffer trac= king") 731ed8af13bde ("drm/i915/psr: Re-arm PSR after flush") b55dbe9011975 ("dt-bindings: vendor-prefixes: Add Shen Chao Optoelectroni= cs") 77e0b2d2f4f37 ("treewide: Rename dma_buf_(un)map_attachment() to dma_buf_= (un)map_sgt()") 82f813f7a0de8 ("drm/xe: Introduce xe_wedge") 84474fbf9ae5a ("drm/xe/ras: Move xe_ras_process_errors() to xe_ras") ffa5e5d4e2203 ("drm/xe: Raise gt frequency slightly earlier.") 344b7ec704ee0 ("drm/xe/vsec: Update VSEC probe order") 3b4cc31db4407 ("drm/xe/vsec: Support late bind fw information") 323047eeee980 ("drm/xe: Separate drm-ras netlink data from device and fir= mware RAS state") 7c830292deb22 ("drm/xe/drm_ras: Protect against unplugged or wedged devic= e") c7e8bd650f5e2 ("drm/xe/wedge: Introduce xe_wedge_mode_is_no_reset()") 11f8678d6a702 ("drm/xe/gsc: Fix NVL-S GSC compatibility number") ae7dfdba190ee ("drm/xe/gsc: Define GSC firmware for NVL-P") b6bd6c613fd5e ("drm/xe: Add support for wa_14028434957") 993338420540a ("drm/xe/hwmon: Add platform-aware VRAM thermal channel sup= port") 87ce4876e3f50 ("drm/xe/hwmon: Cache temperature availability to reduce pr= obe time") 32b98ee8d317b ("drm/xe/hwmon: add PCIe temperature support for CRI") a3d7376b9d671 ("drm/xe: Validate thermal sensor count before reads") ae4cd659d22dc ("drm/xe/hwmon: Update memory controller temperature offset= for CRI") 8fdd3d4c55ecb ("drm/xe/hwmon: Detect unavailable PCIe thermal sensors") 918e85a4f597e ("drm/xe/xe_late_bind_fw: Add support to load Ocode firmwar= e") c9edd9cf7e613 ("drm/xe/pf: Use multicast writes for early-generation LMTT= config") de3e402df7f56 ("drm/xe/pat: Report missing PAT table using structured xe_= log API") d7bc407b38090 ("drm/xe/xe_late_bind_fw: Enable late binding support for C= RI") c97f2efa0b561 ("drm/xe: Don't ask for bug reports on force probed platfor= ms") ff03d9510426e ("drm/xe/pm: Introduce xe_device_suspend/resume()") 1f6ac7c86aa52 ("drm/xe: Memset g2g buffer on resume") 6bae3d8f56944 ("drm/xe/hwmon: Unregister hwmon before the device is unplu= gged") =66rom the drm 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. diff --cc Documentation/devicetree/bindings/vendor-prefixes.yaml index ed17f8e287f9d,0c94832f4f47c..0000000000000 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@@ -1533,8 -1529,8 +1537,10 @@@ patternProperties description: SGX Sensortech "^sharp,.*": description: Sharp Corporation + "^shenchao,.*": + description: Shen Chao Optoelectronics (Shenzhen) Co., Ltd. + "^shenrongda,.*": + description: Shenzhen Rongda Computer Co., Ltd. "^shift,.*": description: SHIFT GmbH "^shimafuji,.*": diff --cc drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 18e333e7ffd32,d0a6901532fd6..0000000000000 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@@ -745,8 -748,10 +748,11 @@@ void amdgpu_ring_set_fence_errors_and_r return; } ring->reemit =3D true; - amdgpu_ring_alloc(ring, ring->ring_backup_entries_to_copy); + amdgpu_ring_alloc(ring, ring->ring_backup_entries_to_copy + + (seq - last_seq) * ring->funcs->align_mask); + if (emit_spm_needed) + ring->adev->gfx.rlc.funcs->update_spm_vmid(ring->adev, ring->xcc_id, + ring->adev->vm_manager.spm_vmid); spin_lock_irqsave(&ring->fence_drv.lock, flags); do { last_seq++; diff --cc drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 11f8fe98aac46,e2cdd5a46aa24..0000000000000 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c diff --cc drivers/gpu/drm/i915/display/intel_psr.c index 0ae347fe6cd19,bd16563603249..0000000000000 --- a/drivers/gpu/drm/i915/display/intel_psr.c +++ b/drivers/gpu/drm/i915/display/intel_psr.c diff --cc drivers/gpu/drm/xe/xe_amc.c index d6fe59669a74b,37694e34271a1..0000000000000 --- a/drivers/gpu/drm/xe/xe_amc.c +++ b/drivers/gpu/drm/xe/xe_amc.c diff --cc drivers/gpu/drm/xe/xe_device.c index 570bc944d7887,36693df655941..0000000000000 --- a/drivers/gpu/drm/xe/xe_device.c +++ b/drivers/gpu/drm/xe/xe_device.c diff --cc drivers/gpu/drm/xe/xe_device.h index 3ce1481d0e573,6b1e48369bdd5..0000000000000 --- a/drivers/gpu/drm/xe/xe_device.h +++ b/drivers/gpu/drm/xe/xe_device.h diff --cc drivers/gpu/drm/xe/xe_device_types.h index 5aa52975ebb46,9e0d7d3d07d5d..0000000000000 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h diff --cc drivers/gpu/drm/xe/xe_drm_ras.c index 30cf40ee5fe4d,86c589437a9ff..0000000000000 --- a/drivers/gpu/drm/xe/xe_drm_ras.c +++ b/drivers/gpu/drm/xe/xe_drm_ras.c diff --cc drivers/gpu/drm/xe/xe_gsc.c index 2bbe0f20ff8d3,8edb8cee3cbd8..0000000000000 --- a/drivers/gpu/drm/xe/xe_gsc.c +++ b/drivers/gpu/drm/xe/xe_gsc.c diff --cc drivers/gpu/drm/xe/xe_gt.c index 286aee5775c0d,7eacbe950ccda..0000000000000 --- a/drivers/gpu/drm/xe/xe_gt.c +++ b/drivers/gpu/drm/xe/xe_gt.c diff --cc drivers/gpu/drm/xe/xe_gt_sriov_vf.c index 28ec83bb8100d,60f1b29358f93..0000000000000 --- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c +++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c diff --cc drivers/gpu/drm/xe/xe_guc_submit.c index dd970e6b1b9dc,fce39dd4e1177..0000000000000 --- a/drivers/gpu/drm/xe/xe_guc_submit.c +++ b/drivers/gpu/drm/xe/xe_guc_submit.c diff --cc drivers/gpu/drm/xe/xe_hw_error.c index f726179c22e38,86b29f2828374..0000000000000 --- a/drivers/gpu/drm/xe/xe_hw_error.c +++ b/drivers/gpu/drm/xe/xe_hw_error.c diff --cc drivers/gpu/drm/xe/xe_hwmon.c index d81b90c9cb99a,171990602f537..0000000000000 --- a/drivers/gpu/drm/xe/xe_hwmon.c +++ b/drivers/gpu/drm/xe/xe_hwmon.c diff --cc drivers/gpu/drm/xe/xe_late_bind_fw.c index 1bddfaf0fb9f0,ad39383a7e41f..0000000000000 --- a/drivers/gpu/drm/xe/xe_late_bind_fw.c +++ b/drivers/gpu/drm/xe/xe_late_bind_fw.c diff --cc drivers/gpu/drm/xe/xe_lmtt.c index 8a5a434931b04,ea2a3eeefccd7..0000000000000 --- a/drivers/gpu/drm/xe/xe_lmtt.c +++ b/drivers/gpu/drm/xe/xe_lmtt.c diff --cc drivers/gpu/drm/xe/xe_mert.c index 934be933d57f7,a2eae6088c1ac..0000000000000 --- a/drivers/gpu/drm/xe/xe_mert.c +++ b/drivers/gpu/drm/xe/xe_mert.c diff --cc drivers/gpu/drm/xe/xe_pat.c index 0ac64a6a3098a,5938fef22579a..0000000000000 --- a/drivers/gpu/drm/xe/xe_pat.c +++ b/drivers/gpu/drm/xe/xe_pat.c diff --cc drivers/gpu/drm/xe/xe_pci.c index 12ff5c9025478,41d7ca5c6ac5c..0000000000000 --- a/drivers/gpu/drm/xe/xe_pci.c +++ b/drivers/gpu/drm/xe/xe_pci.c diff --cc drivers/gpu/drm/xe/xe_pci_error.c index a5c8fd67738cf,fc6ff71d84a0e..0000000000000 --- a/drivers/gpu/drm/xe/xe_pci_error.c +++ b/drivers/gpu/drm/xe/xe_pci_error.c diff --cc drivers/gpu/drm/xe/xe_pm.c index d95f0d128ed49,f73f68bd449b8..0000000000000 --- a/drivers/gpu/drm/xe/xe_pm.c +++ b/drivers/gpu/drm/xe/xe_pm.c diff --cc drivers/gpu/drm/xe/xe_ras.c index 53cfbb9a3bac5,9b04be3405ca7..0000000000000 --- a/drivers/gpu/drm/xe/xe_ras.c +++ b/drivers/gpu/drm/xe/xe_ras.c diff --cc drivers/gpu/drm/xe/xe_survivability_mode.c index ca031576fecb7,ea6f833b2d843..0000000000000 --- a/drivers/gpu/drm/xe/xe_survivability_mode.c +++ b/drivers/gpu/drm/xe/xe_survivability_mode.c diff --cc drivers/gpu/drm/xe/xe_uc_fw.c index df1a697b6f274,d0ea059239fa0..0000000000000 --- a/drivers/gpu/drm/xe/xe_uc_fw.c +++ b/drivers/gpu/drm/xe/xe_uc_fw.c diff --cc net/core/devmem.c index 3714364b5d9a5,a638aa3e806b7..0000000000000 --- a/net/core/devmem.c +++ b/net/core/devmem.c @@@ -67,84 -64,6 +67,84 @@@ static void net_devmem_dmabuf_binding_r schedule_work(&binding->unbind_w); } =20 +static void +net_devmem_dmabuf_binding_unmap(struct net_devmem_dmabuf_binding *binding) +{ + mutex_lock(&binding->lock); + if (binding->sgt) { + dma_resv_lock(binding->dmabuf->resv, NULL); - dma_buf_unmap_attachment(binding->attachment, binding->sgt, - binding->direction); ++ dma_buf_unmap_sgt(binding->attachment, binding->sgt, ++ binding->direction); + dma_buf_unpin(binding->attachment); + dma_resv_unlock(binding->dmabuf->resv); + dma_buf_detach(binding->dmabuf, binding->attachment); + binding->sgt =3D NULL; + binding->attachment =3D NULL; + } + mutex_unlock(&binding->lock); +} + +/** + * net_devmem_lock_dev() - lock a binding's net_device if still alive + * @binding: devmem binding whose @dev pointer to lock + * @dev_tracker: reftracker for the held net_device reference + * + * Safely dereference @binding->dev, acquire netdev_lock() on the device,= and + * verify that @binding->dev has not been cleared while waiting for the l= ock. + * + * Invariant: @binding->dev is set once at bind time and is only ever cle= ared to + * NULL while holding netdev_lock(dev) (in mp_dmabuf_devmem_uninstall(), + * net_devmem_unbind_dmabuf(), or net_devmem_dev_unregister() during + * NETDEV_UNREGISTER before synchronize_net() and netdev_run_todo() free = the + * net_device). + * + * Taking rcu_read_lock() guarantees that a non-NULL @dev read from + * @binding->dev has not yet completed unregister_netdevice_many_notify() + * (which waits for an RCU grace period via synchronize_net() after + * NETDEV_UNREGISTER before freeing the net_device), so netdev_hold() can + * safely acquire a reference before sleeping on netdev_lock(). Once + * netdev_lock(dev) is held, re-checking that READ_ONCE(binding->dev) =3D= =3D dev + * guarantees that the device has not yet been detached from @binding and + * cannot finish unregistering until net_devmem_unlock_dev(). + * + * Return: The locked and held net_device if @binding->dev is still non-N= ULL, + * or NULL if already cleared. + */ +struct net_device * +net_devmem_lock_dev(struct net_devmem_dmabuf_binding *binding, + netdevice_tracker *dev_tracker) +{ + struct net_device *dev; + + rcu_read_lock(); + dev =3D READ_ONCE(binding->dev); + if (!dev) { + rcu_read_unlock(); + return NULL; + } + netdev_hold(dev, dev_tracker, GFP_ATOMIC); + rcu_read_unlock(); + + netdev_lock(dev); + if (READ_ONCE(binding->dev) !=3D dev) { + netdev_unlock(dev); + netdev_put(dev, dev_tracker); + return NULL; + } + + return dev; +} + +void net_devmem_unlock_dev(struct net_device *dev, + netdevice_tracker *dev_tracker) +{ + if (!dev) + return; + + netdev_unlock(dev); + netdev_put(dev, dev_tracker); +} + void __net_devmem_dmabuf_binding_free(struct work_struct *wq) { struct net_devmem_dmabuf_binding *binding =3D container_of(wq, typeof(*b= inding), unbind_w); diff --git a/drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c b/drivers/platf= orm/raspberrypi/vc-sm-cma/vc_sm.c index 2d9bb5f957a37..7ba6e1f2aa6aa 100644 --- a/drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c +++ b/drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c @@ -214,9 +214,8 @@ static void vc_sm_clean_up_dmabuf(struct vc_sm_buffer *= buffer) { /* Handle cleaning up imported dmabufs */ if (buffer->sgt) { - dma_buf_unmap_attachment_unlocked(buffer->attach, - buffer->sgt, - DMA_BIDIRECTIONAL); + dma_buf_unmap_sgt_unlocked(buffer->attach, buffer->sgt, + DMA_BIDIRECTIONAL); buffer->sgt =3D NULL; } if (buffer->attach) { @@ -435,7 +434,7 @@ vc_sm_cma_import_dmabuf_internal(struct dma_buf *dma_bu= f, goto error; } =20 - sgt =3D dma_buf_map_attachment_unlocked(attach, DMA_BIDIRECTIONAL); + sgt =3D dma_buf_map_sgt_unlocked(attach, DMA_BIDIRECTIONAL); if (IS_ERR(sgt)) { ret =3D PTR_ERR(sgt); goto error; @@ -550,8 +549,7 @@ vc_sm_cma_import_dmabuf_internal(struct dma_buf *dma_bu= f, free_kernel_id(import.kernel_id); kfree(buffer); if (sgt) - dma_buf_unmap_attachment_unlocked(attach, sgt, - DMA_BIDIRECTIONAL); + dma_buf_unmap_sgt_unlocked(attach, sgt, DMA_BIDIRECTIONAL); if (attach) dma_buf_detach(dma_buf, attach); dma_buf_put(dma_buf); --JcpZGCYtu9rUr08u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmsNoDoACgkQJNaLcl1U h9DDoQf8DOKn+xmWsM/tjFzOByJwao28S9Qk6xeYGkGXjBC3qHtBHGfhtaElZqS8 LzPJMGjDnOaWmXt1rEz+x7Efl5UIvobfz0N6G5O2eT1ECeOVIiAXv9gAiIBfYK/C Q4z0SogiVfJjZAKStd7t3NKe9TMv4InnYm9XKDbJycWhzfX5T0feDNizEdrzle1a AvlcS4Nyl2EE3wsds8vbfaJQ3OgybKID9IneMLcFFcIH1Hoi1X9msfhiJiAnYKvQ f9m+L+FLcmRJh1hDMsaixzWu4x5Avl69vww22eTopbyHkwshxBHaCI7lxkahKqn/ nyi5CFLzfwsT2UTbtxVWP2XzCtz4Kw== =DZKE -----END PGP SIGNATURE----- --JcpZGCYtu9rUr08u--