Home | History | Annotate | Line # | Download | only in drm
      1 /*	$NetBSD: drm_utils.h,v 1.2 2021/12/18 23:45:46 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 /*
      5  * Function prototypes for misc. drm utility functions.
      6  * Specifically this file is for function prototypes for functions which
      7  * may also be used outside of drm code (e.g. in fbdev drivers).
      8  *
      9  * Copyright (C) 2017 Hans de Goede <hdegoede (at) redhat.com>
     10  */
     11 
     12 #ifndef __DRM_UTILS_H__
     13 #define __DRM_UTILS_H__
     14 
     15 #include <linux/types.h>
     16 
     17 int drm_get_panel_orientation_quirk(int width, int height);
     18 
     19 signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec);
     20 
     21 #endif
     22