diff options
author | Dave Airlie <airlied@redhat.com> | 2018-11-28 19:21:23 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-11-28 19:28:49 -0500 |
commit | 61647c77cb15354a329cbb36fe7a2253b36b51b1 (patch) | |
tree | 59d887f99bc4a2bdddc7cfc1d81794c2a4cdc759 /drivers/gpu/drm/virtio/virtgpu_drv.h | |
parent | 1a31c26ed7b495f152e3103dc7c68e3307a39541 (diff) | |
parent | 08f73d668048ffa3ba6b1426b6ba0a89b16aefd7 (diff) |
Merge tag 'drm-misc-next-2018-11-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for v4.21:
Core Changes:
- Merge drm_info.c into drm_debugfs.c
- Complete the fake drm_crtc_commit's hw_done/flip_done sooner.
- Remove deprecated drm_obj_ref/unref functions. All drivers use get/put now.
- Decrease stack use of drm_gem_prime_mmap.
- Improve documentation for dumb callbacks.
Driver Changes:
- Add edid support to virtio.
- Wait on implicit fence in meson and sun4i.
- Add support for BGRX8888 to sun4i.
- Preparation patches for sun4i driver to start supporting linear and tiled YUV formats.
- Add support for HDMI 1.4 4k modes to meson, and support for VIC alternate timings.
- Drop custom dumb_map in vkms.
- Small fixes and cleanups to v3d.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/151a3270-b1be-ed75-bd58-6b29d741f592@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_drv.h')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index 9db568054d66..f7e877857c1f 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h | |||
@@ -115,6 +115,7 @@ struct virtio_gpu_output { | |||
115 | struct drm_encoder enc; | 115 | struct drm_encoder enc; |
116 | struct virtio_gpu_display_one info; | 116 | struct virtio_gpu_display_one info; |
117 | struct virtio_gpu_update_cursor cursor; | 117 | struct virtio_gpu_update_cursor cursor; |
118 | struct edid *edid; | ||
118 | int cur_x; | 119 | int cur_x; |
119 | int cur_y; | 120 | int cur_y; |
120 | bool enabled; | 121 | bool enabled; |
@@ -201,6 +202,7 @@ struct virtio_gpu_device { | |||
201 | struct ida ctx_id_ida; | 202 | struct ida ctx_id_ida; |
202 | 203 | ||
203 | bool has_virgl_3d; | 204 | bool has_virgl_3d; |
205 | bool has_edid; | ||
204 | 206 | ||
205 | struct work_struct config_changed_work; | 207 | struct work_struct config_changed_work; |
206 | 208 | ||
@@ -291,6 +293,7 @@ int virtio_gpu_cmd_get_capset_info(struct virtio_gpu_device *vgdev, int idx); | |||
291 | int virtio_gpu_cmd_get_capset(struct virtio_gpu_device *vgdev, | 293 | int virtio_gpu_cmd_get_capset(struct virtio_gpu_device *vgdev, |
292 | int idx, int version, | 294 | int idx, int version, |
293 | struct virtio_gpu_drv_cap_cache **cache_p); | 295 | struct virtio_gpu_drv_cap_cache **cache_p); |
296 | int virtio_gpu_cmd_get_edids(struct virtio_gpu_device *vgdev); | ||
294 | void virtio_gpu_cmd_context_create(struct virtio_gpu_device *vgdev, uint32_t id, | 297 | void virtio_gpu_cmd_context_create(struct virtio_gpu_device *vgdev, uint32_t id, |
295 | uint32_t nlen, const char *name); | 298 | uint32_t nlen, const char *name); |
296 | void virtio_gpu_cmd_context_destroy(struct virtio_gpu_device *vgdev, | 299 | void virtio_gpu_cmd_context_destroy(struct virtio_gpu_device *vgdev, |