From: Tony Cheng <tony.cheng@xxxxxxx> Change-Id: I46ef2f3c129dd712b9e19f4c459d4bb5a40569c5 Signed-off-by: Tony Cheng <tony.cheng at amd.com> Reviewed-by: Tony Cheng <Tony.Cheng at amd.com> Acked-by: Harry Wentland <Harry.Wentland at amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +++ drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 8c6fae27828f..ad3b35209f55 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -48,6 +48,9 @@ #include "dm_helpers.h" #include "mem_input.h" + +char dc_ver[] = DC_VER; + /******************************************************************************* * Private functions ******************************************************************************/ diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 9e4d0715c132..935f4432570b 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -38,7 +38,7 @@ #include "inc/compressor.h" #include "dml/display_mode_lib.h" - +#define DC_VER "3.1.01" #define MAX_SURFACES 3 #define MAX_STREAMS 6 -- 2.11.0