Hans de Goede | 404d1a3 | 2017-11-25 20:35:48 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: MIT */ |
| 2 | /* |
| 3 | * Function prototypes for misc. drm utility functions. |
| 4 | * Specifically this file is for function prototypes for functions which |
| 5 | * may also be used outside of drm code (e.g. in fbdev drivers). |
| 6 | * |
| 7 | * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com> |
| 8 | */ |
| 9 | |
| 10 | #ifndef __DRM_UTILS_H__ |
| 11 | #define __DRM_UTILS_H__ |
| 12 | |
Qiang Yu | 877b37299 | 2019-02-25 22:07:16 +0800 | [diff] [blame] | 13 | #include <linux/types.h> |
| 14 | |
Hans de Goede | 404d1a3 | 2017-11-25 20:35:48 +0100 | [diff] [blame] | 15 | int drm_get_panel_orientation_quirk(int width, int height); |
| 16 | |
Qiang Yu | 877b37299 | 2019-02-25 22:07:16 +0800 | [diff] [blame] | 17 | signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec); |
| 18 | |
Hans de Goede | 404d1a3 | 2017-11-25 20:35:48 +0100 | [diff] [blame] | 19 | #endif |