diff options
author | Alvin Lee <alvin.lee2@amd.com> | 2019-08-02 13:42:49 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-13 17:55:01 -0500 |
commit | 48af9b91b129f1d93221cd9f76032610a8cc6514 (patch) | |
tree | c110d4a29117446e79790d57b4a681f9dad12696 /drivers/gpu/drm/amd/display/dc/dc_types.h | |
parent | e6d14df74064fc65c6367d4c717e016c9d99be59 (diff) | |
download | linux-stable-48af9b91b129f1d93221cd9f76032610a8cc6514.tar.gz linux-stable-48af9b91b129f1d93221cd9f76032610a8cc6514.tar.bz2 linux-stable-48af9b91b129f1d93221cd9f76032610a8cc6514.zip |
drm/amd/display: Don't allocate payloads if link lost
We should not allocate payloads if the link is lost until the link is retrained.
Some displays require this.
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_types.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h index b273735b6a3e..82abc4ff6c49 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_types.h @@ -159,6 +159,12 @@ enum dc_edid_status { EDID_THE_SAME, }; +enum act_return_status { + ACT_SUCCESS, + ACT_LINK_LOST, + ACT_FAILED +}; + /* audio capability from EDID*/ struct dc_cea_audio_mode { uint8_t format_code; /* ucData[0] [6:3]*/ |