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

Commit 4df4d7a3 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Return error from adreno_llc_getd() stub



Return error from adreno_llc_getd() stub in case CONFIG_QCOM_LLCC
is not defined. Currently, it is returning NULL, which is resulting
in driver configuring GPU, GPUHTW SCID and setting iommu domain
attributes which is not desired in LLCC disabled case.

Change-Id: I2b90c1b62d70f117a2974549242aef11826ef364
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 6e980165
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -80,7 +80,7 @@ static inline bool adreno_llc_supported(void)
static inline void *adreno_llc_getd(struct device *dev,
		const char *name)
{
	return NULL;
	return ERR_PTR(-ENODEV);
}

static inline void adreno_llc_putd(void *desc)