drm/panel: add kernel doc for size attributes in panel_desc
Subsystems (3)
PATCH 1/1 drm/panel: add kernel doc for size attributes in panel_desc
Document that 'width' and 'height' are measured in millimeters.
Signed-off-by Ulrich Ölmann <[email protected]>
--- drivers/gpu/drm/panel/panel-simple.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +4 -0
@@ -44,6 +44,10 @@ struct panel_desc {unsigned int bpc; +/** +* @width: the width of the panel (in millimeters) +* @height: the height of the panel (in millimeters) +*/ struct {unsigned int width;unsigned int height;
Signature · 6 lines
2.6.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Thierry Reding
AppliedQuoted 6 lines · Ulrich Ölmann
Document that 'width' and 'height' are measured in millimeters.
Signed-off-by Ulrich Ölmann <[email protected]>--- drivers/gpu/drm/panel/panel-simple.c | 4 ++++ 1 file changed, 4 insertions(+)
I've applied this, with a slightly reworded comment, to clarify that it is the size of the active display area:
/** * @width: width (in millimeters) of the panel's active display area * @height: height (in millimeters) of the panel's active display area */
Thanks,
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel