drm/amd/display: Add ABM control to panel_config struct.
authorIan Chen <ian.chen@amd.com>
Wed, 7 Sep 2022 06:10:27 +0000 (14:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:45 +0000 (09:41 -0400)
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Ian Chen <ian.chen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_link.h

index d890a03..06750e2 100644 (file)
@@ -127,6 +127,12 @@ struct dc_panel_config {
                unsigned int extra_t12_ms;
                unsigned int extra_post_OUI_ms;
        } pps;
+       // ABM
+       struct varib {
+               unsigned int varibright_feature_enable;
+               unsigned int def_varibright_level;
+               unsigned int abm_config_setting;
+       } varib;
        // edp DSC
        struct dsc {
                bool disable_dsc_edp;