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)
commitaf326e28380ab858cf7e0c67ba04c4f38a7a41ea
tree46bef6e9ade6f37ccae276b0eabf92f518be15cf
parentbb30d8d8c1b0002712f112c519c9caf4fdf8c9d1
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