Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b5b1307 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Remove excessive log in kgsl_snapshot_get_object"

parents 5ffe1ff3 1ead6132
Loading
Loading
Loading
Loading
+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>
@@ -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)