diff options
author | Reza Amini <Reza.Amini@amd.com> | 2020-10-01 18:33:51 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-26 20:29:27 +0300 |
commit | a10ba3827afa6a50f48b7d7c80e5f26ac5918a82 (patch) | |
tree | 83464d9bce83f84489683b9001dad1e9f5e04a87 /drivers/gpu/drm/amd/display/dc/inc | |
parent | a47cc3ab051f963ebca820dc48e887e9a7101244 (diff) | |
download | linux-a10ba3827afa6a50f48b7d7c80e5f26ac5918a82.tar.xz |
drm/amd/display: Define PSR ERROR Status bit VSC_SDP
[why]
So we can track VSC SDP errors from display
[how]
Define the bit, and use it in driver logic
Signed-off-by: Reza Amini <Reza.Amini@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h b/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h index c2b392a533b1..7f5acd8fb918 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h @@ -90,7 +90,8 @@ union psr_error_status { struct { unsigned char LINK_CRC_ERROR :1; unsigned char RFB_STORAGE_ERROR :1; - unsigned char RESERVED :6; + unsigned char VSC_SDP_ERROR :1; + unsigned char RESERVED :5; } bits; unsigned char raw; }; |