xref: /linux/drivers/gpu/drm/i915/display/intel_quirks.h (revision 5a558f369ef89c6fd8170ee1137274fcc08517ae)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5 
6 #ifndef __INTEL_QUIRKS_H__
7 #define __INTEL_QUIRKS_H__
8 
9 #include <linux/types.h>
10 
11 struct intel_display;
12 
13 enum intel_quirk_id {
14 	QUIRK_BACKLIGHT_PRESENT,
15 	QUIRK_INCREASE_DDI_DISABLED_TIME,
16 	QUIRK_INCREASE_T12_DELAY,
17 	QUIRK_INVERT_BRIGHTNESS,
18 	QUIRK_LVDS_SSC_DISABLE,
19 	QUIRK_NO_PPS_BACKLIGHT_POWER_HOOK,
20 };
21 
22 void intel_init_quirks(struct intel_display *display);
23 bool intel_has_quirk(struct intel_display *display, enum intel_quirk_id quirk);
24 
25 #endif /* __INTEL_QUIRKS_H__ */
26