diff options
| author | Emil Velikov <[email protected]> | 2018-10-26 11:05:50 +0100 |
|---|---|---|
| committer | Emil Velikov <[email protected]> | 2018-10-29 11:13:40 +0000 |
| commit | 633873e6cb884f903468f81f2e8df8975877fadd (patch) | |
| tree | ae6a5e2c28c5134d370eca5535a19174ea553670 /tools/perf/scripts/python/futex-contention.py | |
| parent | 47164e0b0df88494235e6416a68ffcb993503b8d (diff) | |
drm/vkms: provide a parent device to drm_dev_init()
Earlier commit updated the vgem driver to improve the topology, by
passing a platform device as parent to drm_dev_init(). Shortly
afterwords we updated the core function to BUG() in order to catch any
buggy drivers passing NULL as parent.
While I missed the vkms driver (as the patch predates vkms by a few
months), the BUG caught the issue within couple of hours.
Swap the drm_dev_init <> platform_device_register_simple order, to
the driver back to life.
Fixes: f08877e79485 ("drm: BUG_ON if passing NULL parent to drm_dev_init")
Cc: Daniel Vetter <[email protected]>
Cc: Deepak Sharma <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: Haneen Mohammed <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Reported-by: Daniel Vetter <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions