diff options
| author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2026-05-01 03:00:43 +0300 |
|---|---|---|
| committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2026-05-14 00:57:34 +0300 |
| commit | 4c26e162947f91aa78ba57dd4fddd38fc80e7d60 (patch) | |
| tree | fd1cd428f6f93b1802c9a7671867c7fcc3b1374f /include/linux | |
| parent | d989f135f71699294bb2ffd4726b526456e2db68 (diff) | |
drm/virtio: Extend blob UAPI with deferred-mapping hinting
If userspace never maps GEM object, then BO wastes hostmem space
because VirtIO-GPU driver maps VRAM BO at the BO's creating time.
Make mappings on-demand by adding new RESOURCE_CREATE_BLOB IOCTL/UAPI
hinting flag telling that host mapping should be deferred until first
mapping is made when the flag is set by userspace.
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Link: https://patch.msgid.link/20260501000043.2483678-1-dmitry.osipenko@collabora.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
