Re: [PATCH v2 RESEND] drm/virtio: use generic dumb_map_offset implementation

2024-11-19 Thread Dmitry Osipenko
On 11/7/24 17:10, Peter Shkenev wrote: > Currently, virtio uses its own dumb_map_offset implementation, > virtio_gpu_mode_dumb_mmap. It works similarly to generic implementation, > drm_gem_dumb_map_offset, and using the generic implementation is > preferable (and making drivers to do so is a task s

[PATCH v2 RESEND] drm/virtio: use generic dumb_map_offset implementation

2024-11-07 Thread Peter Shkenev
Currently, virtio uses its own dumb_map_offset implementation, virtio_gpu_mode_dumb_mmap. It works similarly to generic implementation, drm_gem_dumb_map_offset, and using the generic implementation is preferable (and making drivers to do so is a task stated on the DRM subsystem's TODO list). Thus,