xref: /linux/drivers/gpu/drm/i915/soc/intel_gmch.h (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef __INTEL_GMCH_H__
7 #define __INTEL_GMCH_H__
8 
9 #include <linux/types.h>
10 
11 struct pci_dev;
12 struct drm_i915_private;
13 
14 int intel_gmch_bridge_setup(struct drm_i915_private *i915);
15 void intel_gmch_bar_setup(struct drm_i915_private *i915);
16 void intel_gmch_bar_teardown(struct drm_i915_private *i915);
17 int intel_gmch_vga_set_state(struct drm_i915_private *i915, bool enable_decode);
18 unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool enable_decode);
19 
20 #endif /* __INTEL_GMCH_H__ */
21