diff options
author | Charlene Liu | 2017-08-28 22:28:34 +0200 |
---|---|---|
committer | Alex Deucher | 2017-09-27 00:17:17 +0200 |
commit | c7299705e6e76fe499ddc9af7beb0500e945fec9 (patch) | |
tree | 4a3d71a61bce1939760de8722287c4fed8134367 /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h | |
parent | drm/amd/display: Fix time out on boot (diff) | |
download | kernel-qcow2-linux-c7299705e6e76fe499ddc9af7beb0500e945fec9.tar.gz kernel-qcow2-linux-c7299705e6e76fe499ddc9af7beb0500e945fec9.tar.xz kernel-qcow2-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); |