mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: warn if cde map fails
This shouldn't happen, but is dangerous enough to warrant its own warning if it does. A message might help debug a rare corruption bug. Bug 2038362 Change-Id: I7915760fc31e7acaa0148a10f9acae303d53ea95 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1815863 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d2be65315a
commit
b8ae7eb029
@@ -1106,6 +1106,8 @@ __releases(&l->cde_app->mutex)
|
||||
NULL,
|
||||
&map_vaddr);
|
||||
if (err) {
|
||||
nvgpu_warn(g, "cde: failed to map compbits scatter buf at %lld size %lld",
|
||||
map_offset, map_size);
|
||||
dma_buf_put(compbits_scatter_buf);
|
||||
err = -EINVAL;
|
||||
goto exit_idle;
|
||||
|
||||
Reference in New Issue
Block a user