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