diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-11-07 15:26:14 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-05 16:27:48 -0500 |
commit | 3c465370f20abd3c8783da816a445ad5bcbfdb76 (patch) | |
tree | ad30fadc2d1d676e36007865b6a6bd57030a875d /drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h | |
parent | drm/amd/display: Add DMCUB__PG_DONE trace code enum (diff) | |
download | linux-dev-3c465370f20abd3c8783da816a445ad5bcbfdb76.tar.xz linux-dev-3c465370f20abd3c8783da816a445ad5bcbfdb76.zip |
drm/amd/display: Only wait for DMUB phy init on dcn21
[Why]
The wait for PHY init won't finish if the firmware doesn't support it.
[How]
Only hook this functionality up on DCN21 and move it out of DCN20.
For ASIC without support then this should return OK so we don't hang
while waiting in DC.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h index f57969d8d56f..9e5f195e288f 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h @@ -42,4 +42,6 @@ void dmub_dcn21_setup_windows(struct dmub_srv *dmub, bool dmub_dcn21_is_auto_load_done(struct dmub_srv *dmub); +bool dmub_dcn21_is_phy_init(struct dmub_srv *dmub); + #endif /* _DMUB_DCN21_H_ */ |