xserver/hw/xfree86/drivers/modesetting
Ville Syrjälä c2eae14130 modesetting: Use IN_FORMATS_ASYNC for async flips
Use the IN_FORMATS_ASYNC blob (as opposed to the normal
IN_FORMATS blob) to determine which formats/modifiers are
supported. This will allow the client to allocate buffers
which can actually be async flipped.

In order to guarantee that the most optimal modifier is
always used we also need to force a modifier renegotiation
when swicthing between sync and async flips. Otherwise eg.
sync flips might end up using a less optimal sync+async
modifier instead of a more optimal sync-only modifier.

Signed-off-by: notbabaisyou <though-went-some-simple@proton.me>
2025-06-25 16:14:44 +02:00
..
dri2.c xfree86: use calloc() instead of malloc() 2025-06-12 16:49:57 +02:00
driver.c modesetting: Use IN_FORMATS_ASYNC for async flips 2025-06-25 16:14:44 +02:00
driver.h modesetting: Use IN_FORMATS_ASYNC for async flips 2025-06-25 16:14:44 +02:00
drmmode_display.c modesetting: Use IN_FORMATS_ASYNC for async flips 2025-06-25 16:14:44 +02:00
drmmode_display.h modesetting: Use IN_FORMATS_ASYNC for async flips 2025-06-25 16:14:44 +02:00
dumb_bo.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
modesetting.man man pages: strip trailing whitespace 2025-05-31 14:51:24 -07:00
pageflip.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
present.c modesetting: Use IN_FORMATS_ASYNC for async flips 2025-06-25 16:14:44 +02:00
vblank.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00