garnet: Initial import

Change-Id: Ib229a3a4d2f8a1e602085fad2b6a757f994cdd99
This commit is contained in:
AdarshGrewal
2025-12-24 20:06:53 +05:30
commit 3e85cf266b
2023 changed files with 162066 additions and 0 deletions
@@ -0,0 +1,55 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- MIUI ADD: Adapt_MIUIAdaptFrame-->
<displayConfiguration>
<!-- Global Brightness-Nit mapping -->
<screenBrightnessMap>
<point>
<value>0.000854597</value>
<nits>2.0</nits>
</point>
<point>
<value>0.499938</value>
<nits>500.0</nits>
</point>
<point>
<value>1.0</value>
<nits>1200.0</nits>
</point>
</screenBrightnessMap>
<!-- root node for HBM-->
<highBrightnessMode enabled="true">
<!-- Transition point brightness from normal to HBM mode -->
<transitionPoint>0.499938</transitionPoint>
<!-- Minimum lux to enter HBM -->
<minimumLux>6001</minimumLux>
<!-- Time limitation for HBM-->
<timing>
<timeWindowSecs>0</timeWindowSecs>
<timeMaxSecs>0</timeMaxSecs>
<timeMinSecs>0</timeMinSecs>
</timing>
<!--Refresh rate limitation when the device is in HBM -->
<!-- <refreshRate>
<minimum>0</minimum>
<maximum>0</maximum>
</refreshRate> -->
<!-- Thermal limitation for HBM -->
<thermalStatusLimit>critical</thermalStatusLimit>
<!-- Low power mode limitation for HBM -->
<allowInLowPowerMode>true</allowInLowPowerMode>
<minimumHdrPercentOfScreen>0</minimumHdrPercentOfScreen>
<sdrHdrRatioMap>
<point>
<sdrNits>2.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
<point>
<sdrNits>1200.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
</sdrHdrRatioMap>
</highBrightnessMode>
<ambientLightHorizonLong>3000</ambientLightHorizonLong>
<ambientLightHorizonShort>1000</ambientLightHorizonShort>
</displayConfiguration>
<!-- END Adapt_MIUIAdaptFrame-->
@@ -0,0 +1,55 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- MIUI ADD: Adapt_MIUIAdaptFrame-->
<displayConfiguration>
<!-- Global Brightness-Nit mapping -->
<screenBrightnessMap>
<point>
<value>0.000854597</value>
<nits>2.0</nits>
</point>
<point>
<value>0.499938</value>
<nits>500.0</nits>
</point>
<point>
<value>1.0</value>
<nits>1200.0</nits>
</point>
</screenBrightnessMap>
<!-- root node for HBM-->
<highBrightnessMode enabled="true">
<!-- Transition point brightness from normal to HBM mode -->
<transitionPoint>0.499938</transitionPoint>
<!-- Minimum lux to enter HBM -->
<minimumLux>6001</minimumLux>
<!-- Time limitation for HBM-->
<timing>
<timeWindowSecs>0</timeWindowSecs>
<timeMaxSecs>0</timeMaxSecs>
<timeMinSecs>0</timeMinSecs>
</timing>
<!--Refresh rate limitation when the device is in HBM -->
<!-- <refreshRate>
<minimum>0</minimum>
<maximum>0</maximum>
</refreshRate> -->
<!-- Thermal limitation for HBM -->
<thermalStatusLimit>critical</thermalStatusLimit>
<!-- Low power mode limitation for HBM -->
<allowInLowPowerMode>true</allowInLowPowerMode>
<minimumHdrPercentOfScreen>0</minimumHdrPercentOfScreen>
<sdrHdrRatioMap>
<point>
<sdrNits>2.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
<point>
<sdrNits>1200.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
</sdrHdrRatioMap>
</highBrightnessMode>
<ambientLightHorizonLong>3000</ambientLightHorizonLong>
<ambientLightHorizonShort>1000</ambientLightHorizonShort>
</displayConfiguration>
<!-- END Adapt_MIUIAdaptFrame-->
@@ -0,0 +1,55 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- MIUI ADD: Adapt_MIUIAdaptFrame-->
<displayConfiguration>
<!-- Global Brightness-Nit mapping -->
<screenBrightnessMap>
<point>
<value>0.000854597</value>
<nits>2.0</nits>
</point>
<point>
<value>0.499938</value>
<nits>500.0</nits>
</point>
<point>
<value>1.0</value>
<nits>1200.0</nits>
</point>
</screenBrightnessMap>
<!-- root node for HBM-->
<highBrightnessMode enabled="true">
<!-- Transition point brightness from normal to HBM mode -->
<transitionPoint>0.499938</transitionPoint>
<!-- Minimum lux to enter HBM -->
<minimumLux>6001</minimumLux>
<!-- Time limitation for HBM-->
<timing>
<timeWindowSecs>0</timeWindowSecs>
<timeMaxSecs>0</timeMaxSecs>
<timeMinSecs>0</timeMinSecs>
</timing>
<!--Refresh rate limitation when the device is in HBM -->
<!-- <refreshRate>
<minimum>0</minimum>
<maximum>0</maximum>
</refreshRate> -->
<!-- Thermal limitation for HBM -->
<thermalStatusLimit>critical</thermalStatusLimit>
<!-- Low power mode limitation for HBM -->
<allowInLowPowerMode>true</allowInLowPowerMode>
<minimumHdrPercentOfScreen>0</minimumHdrPercentOfScreen>
<sdrHdrRatioMap>
<point>
<sdrNits>2.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
<point>
<sdrNits>1200.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
</sdrHdrRatioMap>
</highBrightnessMode>
<ambientLightHorizonLong>3000</ambientLightHorizonLong>
<ambientLightHorizonShort>1000</ambientLightHorizonShort>
</displayConfiguration>
<!-- END Adapt_MIUIAdaptFrame-->