diff options
author | 2020-06-05 15:58:02 +0200 | |
---|---|---|
committer | 2020-06-11 10:06:10 +0200 | |
commit | 832eddf5d8f4d83983b7674faa009b2a5ead1848 (patch) | |
tree | e16c3df1f7ceb8729a4c6a55698815889c7b97f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/mgag200: Allocate device structures in mgag200_driver_load() (diff) | |
download | wireguard-linux-832eddf5d8f4d83983b7674faa009b2a5ead1848.tar.xz wireguard-linux-832eddf5d8f4d83983b7674faa009b2a5ead1848.zip |
drm/mgag200: Embed instance of struct drm_device in struct mga_device
Following current best practice, the instance of struct drm_device is now
embedded in struct mga_device. The respective field has been renamed from
'dev' to 'base' to reflect the relationship. Conversion from DRM device is
done via upcast. Using dev_private is no longer possible.
The patch also open-codes drm_dev_alloc() and DRM device initialization
is now performed by a call to drm_device_init().
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605135803.19811-14-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions