summaryrefslogtreecommitdiff
path: root/tests/Makefile.sources
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2019-01-03 14:32:28 -0500
committerHarry Wentland <harry.wentland@amd.com>2019-01-08 14:59:24 -0500
commit738f43a54d626f08e250c926a5aeec53458fbd3c (patch)
tree8fde7fc9ef9e66250e8368034d2fde8a4b32a2a8 /tests/Makefile.sources
parent79a799a369785a857649ab8e09ec1a92c678b813 (diff)
tests/amdgpu: Add test for Adaptive Backlight Management
Adaptive Backlight Management (ABM) is a power-saving feature on AMD ASICs that reduces backlight while increasing pixel contrast and luminance. This test confirms that ABM is present and enabled, and that backlight performance is sane. It uses AMD-specific debugfs entries to read the backlight PWM values. It has 5 subtests: dpms_cycle Sets brightness to half, then confirms that value is restored after dpms off and then on. backlight_monotonic_basic Sets brightness to ten different values, confirming that higher brightness values are brighter. backlight_monotonic_abm Same as backlight_monotonic_basic, but with abm enabled. abm_enabled Sets abm to its four intensity levels, confirming that abm reduces the backlight, and the reduction is greater for higher abm level. abm_gradual Sets abm to off and then maximum intensity, confirming that brightness decreases continually over the first second and eventually reaches the target value. This test takes 30s to run. v2: make sure that dpms is cycled on the eDP display Signed-off-by: David Francis <David.Francis@amd.com> Reviewed-by: Leo Li <sunpeng.li@amd.com>
Diffstat (limited to 'tests/Makefile.sources')
-rw-r--r--tests/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index eedde1e8..baac7ae0 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -25,6 +25,7 @@ AMDGPU_TESTS = \
amdgpu/amd_basic \
amdgpu/amd_cs_nop \
amdgpu/amd_prime \
+ amdgpu/amd_abm \
$(NULL)
TESTS_progs = \