summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/core/dc_debug.c
diff options
context:
space:
mode:
authorAshley Thomas <Ashley.Thomas2@amd.com>2020-10-01 10:16:05 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-10-26 20:27:52 +0300
commit9248681f68b725d2647ca7dbae281c9b34977519 (patch)
tree7e723507977e32a4438b70cfea2cf230767d933d /drivers/gpu/drm/amd/display/dc/core/dc_debug.c
parent2e7b43e629100b4072fac5eef53bd28235e59aa3 (diff)
downloadlinux-9248681f68b725d2647ca7dbae281c9b34977519.tar.xz
drm/amd/display: Source minimum HBlank support
[Why] Some sink devices wish to have access to the minimum HBlank supported by the ASIC. [How] Make the ASIC minimum HBlank available in Source Device information address 0x340. Signed-off-by: Ashley Thomas <Ashley.Thomas2@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/core/dc_debug.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_debug.c b/drivers/gpu/drm/amd/display/dc/core/dc_debug.c
index 87d89449b9af..7977e2839065 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_debug.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_debug.c
@@ -418,6 +418,8 @@ char *dc_status_to_str(enum dc_status status)
return "Fail clk below minimum";
case DC_FAIL_CLK_BELOW_CFG_REQUIRED:
return "Fail clk below required CFG (hard_min in PPLIB)";
+ case DC_NOT_SUPPORTED:
+ return "The operation is not supported.";
case DC_ERROR_UNEXPECTED:
return "Unexpected error";
}