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

Commit 7e5c20a3 authored by Laura Abbott's avatar Laura Abbott Committed by Stephen Boyd
Browse files

msm: kgsl: Remove dangling reference to PMEM_MEMTYPE



The pmem_kalloc APIs are now deprecated. A reference to
an old pmem memtype still exists in kgsl code even though
it isn't used. Remove it.

Change-Id: I9b8bd2037f1a49dc543fc766593395fc440b1318
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 51c167d7
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -238,11 +238,8 @@ kgsl_gem_alloc_memory(struct drm_gem_object *obj)
	}

	if (TYPE_IS_PMEM(priv->type)) {
		int type;

		if (priv->type == DRM_KGSL_GEM_TYPE_EBI ||
		    priv->type & DRM_KGSL_GEM_PMEM_EBI) {
				type = PMEM_MEMTYPE_EBI1;
				result = kgsl_sharedmem_ebimem_user(
						&priv->memdesc,
						priv->pagetable,