aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-10-24 15:42:52 +0100
committerEmil Velikov <[email protected]>2018-10-25 13:25:58 +0100
commit4bdbd5f0eeeebaeefb2b664c233adc846c8dc413 (patch)
treeaa21006993e69411aa7dd0dad8565d18174117c4 /tools/perf/scripts/python/sctop.py
parentf08877e79485897aa1093514daa668cc5b728418 (diff)
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 <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Hans de Goede <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions