]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Cleanup logging
authorZack Rusin <zackr@vmware.com>
Fri, 23 Jul 2021 16:51:51 +0000 (12:51 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 28 Jul 2021 18:53:23 +0000 (14:53 -0400)
commit7b9f3d7c7a6a0366cc86d4791c0a2c6327e92480
tree5734dc7f26f699198bc30f01a94f310a72b92063
parentdc605c8257463c6c917425d9e4bb33b4c52f9d14
drm/vmwgfx: Cleanup logging

The code was using the old DRM logging functions, which made it
hard to figure out what was coming from vmwgfx. The newer logging
helpers include the driver name in the logs and make it explicit
which driver they're coming from. This allows us to standardize
our logging a bit and clean it up in the process.

vmwgfx is a little special because technically the hardware it's
running on can be anything from the last 12 years or so which is
why we need to include capabilities in the logs in the first
place or otherwise we'd have no way of knowing what were
the capabilities of the platform the guest was running in.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723165153.113198-2-zackr@vmware.com
drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c