msm: kgsl: Add sysfs node to enable/disable GPUHTW LLC slice
The change will take effect upon the next GPU wake-up.
CRs-Fixed: 1081617
Change-Id: I5f4bb20abd4945297f6692f7705e26acfc1b26ec
Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org>
diff --git a/drivers/gpu/msm/adreno.h b/drivers/gpu/msm/adreno.h
index 6278c7b..929de48 100644
--- a/drivers/gpu/msm/adreno.h
+++ b/drivers/gpu/msm/adreno.h
@@ -399,6 +399,7 @@
* @gpu_llc_slice: GPU system cache slice descriptor
* @gpu_llc_slice_enable: To enable the GPU system cache slice or not
* @gpuhtw_llc_slice: GPU pagetables system cache slice descriptor
+ * @gpuhtw_llc_slice_enable: To enable the GPUHTW system cache slice or not
*/
struct adreno_device {
struct kgsl_device dev; /* Must be first field in this struct */
@@ -461,6 +462,7 @@
void *gpu_llc_slice;
bool gpu_llc_slice_enable;
void *gpuhtw_llc_slice;
+ bool gpuhtw_llc_slice_enable;
};
/**