linux_dsm_epyc7002/drivers/gpu/drm/virtio
Emil Velikov 4bdbd5f0ee drm/virtio: document drm_dev_set_unique workaround
A while back we removed it, yet that lead to regressions. At some later
point, I've attempted to remove it again without fully grasping the
unique (pun intended) situation that virtio is in.

Add a bulky comment to document why the call should stay as-is, for the
next person who's around.

As a Tl;Dr: virtio sits on top of struct virtio_device, which confuses
dev_is_pci(), wrong info gets sent to userspace and X doesn't start.
Driver needs to explicitly call drm_dev_set_unique() to keep it working.

v2: Fix handful of typos (Laszlo)

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181024144252.16518-1-emil.l.velikov@gmail.com
2018-10-25 13:25:58 +01:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtgpu_debugfs.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_display.c drm/virtio: fix DRM_FORMAT_* handling 2018-09-25 14:49:49 +02:00
virtgpu_drm_bus.c drm/virtio: document drm_dev_set_unique workaround 2018-10-25 13:25:58 +01:00
virtgpu_drv.c drm/virtio: Remove multiple blank lines 2018-02-27 08:40:42 +01:00
virtgpu_drv.h virtio: Rework virtio_gpu_object_kmap() 2018-09-26 08:05:06 +02:00
virtgpu_fb.c virtio: Rework virtio_gpu_object_kmap() 2018-09-26 08:05:06 +02:00
virtgpu_fence.c drm/virtio: Remove unecessary dma_fence_ops 2018-07-03 13:14:18 +02:00
virtgpu_gem.c drm/virtio: fix DRM_FORMAT_* handling 2018-09-25 14:49:49 +02:00
virtgpu_ioctl.c drm/virtio: pass virtio_gpu_object to virtio_gpu_cmd_transfer_to_host_{2d, 3d} 2018-09-25 14:49:49 +02:00
virtgpu_kms.c virtgpu: remove redundant task_comm copying 2017-11-10 12:45:35 +01:00
virtgpu_object.c virtio: Rework virtio_gpu_object_kmap() 2018-09-26 08:05:06 +02:00
virtgpu_plane.c drm/virtio: fix DRM_FORMAT_* handling 2018-09-25 14:49:49 +02:00
virtgpu_prime.c virtio: Support prime objects vmap/vunmap 2018-09-26 08:05:07 +02:00
virtgpu_ttm.c drm/virtio: add virtio_gpu_object_detach() function 2018-09-05 08:26:25 +02:00
virtgpu_vq.c drm/virtio: pass virtio_gpu_object to virtio_gpu_cmd_transfer_to_host_{2d, 3d} 2018-09-25 14:49:49 +02:00