Re: [PATCH v3 12/19] drm/virtio: implement blob resources: implement vram object

2020-09-17 Thread Gerd Hoffmann
Hi, > + if (resp_type == VIRTIO_GPU_RESP_OK_MAP_INFO) { > + vram->map_info = resp->map_info; > + vram->map_state = STATE_OK; > + } else { > + vram->map_state = STATE_ERR; > + } Ah, found it, here. ok. take care, Gerd __

[PATCH v3 12/19] drm/virtio: implement blob resources: implement vram object

2020-09-16 Thread Gurchetan Singh
From: Gerd Hoffmann A virtio-gpu vram object is based on range-based allocation. No guest shmemfs backing, so we call drm_gem_private_object_init. This is for host memory without any guest backing (atleast initially). Signed-off-by: Gerd Hoffmann Co-developed-by: Gurchetan Singh Signed-off-by