From: Zaeem Mohamed Date: Fri, 27 Sep 2024 14:15:49 +0000 (-0400) Subject: drm/amd/display: docstring definitions MAX_SURFACES and MAX_PLANES X-Git-Tag: v6.15-rc1~120^2~17^2~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fed4c27537893fd0b57975d05163dfe36edb257c;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: docstring definitions MAX_SURFACES and MAX_PLANES MAX_SURFACES and MAX_PLANES now have docstrings that better show the difference between the two. Reviewed-by: Sun peng Li Signed-off-by: Zaeem Mohamed Signed-off-by: Aurabindo Pillai Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 42ba65e785ca1..e1f4f643c3647 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -55,7 +55,13 @@ struct dmub_notification; #define DC_VER "3.2.319" +/** + * MAX_SURFACES - representative of the upper bound of surfaces that can be piped to a single CRTC + */ #define MAX_SURFACES 4 +/** + * MAX_PLANES - representative of the upper bound of planes that are supported by the HW + */ #define MAX_PLANES 6 #define MAX_STREAMS 6 #define MIN_VIEWPORT_SIZE 12