summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_utils.h
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2019-02-25 22:07:16 +0800
committerRob Herring <robh@kernel.org>2019-03-07 12:00:30 -0600
commit877b372996bfd4f195d363d22de89571c9faab38 (patch)
tree373f959c2e0210ab36565e43bc34e5ab2cc46270 /include/drm/drm_utils.h
parente2771deb5dece1acde9a406538e4f7ef9262d5cd (diff)
downloadlinux-877b372996bfd4f195d363d22de89571c9faab38.tar.bz2
drm: export drm_timeout_abs_to_jiffies
For other driver like lima usage. Cc: Rob Herring <robh@kernel.org> Signed-off-by: Qiang Yu <yuq825@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190225140717.20586-2-yuq825@gmail.com
Diffstat (limited to 'include/drm/drm_utils.h')
-rw-r--r--include/drm/drm_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_utils.h b/include/drm/drm_utils.h
index a803988d8579..70775748d243 100644
--- a/include/drm/drm_utils.h
+++ b/include/drm/drm_utils.h
@@ -10,6 +10,10 @@
#ifndef __DRM_UTILS_H__
#define __DRM_UTILS_H__
+#include <linux/types.h>
+
int drm_get_panel_orientation_quirk(int width, int height);
+signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec);
+
#endif