twx-linux/Documentation/gpu
Igor Torrente 16490922a9 drm: vkms: Alloc the compose frame using vzalloc
Currently, the memory to the composition frame is being allocated using
the kzmalloc. This comes with the limitation of maximum size of one
page size(which in the x86_64 is 4Kb and 4MB for default and hugepage
respectively).

Somes test of igt (e.g. kms_plane@pixel-format) uses more than 4MB when
testing some pixel formats like ARGB16161616 and the following error were
showing up when running kms_plane@plane-panning-bottom-right*:

[drm:vkms_composer_worker [vkms]] *ERROR* Cannot allocate memory for
output frame.

This problem is addessed by allocating the memory using kvzalloc that
circunvents this limitation.

V5: Improve the commit message and drop the debugging issues in VKMS
TO-DO(Melissa Wen).

Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Igor Torrente <igormtorrente@gmail.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220404204515.42144-2-igormtorrente@gmail.com
2022-06-12 22:14:25 -01:00
..
amdgpu Documentation/gpu: Add entries to amdgpu glossary 2022-04-19 13:58:32 -04:00
bridge
dp-mst drm/dp_mst: Introduce new refcounting scheme for mstbs and ports 2019-01-10 20:12:19 -05:00
rfc drm/i915/doc: Update parallel submit doc to point to i915_drm.h 2021-10-15 10:45:50 -07:00
afbc.rst drm/afbc: Add AFBC modifier usage documentation 2019-01-11 17:52:06 +00:00
backlight.rst doc-rst: Wire-up Backlight kernel-doc documentation 2020-07-20 10:26:22 +01:00
driver-uapi.rst drm/i915: Fix missing docbook chapters for i915 uapi. 2021-07-16 10:52:59 +02:00
drivers.rst Documentation/gpu: Reorganize DC documentation 2021-12-13 16:33:16 -05:00
drm-client.rst drm/fb-helper: Remove drm_fb_helper_crtc 2019-06-04 12:13:47 +02:00
drm-internals.rst drm: Provide PCI module-init macros 2022-01-19 18:39:43 +01:00
drm-kms-helpers.rst drm/display: Move SCDC helpers into display-helper library 2022-04-25 11:19:37 +02:00
drm-kms.rst drm/doc: overview before functions for drm_writeback.c 2022-01-11 22:10:49 +01:00
drm-mm.rst drm/doc: pull in drm_buddy.c 2022-03-08 14:01:35 +01:00
drm-uapi.rst drm/doc: Clarify what ioctls can be used on render nodes 2022-03-17 10:37:08 +01:00
drm-usage-stats.rst drm/i915: Expose client engine utilisation via fdinfo 2022-04-05 08:40:57 +01:00
i915.rst Merge drm/drm-next into drm-intel-gt-next 2022-04-21 13:48:26 -04:00
index.rst drm: Document fdinfo format specification 2022-04-05 08:39:15 +01:00
introduction.rst drm/doc: Add sections about tiny drivers and external refs to intro page 2022-04-22 13:56:31 +02:00
kms-properties.csv drm/doc: Drop "content type" from the legacy kms property table 2019-03-26 14:18:51 +01:00
komeda-kms.rst Documentation: gpu/komeda-kms: eliminate duplicated word 2020-07-13 09:44:06 -06:00
mcde.rst drm/mcde: Fix reference to DOC comment 2019-10-05 20:35:14 +02:00
meson.rst Documentation/gpu/meson: Remove link to meson_canvas.c 2019-04-05 08:35:05 -04:00
msm-crash-dump.rst docs: mark orphan documents as such 2019-06-08 13:42:11 -06:00
pl111.rst drm: pl111: Update documentation 2020-07-23 10:06:22 +02:00
tegra.rst
todo.rst drm/todo: Add entry for converting kselftests to kunit 2022-05-11 11:14:42 +02:00
tve200.rst
v3d.rst drm/v3d: Add missing v3d documentation structure. 2018-07-05 11:42:50 -07:00
vc4.rst
vga-switcheroo.rst
vgaarbiter.rst PCI/VGA: Move vgaarb to drivers/pci 2022-03-09 18:30:46 -06:00
vkms.rst drm: vkms: Alloc the compose frame using vzalloc 2022-06-12 22:14:25 -01:00
xen-front.rst drm/xen-front: Remove CMA support 2018-04-18 10:18:27 +03:00