]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Print capabilities early during the initialization
authorZack Rusin <zackr@vmware.com>
Wed, 2 Mar 2022 15:24:21 +0000 (10:24 -0500)
committerZack Rusin <zackr@vmware.com>
Fri, 11 Mar 2022 18:29:33 +0000 (13:29 -0500)
commit78ed959b6db53da4edbba53e71a054a7c9129d5e
tree46bef6e9ade6f37ccae276b0eabf92f518be15cf
parentb200589d291abb8fb8a570c4fa2dd8453c0f4525
drm/vmwgfx: Print capabilities early during the initialization

Capabilities were logged at the end of initialization so any early errors
would make them not appear in the logs. Which is also when they're needed
the most.
Print the the capabilities right after fetching them, before the init
code starts using them to make sure they always show up in the logs.

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-4-zack@kde.org
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c