mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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>
This commit is contained in:
parent
c91a1e2b5a
commit
570c815698
2 changed files with 3 additions and 2 deletions
|
@ -43,6 +43,9 @@
|
|||
#define XRES_MAX 8192
|
||||
#define YRES_MAX 8192
|
||||
|
||||
#define drm_connector_to_virtio_gpu_output(x) \
|
||||
container_of(x, struct virtio_gpu_output, conn)
|
||||
|
||||
static const struct drm_crtc_funcs virtio_gpu_crtc_funcs = {
|
||||
.set_config = drm_atomic_helper_set_config,
|
||||
.destroy = drm_crtc_cleanup,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue