projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8def22e
)
drm/panel: add kernel doc for size attributes in panel_desc
author
Ulrich Ölmann
<u.oelmann@pengutronix.de>
Fri, 4 Dec 2015 11:31:28 +0000
(12:31 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Wed, 16 Dec 2015 15:21:13 +0000
(16:21 +0100)
Document that 'width' and 'height' are measured in millimeters.
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/panel/panel-simple.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/panel/panel-simple.c
b/drivers/gpu/drm/panel/panel-simple.c
index faa1c168a6e7dae749a05a7c8e4fc1b89a6be9d3..43a100c0b7850e18bbdc165cd8cb115aa07edc80 100644
(file)
--- a/
drivers/gpu/drm/panel/panel-simple.c
+++ b/
drivers/gpu/drm/panel/panel-simple.c
@@
-44,6
+44,10
@@
struct panel_desc {
unsigned int bpc;
+ /**
+ * @width: width (in millimeters) of the panel's active display area
+ * @height: height (in millimeters) of the panel's active display area
+ */
struct {
unsigned int width;
unsigned int height;