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
This commit is contained in:
parent
8523f8875b
commit
88f1b29a44
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user