diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-08-19 12:23:31 +0300 |
---|---|---|
committer | Tian Tao <tiantao6@hisilicon.com> | 2020-08-26 03:47:01 +0300 |
commit | 274d77648eaa7a88787bb5c2e53e1f8c709ce7ac (patch) | |
tree | 5f9c4908f7eb9932cd832c7ccc86ab3664baf67c /drivers/gpu/drm/hisilicon/hibmc | |
parent | ebb21aa1882f418b436ee23463683790c553a447 (diff) | |
download | linux-274d77648eaa7a88787bb5c2e53e1f8c709ce7ac.tar.xz |
drm/hisilicon: Use drm_err instead of DRM_ERROR in hibmc_ttm
Use drm_err instead of DRM_ERROR in hibmc_ttm.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1597829014-39942-2-git-send-email-tiantao6@hisilicon.com
Diffstat (limited to 'drivers/gpu/drm/hisilicon/hibmc')
-rw-r--r-- | drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c index 322bd542e89d..602ece11bb4a 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c @@ -32,7 +32,7 @@ int hibmc_mm_init(struct hibmc_drm_private *hibmc) hibmc->fb_size); if (IS_ERR(vmm)) { ret = PTR_ERR(vmm); - DRM_ERROR("Error initializing VRAM MM; %d\n", ret); + drm_err(dev, "Error initializing VRAM MM; %d\n", ret); return ret; } |