commit | 70a0d6a37726a1a3d13a8b358fb362ea692778e1 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Oct 19 08:18:45 2018 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Oct 29 22:50:55 2018 +0100 |
tree | dea7d042fc7728ccf07b36c1c770d56bb95678dd | |
parent | c40336ba5ed6c67e131cbf82a4fa37faf3bf0ed3 [diff] |
drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpu_resource_create_ioctl() Drop pointless res_id variable in virtio_gpu_resource_create_ioctl(), just use the hw_res_handle field in virtio_gpu_object directly. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20181019061847.18958-5-kraxel@redhat.com