Anyone to merge this?
Thanks,
Laurent
Le 20/12/2020 à 17:35, Laurent Vivier a écrit :
> In the kernel, virtio_gpu_init() uses virtio_get_shm_region()
> since
> commit 6076a9711dc5 ("drm/virtio: implement blob resources: probe for host
> visible region")
> but vm_get_shm_region() unconditionally
On Sun, Dec 20, 2020 at 05:35:39PM +0100, Laurent Vivier wrote:
In the kernel, virtio_gpu_init() uses virtio_get_shm_region()
since
commit 6076a9711dc5 ("drm/virtio: implement blob resources: probe for host visible
region")
but vm_get_shm_region() unconditionally uses VIRTIO_MMIO_SHM_SEL to
get
Hi,
> > According to the comments in the kernel, a non existent shared region
> > has a length of (u64)-1.
virtio spec says the same.
> > + case VIRTIO_MMIO_SHM_LEN_LOW:
> > + case VIRTIO_MMIO_SHM_LEN_HIGH:
> > +/*
> > + * VIRTIO_MMIO_SHM_SEL is unimplemented
> > +
Hi,
any comment?
Thanks,
Laurent
Le 20/12/2020 à 17:35, Laurent Vivier a écrit :
> In the kernel, virtio_gpu_init() uses virtio_get_shm_region()
> since
> commit 6076a9711dc5 ("drm/virtio: implement blob resources: probe for host
> visible region")
> but vm_get_shm_region() unconditionally uses
In the kernel, virtio_gpu_init() uses virtio_get_shm_region()
since
commit 6076a9711dc5 ("drm/virtio: implement blob resources: probe for host
visible region")
but vm_get_shm_region() unconditionally uses VIRTIO_MMIO_SHM_SEL to
get the address and the length of the region.
commit 38e895487afc ("v