aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_vgpu.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-05-31 16:55:13 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-06-03 14:58:24 -0400
commitda5335b8bd4aabc2362e2b3d5af7df49d7ec89e6 (patch)
treec38e750bd614381ddbad60d252ab1b7d1c9ed35f /drivers/gpu/drm/i915/i915_vgpu.c
parent00edbe196d737ebad419c2153dbaef8ef0a99f03 (diff)
drm/doc: Switch to sphinx/rst fixed-width quoting
Just fallout from switching from asciidoc to sphinx/rst. v2: Found more. Also s/\//#/ in the vgpu ascii-art - sphinx treats those as comments and switch to variable-width, which wreaks the layout. v3: Undo some of the hacks, rebasing onto latest version of Jani's series fixed it. Acked-by: Liviu Dudau <Liviu.Dudau@arm.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_vgpu.c')
-rw-r--r--drivers/gpu/drm/i915/i915_vgpu.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/gpu/drm/i915/i915_vgpu.c b/drivers/gpu/drm/i915/i915_vgpu.c
index d5a7a5e7ee7e..004326291854 100644
--- a/drivers/gpu/drm/i915/i915_vgpu.c
+++ b/drivers/gpu/drm/i915/i915_vgpu.c
@@ -150,28 +150,28 @@ static int vgt_balloon_space(struct drm_mm *mm,
150 * of its graphic space being zero. Yet there are some portions ballooned out( 150 * of its graphic space being zero. Yet there are some portions ballooned out(
151 * the shadow part, which are marked as reserved by drm allocator). From the 151 * the shadow part, which are marked as reserved by drm allocator). From the
152 * host point of view, the graphic address space is partitioned by multiple 152 * host point of view, the graphic address space is partitioned by multiple
153 * vGPUs in different VMs. 153 * vGPUs in different VMs. ::
154 * 154 *
155 * vGPU1 view Host view 155 * vGPU1 view Host view
156 * 0 ------> +-----------+ +-----------+ 156 * 0 ------> +-----------+ +-----------+
157 * ^ |///////////| | vGPU3 | 157 * ^ |###########| | vGPU3 |
158 * | |///////////| +-----------+ 158 * | |###########| +-----------+
159 * | |///////////| | vGPU2 | 159 * | |###########| | vGPU2 |
160 * | +-----------+ +-----------+ 160 * | +-----------+ +-----------+
161 * mappable GM | available | ==> | vGPU1 | 161 * mappable GM | available | ==> | vGPU1 |
162 * | +-----------+ +-----------+ 162 * | +-----------+ +-----------+
163 * | |///////////| | | 163 * | |###########| | |
164 * v |///////////| | Host | 164 * v |###########| | Host |
165 * +=======+===========+ +===========+ 165 * +=======+===========+ +===========+
166 * ^ |///////////| | vGPU3 | 166 * ^ |###########| | vGPU3 |
167 * | |///////////| +-----------+ 167 * | |###########| +-----------+
168 * | |///////////| | vGPU2 | 168 * | |###########| | vGPU2 |
169 * | +-----------+ +-----------+ 169 * | +-----------+ +-----------+
170 * unmappable GM | available | ==> | vGPU1 | 170 * unmappable GM | available | ==> | vGPU1 |
171 * | +-----------+ +-----------+ 171 * | +-----------+ +-----------+
172 * | |///////////| | | 172 * | |###########| | |
173 * | |///////////| | Host | 173 * | |###########| | Host |
174 * v |///////////| | | 174 * v |###########| | |
175 * total GM size ------> +-----------+ +-----------+ 175 * total GM size ------> +-----------+ +-----------+
176 * 176 *
177 * Returns: 177 * Returns: