linux/drivers/gpu/drm/i915/soc/intel_gmch.c

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

#include <linux/pci.h>
#include <linux/pnp.h>
#include <linux/vgaarb.h>

#include <drm/drm_managed.h>
#include <drm/intel/i915_drm.h>

#include "i915_drv.h"
#include "intel_gmch.h"
#include "intel_pci_config.h"

static void intel_gmch_bridge_release(struct drm_device *dev, void *bridge)
{}

int intel_gmch_bridge_setup(struct drm_i915_private *i915)
{}

static int mchbar_reg(struct drm_i915_private *i915)
{}

/* Allocate space for the MCH regs if needed, return nonzero on error */
static int
intel_alloc_mchbar_resource(struct drm_i915_private *i915)
{}

/* Setup MCHBAR if possible, return true if we should disable it again */
void intel_gmch_bar_setup(struct drm_i915_private *i915)
{}

void intel_gmch_bar_teardown(struct drm_i915_private *i915)
{}

int intel_gmch_vga_set_state(struct drm_i915_private *i915, bool enable_decode)
{}

unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool enable_decode)
{}