ferrari: displayconfig: Map brightness from the stock panel table

Two points, 2 to 800 nits, are linear in the backlight level, but the
panel isn't: at backlight 1000 it gives 253 nits, not the 196 the map
assumes, and it tops out at 789 nits. Take the points from the S6E3HC3
table stock uses, display_brightness_config_samsung1024.xml, so auto
brightness reaches the nits it asks for. The points keep the error
within 2.5% above the darkest levels.

Assisted-by: LLM
Change-Id: I5d38144e0219ff11e4e8a8ad315111052f565eaa
This commit is contained in:
pjgowtham committed 2026-11-23 22:27:53 +05:30
1 parent 9166c13bf6
commit ba03f295ac
1 file changed
+42 -2
+42 -2
View File
@@ -15,11 +15,51 @@
<screenBrightnessMap interpolation="linear">
<point>
<value>0.00097680097</value>
<nits>2.0</nits>
<nits>2.094</nits>
</point>
<point>
<value>0.00366300366</value>
<nits>3.719</nits>
</point>
<point>
<value>0.00537240537</value>
<nits>5.456</nits>
</point>
<point>
<value>0.00854700855</value>
<nits>8.946</nits>
</point>
<point>
<value>0.01489621490</value>
<nits>15.075</nits>
</point>
<point>
<value>0.02222222222</value>
<nits>22.163</nits>
</point>
<point>
<value>0.08034188034</value>
<nits>80.734</nits>
</point>
<point>
<value>0.16532356532</value>
<nits>174.364</nits>
</point>
<point>
<value>0.50036665851</value>
<nits>502.969</nits>
</point>
<point>
<value>0.80219780220</value>
<nits>687.653</nits>
</point>
<point>
<value>0.96971916972</value>
<nits>788.394</nits>
</point>
<point>
<value>1.0</value>
<nits>800.0</nits>
<nits>789.124</nits>
</point>
</screenBrightnessMap>
<highBrightnessMode enabled="true">