linux/drivers/gpu/drm/ast
Jocelyn Falempe 3dd0be7a30 drm/ast: Handle framebuffer from dma-buf
In the atomic update callback, ast should call
drm_gem_fb_begin_cpu_access() to make sure it can read the
framebuffer from the CPU, otherwise the data might not be there due
to cache, and synchronization.

Tested on a Lenovo SE100, while rendering on the ArrowLake GPU with
i915 driver, and using ast for display.

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20251030091627.340780-1-jfalempe@redhat.com
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
2025-11-10 16:02:13 +01:00
..
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile drm/ast: Remove generic device initialization 2025-09-29 13:28:16 +02:00
ast_2000.c drm/ast: Store CRTC memory request threshold in device quirks 2025-10-15 09:59:43 +02:00
ast_2100.c drm/ast: Store CRTC memory request threshold in device quirks 2025-10-15 09:59:43 +02:00
ast_2200.c drm/ast: Store CRTC memory request threshold in device quirks 2025-10-15 09:59:43 +02:00
ast_2300.c drm/ast: Store CRTC memory request threshold in device quirks 2025-10-15 09:59:43 +02:00
ast_2400.c drm/ast: Store CRTC memory request threshold in device quirks 2025-10-15 09:59:43 +02:00
ast_2500.c drm/ast: Store precatch settings in struct ast_device_quirks 2025-10-15 09:59:44 +02:00
ast_2600.c drm/ast: Store HSync adjustment in device quirks 2025-10-15 09:59:47 +02:00
ast_cursor.c drm/ast: Remove vaddr field from struct ast_plane 2025-04-07 15:08:48 +02:00
ast_ddc.c drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_ddc.h drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_dp.c drm/ast: Use msleep instead of mdelay for edid read 2025-09-19 08:46:33 +02:00
ast_dp501.c drm/ast: Use TX-chip register constants 2024-09-18 14:20:20 +02:00
ast_drv.c drm/ast: Support device quirks 2025-10-15 09:59:41 +02:00
ast_drv.h drm/ast: Store HSync adjustment in device quirks 2025-10-15 09:59:47 +02:00
ast_mm.c drm/ast: Remove vram_fb_available from struct ast_device 2025-03-12 08:38:12 +01:00
ast_mode.c drm/ast: Handle framebuffer from dma-buf 2025-11-10 16:02:13 +01:00
ast_post.c drm/ast: Split ast_set_def_ext_reg() by chip generation 2025-07-09 14:36:21 +02:00
ast_post.h drm/ast: Gen7: Switch default registers to gen4+ state 2025-07-09 14:36:23 +02:00
ast_reg.h drm/ast: Blank with VGACR17 sync enable, always clear VGACRB6 sync off 2025-10-15 09:55:35 +02:00
ast_sil164.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
ast_tables.h drm/ast: Move display-clock tables to per-Gen source files 2025-09-29 13:28:07 +02:00
ast_vbios.c drm/ast: Add helpers for VBIOS mode lookup 2025-02-03 14:01:12 +01:00
ast_vbios.h drm/ast: Add helpers for VBIOS mode lookup 2025-02-03 14:01:12 +01:00
ast_vga.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00