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