aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/virtio/virtgpu_drv.h
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2019-12-18 16:57:33 -0800
committerGerd Hoffmann <kraxel@redhat.com>2019-12-19 07:13:46 +0100
commit570c815698c4c1b2f750cbe9ea40111416671d8e (patch)
treede6c3d452171f3cc09c3859b87f04644035afd05 /drivers/gpu/drm/virtio/virtgpu_drv.h
parentdrm/virtio: move to_virtio_fence inside virtgpu_fence (diff)
downloadlinux-dev-570c815698c4c1b2f750cbe9ea40111416671d8e.tar.xz
linux-dev-570c815698c4c1b2f750cbe9ea40111416671d8e.zip
drm/virtio: move drm_connector_to_virtio_gpu_output to virtgpu_display
That's the only file that uses it. Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20191219005733.18960-6-gurchetansingh@chromium.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_drv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h
index b16e04bd67b7..7e69c06e168e 100644
--- a/drivers/gpu/drm/virtio/virtgpu_drv.h
+++ b/drivers/gpu/drm/virtio/virtgpu_drv.h
@@ -133,8 +133,6 @@ struct virtio_gpu_output {
};
#define drm_crtc_to_virtio_gpu_output(x) \
container_of(x, struct virtio_gpu_output, crtc)
-#define drm_connector_to_virtio_gpu_output(x) \
- container_of(x, struct virtio_gpu_output, conn)
struct virtio_gpu_framebuffer {
struct drm_framebuffer base;