Re: [PATCH v1] drm/virtio: Extend blob UAPI with deferred-mapping hinting

2025-02-14 Thread Dmitry Osipenko
On 2/14/25 20:45, Rob Clark wrote: > On Sun, Jan 26, 2025 at 12:43 PM Dmitry Osipenko > wrote: >> >> 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_BLO

Re: [PATCH v1] drm/virtio: Extend blob UAPI with deferred-mapping hinting

2025-02-14 Thread Rob Clark
On Sun, Jan 26, 2025 at 12:43 PM Dmitry Osipenko wrote: > > 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 hos