aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
diff options
context:
space:
mode:
authorCharlene Liu <[email protected]>2017-08-28 20:28:34 +0000
committerAlex Deucher <[email protected]>2017-09-26 22:17:17 +0000
commitc7299705e6e76fe499ddc9af7beb0500e945fec9 (patch)
tree4a3d71a61bce1939760de8722287c4fed8134367 /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
parentdrm/amd/display: Fix time out on boot (diff)
downloadkernel-c7299705e6e76fe499ddc9af7beb0500e945fec9.tar.gz
kernel-c7299705e6e76fe499ddc9af7beb0500e945fec9.zip
drm/amd/display: only polling VSync Phase within VSync peroroid
Signed-off-by: Charlene Liu <[email protected]> Reviewed-by: Yongqiang Sun <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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.h2
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);