drm/amd/display: Implement PSR wait for enable/disable
authorWyatt Wood <wyatt.wood@amd.com>
Fri, 11 Sep 2020 01:50:52 +0000 (21:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2020 16:28:49 +0000 (12:28 -0400)
commita9edc81564c92b4d86670b722bbe8906e0dfd934
treed5cc66ba1c76bdcc38c1da8efd9ea75bad23e1d9
parentb50d55517da2c79cb9045bc175bcbf99098a0e28
drm/amd/display: Implement PSR wait for enable/disable

[Why]
For DMUB implementation of PSR, the 'wait' parameter,
used to determine if driver should wait for PSR enable/disable,
is not implemented correctly.

[How]
Implement wait for PSR enable/disable.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h