aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-05-10 15:56:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:06:54 -0400
commit15a27de250a5e5a2dec7c0bf004db0511353e3f3 (patch)
tree3559add4e1a94118bf0dcb02279f4f0a306a0df8 /drivers/gpu/drm/amd/display/dc/inc/hw/abm.h
parentdrm/amdgpu/display: fix semicolon.cocci warnings (diff)
downloadwireguard-linux-15a27de250a5e5a2dec7c0bf004db0511353e3f3.tar.xz
wireguard-linux-15a27de250a5e5a2dec7c0bf004db0511353e3f3.zip
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.h1
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