Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Function prototypes for misc. drm utility functions.
0004  * Specifically this file is for function prototypes for functions which
0005  * may also be used outside of drm code (e.g. in fbdev drivers).
0006  *
0007  * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com>
0008  */
0009 
0010 #ifndef __DRM_UTILS_H__
0011 #define __DRM_UTILS_H__
0012 
0013 #include <linux/types.h>
0014 
0015 int drm_get_panel_orientation_quirk(int width, int height);
0016 
0017 signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec);
0018 
0019 #endif