]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vmwgfx: Remove initialization of connector status
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 5 Nov 2024 13:20:10 +0000 (14:20 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Dec 2024 10:16:16 +0000 (11:16 +0100)
commite13f7e9d0d499999298097ca8356343967b51d31
treec08c112b7bd291d8848d5b0d456e8a3da3a4afc2
parent226570680bbde0a698f2985db20d9faf4f23cc6e
drm/vmwgfx: Remove initialization of connector status

Remove the connector-status initialization from several of vmwgfx's
functions. It is not required by the driver or DRM helpers.

DRM initializes the connector to unknown status in __drm_connector_init()
and reads the physical status when DRM clients or the user needs the
information, or if it detects/polls a change to the status.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241105132045.471856-1-tzimmermann@suse.de
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c