#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)
{ … }
static int
intel_alloc_mchbar_resource(struct drm_i915_private *i915)
{ … }
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)
{ … }