在config_static_metadata.tuning_3a.${sensor}.h中的MTK_CONTROL_AVAILABLE_SCENE_MODES中添加MTK_CONTROL_SCENE_MODE_HDR。
--- a/mt8788/vendor/mediatek/proprietary/custom/mt6771/hal/imgsensor_metadata/gc8034_mipi_raw/config_static_metadata.tuning_3a.gc8034mipiraw.h
+++ b/mt8788/vendor/mediatek/proprietary/custom/mt6771/hal/imgsensor_metadata/gc8034_mipi_raw/config_static_metadata.tuning_3a.gc8034mipiraw.h
@@ -143,6 +143,7 @@ STATIC_METADATA2_BEGIN(DEVICE, TUNING_3A, SENSOR_DRVNAME_GC8034_MIPI_RAW)
CONFIG_ENTRY_VALUE(MTK_CONTROL_SCENE_MODE_PARTY, MUINT8)
CONFIG_ENTRY_VALUE(MTK_CONTROL_SCENE_MODE_CANDLELIGHT, MUINT8)
CONFIG_ENTRY_VALUE(MTK_CONTROL_SCENE_MODE_BARCODE, MUINT8)
+ CONFIG_ENTRY_VALUE(MTK_CONTROL_SCENE_MODE_HDR, MUINT8)
CONFIG_METADATA_END()
//==========================================================================
CONFIG_METADATA_BEGIN(MTK_CONTROL_AWB_AVAILABLE_MODES)