OSDN Git Service

drm/amd/display: Define PSR ERROR Status bit VSC_SDP
authorReza Amini <Reza.Amini@amd.com>
Thu, 1 Oct 2020 15:33:51 +0000 (11:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:29:27 +0000 (13:29 -0400)
[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>
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h

index c2b392a..7f5acd8 100644 (file)
@@ -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;
 };