XenevaOS
Loading...
Searching...
No Matches
drm_utils.h
Go to the documentation of this file.
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
13#include <linux/types.h>
14
15struct drm_edid;
16
17int drm_get_panel_orientation_quirk(int width, int height);
18
24
25const struct drm_panel_backlight_quirk *
26drm_get_panel_backlight_quirk(const struct drm_edid *edid);
27
28signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec);
29
30#endif
COMPILER_DEPENDENT_INT64 int64_t
Definition acefiex.h:164
int drm_get_panel_orientation_quirk(int width, int height)
signed long drm_timeout_abs_to_jiffies(int64_t timeout_nsec)
const struct drm_panel_backlight_quirk * drm_get_panel_backlight_quirk(const struct drm_edid *edid)
uint16_t u16
Definition kernel.h:15
uint32_t u32
Definition kernel.h:16
Definition drm_utils.h:19
bool force_pwm
Definition drm_utils.h:22
u32 brightness_mask
Definition drm_utils.h:21
u16 min_brightness
Definition drm_utils.h:20
Definition drm_edid.h:291