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 drm_i915_private; 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 drm_i915_private *i915); 23 bool intel_has_quirk(struct drm_i915_private *i915, enum intel_quirk_id quirk); 24 25 #endif /* __INTEL_QUIRKS_H__ */ 26