diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1211-drm-amd-display-Modify-ABM-2.2-Max-Reduction.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/1211-drm-amd-display-Modify-ABM-2.2-Max-Reduction.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1211-drm-amd-display-Modify-ABM-2.2-Max-Reduction.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1211-drm-amd-display-Modify-ABM-2.2-Max-Reduction.patch new file mode 100644 index 00000000..a200c6f6 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1211-drm-amd-display-Modify-ABM-2.2-Max-Reduction.patch @@ -0,0 +1,40 @@ +From 826354996eac20870fd3e6d6996ff4b4f7d09cb5 Mon Sep 17 00:00:00 2001 +From: Josip Pavic <Josip.Pavic@amd.com> +Date: Tue, 22 Jan 2019 13:50:45 -0500 +Subject: [PATCH 1211/2940] drm/amd/display: Modify ABM 2.2 Max Reduction + +[Why] +Reduced backlight for ABM 2.2 at levels 1 and 2 is desired for +power savings. + +[How] +Reduce the max reduction parameters for ABM 2.2 + +Change-Id: I467b5404ff53878e399bfed1111c24beca7ea5e2 +Signed-off-by: Josip Pavic <Josip.Pavic@amd.com> +Reviewed-by: Josip Pavic <Josip.Pavic@amd.com> +Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> +--- + drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c +index 27b8cf5460b5..3ba87b076287 100644 +--- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c ++++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c +@@ -47,10 +47,10 @@ static const unsigned char min_reduction_table_v_2_2[13] = { + + /* Possible ABM 2.2 Max Reduction configs from least aggressive to most aggressive + * 0 1 2 3 4 5 6 7 8 9 10 11 12 +- * 96.1 89.8 85.1 80.3 69.4 64.7 54.9 45.1 30.2 25.1 19.6 12.5 12.5 % ++ * 96.1 89.8 74.9 69.4 64.7 52.2 48.6 39.6 30.2 25.1 19.6 12.5 12.5 % + */ + static const unsigned char max_reduction_table_v_2_2[13] = { +-0xf5, 0xe5, 0xd9, 0xcd, 0xb1, 0xa5, 0x8c, 0x73, 0x4d, 0x40, 0x32, 0x20, 0x20}; ++0xf5, 0xe5, 0xbf, 0xb1, 0xa5, 0x85, 0x7c, 0x65, 0x4d, 0x40, 0x32, 0x20, 0x20}; + + /* Predefined ABM configuration sets. We may have different configuration sets + * in order to satisfy different power/quality requirements. +-- +2.17.1 + |