drm/shmem-helper: Switch to use drm_* debug helpers
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Wed, 16 Nov 2022 20:56:33 +0000 (23:56 +0300)
committerDmitry Osipenko <dmitry.osipenko@collabora.com>
Mon, 27 Feb 2023 04:10:22 +0000 (07:10 +0300)
commit3f6a1e22fae95a50a2e4815305931ed1da5c9a12
tree09de21a226c0fb9512ffbbd343ec1b3a8984b255
parent3842d671d7556f33d5909d472954328201b8b530
drm/shmem-helper: Switch to use drm_* debug helpers

Ease debugging of a multi-GPU system by using drm_WARN_*() and
drm_dbg_kms() helpers that print out DRM device name corresponding
to shmem GEM.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://lore.kernel.org/all/20230108210445.3948344-6-dmitry.osipenko@collabora.com/
drivers/gpu/drm/drm_gem_shmem_helper.c