brintos

brintos / linux-shallow public Read only

0
0
Text · 801 B · cafdebd Raw
32 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2019 Intel Corporation4 */5 6#ifndef __INTEL_QUIRKS_H__7#define __INTEL_QUIRKS_H__8 9#include <linux/types.h>10 11struct intel_display;12struct intel_dp;13struct drm_dp_dpcd_ident;14 15enum intel_quirk_id {16	QUIRK_BACKLIGHT_PRESENT,17	QUIRK_INCREASE_DDI_DISABLED_TIME,18	QUIRK_INCREASE_T12_DELAY,19	QUIRK_INVERT_BRIGHTNESS,20	QUIRK_LVDS_SSC_DISABLE,21	QUIRK_NO_PPS_BACKLIGHT_POWER_HOOK,22	QUIRK_FW_SYNC_LEN,23};24 25void intel_init_quirks(struct intel_display *display);26void intel_init_dpcd_quirks(struct intel_dp *intel_dp,27			    const struct drm_dp_dpcd_ident *ident);28bool intel_has_quirk(struct intel_display *display, enum intel_quirk_id quirk);29bool intel_has_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk);30 31#endif /* __INTEL_QUIRKS_H__ */32