linux/drivers/gpu/drm/i915/display/intel_quirks.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2018 Intel Corporation
 */

#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)
{}

/*
 * Some machines (Lenovo U160) do not work with SSC on LVDS for some reason
 */
static void quirk_ssc_force_disable(struct intel_display *display)
{}

/*
 * A machine (e.g. Acer Aspire 5734Z) may need to invert the panel backlight
 * brightness value
 */
static void quirk_invert_brightness(struct intel_display *display)
{}

/* Some VBT's incorrectly indicate no backlight is present */
static void quirk_backlight_present(struct intel_display *display)
{}

/* Toshiba Satellite P50-C-18C requires T12 delay to be min 800ms
 * which is 300 ms greater than eDP spec T12 min.
 */
static void quirk_increase_t12_delay(struct intel_display *display)
{}

/*
 * GeminiLake NUC HDMI outputs require additional off time
 * this allows the onboard retimer to correctly sync to signal
 */
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

/* For systems that don't have a meaningful PCI subdevice/subvendor ID */
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)
{}