2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/Documentation/gpu
Oleksandr Andrushchenko 4394e96423 drm/xen-front: Remove CMA support
It turns out this was only needed to paper over a bug in the CMA
helpers, which was addressed in

commit 998fb1a0f4
Author: Liviu Dudau <Liviu.Dudau@arm.com>
Date:   Fri Nov 10 13:33:10 2017 +0000

    drm: gem_cma_helper.c: Allow importing of contiguous scatterlists with nents > 1

Without this the following pipeline didn't work:

domU:
1. xen-front allocates a non-contig buffer
2. creates grants out of it

dom0:
3. converts the grants into a dma-buf. Since they're non-contig, the
scatter-list is huge.
4. imports it into rcar-du, which requires dma-contig memory for
scanout.

-> On this given platform there's an IOMMU, so in theory this should
work. But in practice this failed, because of the huge number of sg
entries, even though the IOMMU driver mapped it all into a dma-contig
range.

With a guest-contig buffer allocated in step 1, this problem doesn't
exist. But there's technically no reason to require guest-contig
memory for xen buffer sharing using grants.

Given all that, the xen-front cma support is not needed and should be
removed.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180417074012.21311-1-andr2000@gmail.com
2018-04-18 10:18:27 +03:00
..
bridge drm: bridge: dw-hdmi: Add Documentation on supported input formats 2017-04-04 17:48:21 +02:00
conf.py doc-rst: build PDF of 80211 and gpu sub-project 2016-10-26 17:25:17 -06:00
drivers.rst drm/xen-front: Add support for Xen PV display frontend 2018-04-03 14:41:48 +03:00
drm-internals.rst Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next 2017-06-27 09:18:17 -04:00
drm-kms-helpers.rst drm/doc: Move legacy kms helpers to the very end 2017-12-15 11:26:54 +01:00
drm-kms.rst drm: Verify gamma/degamma LUT size 2018-03-16 15:44:01 +02:00
drm-mm.rst drm/syncobj: Fix kerneldoc 2017-07-26 13:22:44 +02:00
drm-uapi.rst drm/doc: Document ioctl errno value patterns 2017-08-23 15:09:26 +02:00
i915.rst docs: fix, intel_guc_loader.c has been moved to intel_guc_fw.c 2018-01-02 17:21:51 +02:00
index.rst drm/doc: Put all driver docs into a separate chapter 2018-03-19 14:43:11 +01:00
introduction.rst drm: Document code of conduct 2017-05-05 11:48:17 +10:00
kms-properties.csv drm/docs: Remove the rcar alpha from the csv file 2018-04-16 21:21:48 +02:00
meson.rst drm/meson: Add RST to bring together kerneldoc 2017-04-04 17:49:31 +02:00
pl111.rst drm/pl111: Initial drm/kms driver for pl111 2017-05-08 12:24:06 -07:00
tegra.rst drm/tegra: Add driver documentation 2017-06-15 13:58:56 +02:00
tinydrm.rst drm/tinydrm: Add MIPI DBI support 2017-02-18 18:04:59 +01:00
todo.rst Merge drm-next into drm-intel-next-queued (this time for real) 2018-03-01 11:14:24 +02:00
tve200.rst drm/tve200: fix kernel-doc documentation comment include 2018-02-21 09:26:38 +02:00
vc4.rst drm/vc4: Add a paragraph at the top of vc4 docs introducing what it is. 2017-02-28 12:51:49 -08:00
vga-switcheroo.rst drm/doc: Fix vga_switcheroo xref 2016-08-24 13:11:08 +02:00
vgaarbiter.rst vgaarbiter: rst-ifiy and polish kerneldoc 2016-08-16 18:49:56 +02:00
xen-front.rst drm/xen-front: Remove CMA support 2018-04-18 10:18:27 +03:00