Loading drivers/gpu/msm/kgsl_snapshot.c +2 −6 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. */ #include <linux/export.h> Loading Loading @@ -304,12 +304,8 @@ int kgsl_snapshot_get_object(struct kgsl_snapshot *snapshot, entry = kgsl_sharedmem_find(process, gpuaddr); if (entry == NULL) { dev_err(snapshot->device->dev, "snapshot: unable to find GPU buffer 0x%016llx\n", gpuaddr); if (entry == NULL) return -EINVAL; } /* We can't freeze external memory, because we don't own it */ if (entry->memdesc.flags & KGSL_MEMFLAGS_USERMEM_MASK) Loading Loading
drivers/gpu/msm/kgsl_snapshot.c +2 −6 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. */ #include <linux/export.h> Loading Loading @@ -304,12 +304,8 @@ int kgsl_snapshot_get_object(struct kgsl_snapshot *snapshot, entry = kgsl_sharedmem_find(process, gpuaddr); if (entry == NULL) { dev_err(snapshot->device->dev, "snapshot: unable to find GPU buffer 0x%016llx\n", gpuaddr); if (entry == NULL) return -EINVAL; } /* We can't freeze external memory, because we don't own it */ if (entry->memdesc.flags & KGSL_MEMFLAGS_USERMEM_MASK) Loading