diff options
author | Charlene Liu <charlene.liu@amd.com> | 2017-08-28 16:28:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:17:17 -0400 |
commit | c7299705e6e76fe499ddc9af7beb0500e945fec9 (patch) | |
tree | 4a3d71a61bce1939760de8722287c4fed8134367 /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h | |
parent | c9bb686b597d30935d6e05aaade51fc765d1ca5b (diff) | |
download | linux-c7299705e6e76fe499ddc9af7beb0500e945fec9.tar.gz linux-c7299705e6e76fe499ddc9af7beb0500e945fec9.tar.bz2 linux-c7299705e6e76fe499ddc9af7beb0500e945fec9.zip |
drm/amd/display: only polling VSync Phase within VSync peroroid
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-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/dmcu.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h index e34b25939a98..0574c29cc4a8 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h @@ -37,7 +37,7 @@ struct dmcu_funcs { unsigned int start_offset, const char *src, unsigned int bytes); - void (*set_psr_enable)(struct dmcu *dmcu, bool enable); + void (*set_psr_enable)(struct dmcu *dmcu, bool enable, bool wait); void (*setup_psr)(struct dmcu *dmcu, struct dc_link *link, struct psr_context *psr_context); |