diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-05-10 22:56:17 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-27 01:06:54 +0300 |
commit | 15a27de250a5e5a2dec7c0bf004db0511353e3f3 (patch) | |
tree | 3559add4e1a94118bf0dcb02279f4f0a306a0df8 /drivers/gpu/drm/amd/display/dc/inc/hw/abm.h | |
parent | 2801b0a84ef66604fed6754d8d7858b45e2a443a (diff) | |
download | linux-15a27de250a5e5a2dec7c0bf004db0511353e3f3.tar.xz |
drm/amd/display: Don't call PSR func if DMCU is off
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/abm.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/abm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h b/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h index 7d07b7922391..ceabbd3bf5f8 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h @@ -40,6 +40,7 @@ struct abm_funcs { unsigned int backlight_level, unsigned int frame_ramp, unsigned int controller_id); + bool (*is_dmcu_initialized)(struct abm *abm); }; #endif |