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

Commit 3f3ca1de 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 0ced5701
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ static inline bool adreno_llc_supported(void)

static inline void *adreno_llc_getd(u32 uid)
{
	return NULL;
	return ERR_PTR(-ENODEV);
}

static inline void adreno_llc_putd(void *desc)