summaryrefslogtreecommitdiff
path: root/include/drm/drm_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_utils.h')
-rw-r--r--include/drm/drm_utils.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/drm/drm_utils.h b/include/drm/drm_utils.h
index a803988d8579..6a46f755daba 100644
--- a/include/drm/drm_utils.h
+++ b/include/drm/drm_utils.h
@@ -10,6 +10,20 @@
#ifndef __DRM_UTILS_H__
#define __DRM_UTILS_H__
+#include <linux/types.h>
+
+struct drm_edid;
+
int drm_get_panel_orientation_quirk(int width, int height);
+struct drm_panel_backlight_quirk {
+ u16 min_brightness;
+ u32 brightness_mask;
+};
+
+const struct drm_panel_backlight_quirk *
+drm_get_panel_backlight_quirk(const struct drm_edid *edid);
+
+signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec);
+
#endif