Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t0mm13b@riviera:~/AOSP/Kernels/L5_kernel $ cat hecatae.diff
- diff --git a/drivers/gpu/msm/adreno.c b/drivers/gpu/msm/adreno.c
- index 04d41e2..db5c1b9 100755
- --- a/drivers/gpu/msm/adreno.c
- +++ b/drivers/gpu/msm/adreno.c
- @@ -30,6 +30,7 @@
- #include "a2xx_reg.h"
- #include "kgsl_mmu.h"
- +#include "kgsl_log.h"
- #define DRIVER_VERSION_MAJOR 3
- #define DRIVER_VERSION_MINOR 1
- @@ -279,7 +280,7 @@ static void adreno_setstate(struct kgsl_device *device,
- * writes For CFF dump we must idle and use the registers so that it is
- * easier to filter out the mmu accesses from the dump
- */
- - if (!kgsl_cff_dump_enable && adreno_dev->drawctxt_active) {
- + if (/*!kgsl_cff_dump_enable && */ adreno_dev->drawctxt_active) {
- if (flags & KGSL_MMUFLAGS_PTUPDATE) {
- /* wait for graphics pipe to be idle */
- *cmds++ = cp_type3_packet(CP_WAIT_FOR_IDLE, 1);
- diff --git a/drivers/power/msm_battery.c b/drivers/power/msm_battery.c
- index 4db586d..82d5de1 100644
- --- a/drivers/power/msm_battery.c
- +++ b/drivers/power/msm_battery.c
- @@ -1672,7 +1672,8 @@ static unsigned pif_value;
- static ssize_t msm_batt_pif_show(struct device* dev, struct device_attribute* attr, char* buf)
- {
- //LGE_CHANGE_S, [[email protected]] , 2011-10-20
- - pif_value = lge_get_pif_info();
- + //pif_value = lge_get_pif_info();
- + pif_value = 0xbadcafe;
- //LGE_CHANGE_E, [[email protected]] , 2011-10-20
- return sprintf(buf,"%d\n", pif_value);
- }
- @@ -1913,7 +1914,8 @@ static int __devinit msm_batt_probe(struct platform_device *pdev)
- dev_err(&pdev->dev,
- "%s: msm_batt_cleanup failed rc=%d\n", __func__, rc);
- } else {
- - pif_value = lge_get_pif_info();
- + //pif_value = lge_get_pif_info();
- + pif_value = 0xbadcafe;
- }
- dev_info(&pdev->dev, "%s : Using PIF ZIG (%d)\n", __func__, pif_value);
- diff --git a/include/linux/input.h b/include/linux/input.h
- index 9879bdd..42cbe4b 100644
- --- a/include/linux/input.h
- +++ b/include/linux/input.h
- @@ -1476,9 +1476,9 @@ void input_inject_event(struct input_handle *handle, unsigned int type, unsigned
- extern int LGF_TestModeGetDisableInputDevices(void);
- static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_KEY, code, value);
- }
- @@ -1489,9 +1489,9 @@ static inline void input_report_rel(struct input_dev *dev, unsigned int code, in
- static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_ABS, code, value);
- }
- @@ -1507,17 +1507,17 @@ static inline void input_report_switch(struct input_dev *dev, unsigned int code,
- static inline void input_sync(struct input_dev *dev)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_SYN, SYN_REPORT, 0);
- }
- static inline void input_mt_sync(struct input_dev *dev)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_SYN, SYN_MT_REPORT, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement