drm/virtio: delete notify in virtio_gpu_object_create
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 1 Apr 2020 22:30:37 +0000 (15:30 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 3 Apr 2020 10:01:37 +0000 (12:01 +0200)
commit6457a0df4df2bba9d395bc93476a84219f661b41
tree8f67a464f360654350f9adfdf7bf818e00c01212
parent6eefb4bb938fb0b214524bbcfd66f873540181c9
drm/virtio: delete notify in virtio_gpu_object_create

For 3D buffers, virtio_gpu_gem_object_open notifies.
We can have the same behavior for dumb buffer.

v2: virtio_gpu_gem_object_open always notifies
v3: avoid boolean variable

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200401223039.2860-3-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_gem.c
drivers/gpu/drm/virtio/virtgpu_object.c