Commit a557d6a
committed
drm: msm: dsi-staging: hijack 60hz backlight control for 90hz
This is a hack with vibe contribution from chatgpt. We are defining
90hz's blacklight control to just redirect to 60hz's as we have noticed
does not have the issue of werid green tint when hjacking 120hz's bc.
This fixes the twitching and sudden brightness increase when switching
refresh rate to 90hz from 120hz.
It DOES NOT fix the werid colouring.
Depends on Xiaomi's drm changes.
Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>1 parent e4a1f35 commit a557d6a
File tree
4 files changed
+17
-5
lines changed- drivers/gpu/drm/msm/dsi-staging
4 files changed
+17
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
7119 | 7121 | | |
7120 | 7122 | | |
7121 | 7123 | | |
7122 | | - | |
| 7124 | + | |
7123 | 7125 | | |
7124 | 7126 | | |
7125 | 7127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2010 | 2010 | | |
2011 | 2011 | | |
2012 | 2012 | | |
| 2013 | + | |
2013 | 2014 | | |
2014 | 2015 | | |
2015 | 2016 | | |
| |||
2048 | 2049 | | |
2049 | 2050 | | |
2050 | 2051 | | |
| 2052 | + | |
2051 | 2053 | | |
2052 | 2054 | | |
2053 | 2055 | | |
| |||
4848 | 4850 | | |
4849 | 4851 | | |
4850 | 4852 | | |
4851 | | - | |
4852 | | - | |
4853 | | - | |
4854 | | - | |
4855 | 4853 | | |
4856 | 4854 | | |
4857 | 4855 | | |
4858 | 4856 | | |
| 4857 | + | |
| 4858 | + | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + | |
| 4862 | + | |
| 4863 | + | |
| 4864 | + | |
| 4865 | + | |
| 4866 | + | |
4859 | 4867 | | |
4860 | 4868 | | |
4861 | 4869 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments