summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2015-12-04 12:31:28 +0100
committerThierry Reding <treding@nvidia.com>2015-12-16 16:21:13 +0100
commit85533e3b321f45f028aa1267afd8d156980957a9 (patch)
treeb8da48c6c44976e93414f1bf61cc1f1353dd37c4 /drivers/gpu/drm/panel
parent8def22e50f32c00f876a71dc551024fc61f647e1 (diff)
downloadlinux-85533e3b321f45f028aa1267afd8d156980957a9.tar.bz2
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 <u.oelmann@pengutronix.de> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index faa1c168a6e7..43a100c0b785 100644
--- 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;