gvt.h (04d348ae3f0aea6523bc3b0688b5fc90c1c60d0e) gvt.h (8453d674ae7e63f629a91fe4124df7a7dc9c74cd)
1/*
2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 27 unchanged lines hidden (view full) ---

36#include "debug.h"
37#include "hypercall.h"
38#include "mmio.h"
39#include "reg.h"
40#include "interrupt.h"
41#include "gtt.h"
42#include "display.h"
43#include "edid.h"
1/*
2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 27 unchanged lines hidden (view full) ---

36#include "debug.h"
37#include "hypercall.h"
38#include "mmio.h"
39#include "reg.h"
40#include "interrupt.h"
41#include "gtt.h"
42#include "display.h"
43#include "edid.h"
44#include "execlist.h"
44
45#define GVT_MAX_VGPU 8
46
47enum {
48 INTEL_GVT_HYPERVISOR_XEN = 0,
49 INTEL_GVT_HYPERVISOR_KVM,
50};
51

--- 89 unchanged lines hidden (view full) ---

141 struct intel_vgpu_fence fence;
142 struct intel_vgpu_gm gm;
143 struct intel_vgpu_cfg_space cfg_space;
144 struct intel_vgpu_mmio mmio;
145 struct intel_vgpu_irq irq;
146 struct intel_vgpu_gtt gtt;
147 struct intel_vgpu_opregion opregion;
148 struct intel_vgpu_display display;
45
46#define GVT_MAX_VGPU 8
47
48enum {
49 INTEL_GVT_HYPERVISOR_XEN = 0,
50 INTEL_GVT_HYPERVISOR_KVM,
51};
52

--- 89 unchanged lines hidden (view full) ---

142 struct intel_vgpu_fence fence;
143 struct intel_vgpu_gm gm;
144 struct intel_vgpu_cfg_space cfg_space;
145 struct intel_vgpu_mmio mmio;
146 struct intel_vgpu_irq irq;
147 struct intel_vgpu_gtt gtt;
148 struct intel_vgpu_opregion opregion;
149 struct intel_vgpu_display display;
150 /* TODO: move the declaration of intel_gvt.h to a proper place. */
151 struct intel_vgpu_execlist execlist[I915_NUM_ENGINES];
149};
150
151struct intel_gvt_gm {
152 unsigned long vgpu_allocated_low_gm_size;
153 unsigned long vgpu_allocated_high_gm_size;
154};
155
156struct intel_gvt_fence {

--- 212 unchanged lines hidden ---
152};
153
154struct intel_gvt_gm {
155 unsigned long vgpu_allocated_low_gm_size;
156 unsigned long vgpu_allocated_high_gm_size;
157};
158
159struct intel_gvt_fence {

--- 212 unchanged lines hidden ---