projects
/
platform
/
kernel
/
linux-starfive.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
faa1c16
..
43a100c
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;