From: Reza Amini Date: Thu, 1 Oct 2020 15:33:51 +0000 (-0400) Subject: drm/amd/display: Define PSR ERROR Status bit VSC_SDP X-Git-Tag: v5.11-rc1~206^2~12^2~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a10ba3827afa6a50f48b7d7c80e5f26ac5918a82;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher --- 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 c2b392a533b1c..7f5acd8fb9180 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; };