diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2023-04-06 14:02:35 +0300 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-04-07 14:16:38 +0300 |
commit | e3adc46da349d4a4cda1c58d8186c5bce0b011fd (patch) | |
tree | a3dada4f4ebede1c6b098cd94d7c251f3702778d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ca0376ba196ff7ca5fb55e333a94ea23530ee888 (diff) | |
download | linux-e3adc46da349d4a4cda1c58d8186c5bce0b011fd.tar.xz |
drm/vkms: Remove <drm/drm_simple_kms_helper.h> include
The driver doesn't use simple-KMS helpers to set a simple display pipeline
but only the drm_simple_encoder_init() function to initialize an encoder.
That helper is just a wrapper of drm_encoder_init(), but passing a struct
drm_encoder_funcs that sets the .destroy handler to drm_encoder_cleanup().
Since the <drm/drm_simple_kms_helper.h> header is only included for this
helper and because the connector is initialized with drm_connector_init()
as well, do the same for the encoder and drop the header include.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: MaĆra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230406110235.3092055-3-javierm@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions