linux/drivers/gpu/drm/gma500/mid_bios.c

// SPDX-License-Identifier: GPL-2.0-only
/**************************************************************************
 * Copyright (c) 2011, Intel Corporation.
 * All Rights Reserved.
 *
 **************************************************************************/

/* TODO
 * - Split functions by vbt type
 * - Make them all take drm_device
 * - Check ioremap failures
 */

#include <drm/drm.h>

#include "mid_bios.h"
#include "psb_drv.h"

static void mid_get_fuse_settings(struct drm_device *dev)
{}

/*
 *	Get the revison ID, B0:D2:F0;0x08
 */
static void mid_get_pci_revID(struct drm_psb_private *dev_priv)
{}

struct mid_vbt_header {} __packed;

/* The same for r0 and r1 */
struct vbt_r0 {} __packed;

struct vbt_r10 {} __packed;

static int read_vbt_r0(u32 addr, struct vbt_r0 *vbt)
{}

static int read_vbt_r10(u32 addr, struct vbt_r10 *vbt)
{}

static int mid_get_vbt_data_r0(struct drm_psb_private *dev_priv, u32 addr)
{}

static int mid_get_vbt_data_r1(struct drm_psb_private *dev_priv, u32 addr)
{}

static int mid_get_vbt_data_r10(struct drm_psb_private *dev_priv, u32 addr)
{}

static void mid_get_vbt_data(struct drm_psb_private *dev_priv)
{}

int mid_chip_setup(struct drm_device *dev)
{}