drm/blend: fix typo in the comment
Subsystems (2)
PATCH 1/1 drm/blend: fix typo in the comment
The documentation for drm_rotation_simplify() uses DRM_MODE_ROTATE_X, while it's clear the the comment should mention DRM_MODE_REFLECT_X instead. The example passes all flags except the DRM_MODE_REFLECT_X as supported and expects to eliminate this flag.
Fixes c2c446ad2943 ("drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI")
Signed-off-by Dmitry Baryshkov <[email protected]>
--- drivers/gpu/drm/drm_blend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_blend.c +1 -1
@@ -317,7 +317,7 @@ EXPORT_SYMBOL(drm_plane_create_rotation_property);* DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_180 | * DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_Y); * -* to eliminate the DRM_MODE_ROTATE_X flag. Depending on what kind of +* to eliminate the DRM_MODE_REFLECT_X flag. Depending on what kind of * transforms the hardware supports, this function may not * be able to produce a supported transform, so the caller should * check the result afterwards.
Signature · 1 line
2.35.1
Reviewed-by Simon Ser <[email protected]>
Maxime Ripard
AppliedRe: (subset) [PATCH] drm/blend: fix typo in the comment
In reply to Dmitry BaryshkovQuoted 6 lines · Dmitry Baryshkov
The documentation for
drm_rotation_simplify()usesDRM_MODE_ROTATE_X, while it's clear the the comment should mentionDRM_MODE_REFLECT_Xinstead. The example passes all flags except theDRM_MODE_REFLECT_Xas supported and expects to eliminate this flag.
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Maxime