#include <linux/dmi.h>
#include "i915_drv.h"
#include "intel_display_types.h"
#include "intel_quirks.h"
static void intel_set_quirk(struct intel_display *display, enum intel_quirk_id quirk)
{ … }
static void intel_set_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk)
{ … }
static void quirk_ssc_force_disable(struct intel_display *display)
{ … }
static void quirk_invert_brightness(struct intel_display *display)
{ … }
static void quirk_backlight_present(struct intel_display *display)
{ … }
static void quirk_increase_t12_delay(struct intel_display *display)
{ … }
static void quirk_increase_ddi_disabled_time(struct intel_display *display)
{ … }
static void quirk_no_pps_backlight_power_hook(struct intel_display *display)
{ … }
static void quirk_fw_sync_len(struct intel_dp *intel_dp)
{ … }
struct intel_quirk { … };
struct intel_dpcd_quirk { … };
#define SINK_OUI(first, second, third) …
#define SINK_DEVICE_ID(first, second, third, fourth, fifth, sixth) …
#define SINK_DEVICE_ID_ANY …
struct intel_dmi_quirk { … };
static int intel_dmi_reverse_brightness(const struct dmi_system_id *id)
{ … }
static int intel_dmi_no_pps_backlight(const struct dmi_system_id *id)
{ … }
static const struct intel_dmi_quirk intel_dmi_quirks[] = …;
static struct intel_quirk intel_quirks[] = …;
static struct intel_dpcd_quirk intel_dpcd_quirks[] = …;
void intel_init_quirks(struct intel_display *display)
{ … }
void intel_init_dpcd_quirks(struct intel_dp *intel_dp,
const struct drm_dp_dpcd_ident *ident)
{ … }
bool intel_has_quirk(struct intel_display *display, enum intel_quirk_id quirk)
{ … }
bool intel_has_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk)
{ … }