]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Cleanup multimon initialization code
authorZack Rusin <zackr@vmware.com>
Wed, 2 Mar 2022 15:24:20 +0000 (10:24 -0500)
committerZack Rusin <zackr@vmware.com>
Fri, 11 Mar 2022 18:29:32 +0000 (13:29 -0500)
commit1fc67119f1a7fbf02e23b0a72ab2c1d7e17d119f
tree5aae2eda0a17f653496acfdc5d766d8d69da2794
parent0b0364aa1379663a978258eff8a41670029f2a08
drm/vmwgfx: Cleanup multimon initialization code

The results of the legacy display unit initialization were being silently
ignored. Unifying the selection of number of display units based
on whether the underlying device supports multimon makes it easier
to add error checking to all paths.

This makes the driver report the errors in ldu initialization paths
and try to recover from them.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220302152426.885214-3-zack@kde.org
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c