diff options
author | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | 2020-03-31 17:53:07 +0200 |
---|---|---|
committer | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | 2020-04-01 14:11:00 +0200 |
commit | 88f1b29a44b197852828d3aba5fefa0082d377ff (patch) | |
tree | 76052b45f576c0f51da67d08ee71e1bc201e61bf | |
parent | 8523f8875bee3831ea602b2229e73e2fe096a354 (diff) | |
download | linux-88f1b29a44b197852828d3aba5fefa0082d377ff.tar.bz2 |
drm/core: Use proper debugging macro
Use drm_dbg_kms() instead of DRM_DEBUG_KMS.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200331155308.6345-2-andrzej.p@collabora.com
-rw-r--r-- | drivers/gpu/drm/drm_gem_framebuffer_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_gem_framebuffer_helper.c b/drivers/gpu/drm/drm_gem_framebuffer_helper.c index 7e3982c36baa..6fb1841fa71c 100644 --- a/drivers/gpu/drm/drm_gem_framebuffer_helper.c +++ b/drivers/gpu/drm/drm_gem_framebuffer_helper.c @@ -331,9 +331,9 @@ static int drm_gem_afbc_min_size(struct drm_device *dev, case AFBC_FORMAT_MOD_BLOCK_SIZE_64x4: case AFBC_FORMAT_MOD_BLOCK_SIZE_32x8_64x4: default: - DRM_DEBUG_KMS("Invalid AFBC_FORMAT_MOD_BLOCK_SIZE: %lld.\n", - mode_cmd->modifier[0] - & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK); + drm_dbg_kms(dev, "Invalid AFBC_FORMAT_MOD_BLOCK_SIZE: %lld.\n", + mode_cmd->modifier[0] + & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK); return -EINVAL; } |