OpenCloudOS-Kernel/Documentation/gpu
Javier Martinez Canillas 45aafb5075 drm: Allow drivers to indicate the damage helpers to ignore damage clips
commit 35ed38d58257336c1df26b14fd5110b026e2adde upstream.

It allows drivers to set a struct drm_plane_state .ignore_damage_clips in
their plane's .atomic_check callback, as an indication to damage helpers
such as drm_atomic_helper_damage_iter_init() that the damage clips should
be ignored.

To be used by drivers that do per-buffer (e.g: virtio-gpu) uploads (rather
than per-plane uploads), since these type of drivers need to handle buffer
damages instead of frame damages.

That way, these drivers could force a full plane update if the framebuffer
attached to a plane's state has changed since the last update (page-flip).

Fixes: 01f05940a9 ("drm/virtio: Enable fb damage clips property for the primary plane")
Cc: <stable@vger.kernel.org> # v6.4+
Reported-by: nerdopolis <bluescreen_avenger@verizon.net>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218115
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Acked-by: Sima Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20231123221315.3579454-2-javierm@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-31 16:19:08 -08:00
..
amdgpu drm fixes for 6.6-rc1 2023-09-07 19:47:04 -07:00
bridge
dp-mst drm/dp_mst: Introduce new refcounting scheme for mstbs and ports 2019-01-10 20:12:19 -05:00
rfc Documentation work keeps chugging along; stuff for 6.6 includes: 2023-08-30 20:05:42 -07:00
afbc.rst drm/afbc: Add AFBC modifier usage documentation 2019-01-11 17:52:06 +00:00
automated_testing.rst drm: ci: docs: fix build warning - add missing escape 2023-08-29 19:56:11 +02:00
backlight.rst doc-rst: Wire-up Backlight kernel-doc documentation 2020-07-20 10:26:22 +01:00
driver-uapi.rst drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +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/doc: Add KUnit documentation 2022-06-27 13:46:03 +02:00
drm-kms-helpers.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
drm-kms.rst drm: Allow drivers to indicate the damage helpers to ignore damage clips 2024-01-31 16:19:08 -08:00
drm-mm.rst drm/doc: fix underline for section "DRM Sync Objects" 2023-08-03 17:16:12 +02:00
drm-uapi.rst drm/doc: make drm-uapi igt-tests more readable 2022-11-23 20:34:46 +01:00
drm-usage-stats.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
i915.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
index.rst drm: Add initial ci/ subdirectory 2023-08-29 19:56:11 +02: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 Documentation: Fix typos 2023-08-18 11:29:03 -06:00
komeda-kms.rst Documentation: Fix typos 2023-08-18 11:29:03 -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 Documentation: Fix typos 2023-08-18 11:29:03 -06:00
pl111.rst drm: pl111: Update documentation 2020-07-23 10:06:22 +02:00
tegra.rst
todo.rst drm: Fix TODO list mentioning non-KMS drivers 2024-01-31 16:19:08 -08:00
tve200.rst drm/tve200: fix kernel-doc documentation comment include 2018-02-21 09:26:38 +02:00
v3d.rst drm/v3d: Add missing v3d documentation structure. 2018-07-05 11:42:50 -07:00
vc4.rst drm/vc4: Improve the KUnit documentation 2022-12-15 08:54:08 +01:00
vga-switcheroo.rst
vgaarbiter.rst PCI/VGA: Move vgaarb to drivers/pci 2022-03-09 18:30:46 -06:00
vkms.rst drm/vkms: drop "Rotation" TODO 2023-05-08 09:57:24 -03:00
xen-front.rst drm/xen-front: Remove CMA support 2018-04-18 10:18:27 +03:00