amlogic: drm: disable 'meson_fb is NULL! warning log 35/259135/1
authorSihyun, Park <shwan.park@samsung.com>
Mon, 12 Apr 2021 06:36:32 +0000 (15:36 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 12 Apr 2021 06:38:29 +0000 (15:38 +0900)
The log is printed when ovelay layer has no content to display,
and it is normal thing.

Change-Id: I83f078a2670f5f98098d5508603b77b6d5820d4e
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/drm/meson_plane.c

index 08270f1..7a66a9c 100644 (file)
@@ -152,7 +152,7 @@ static int meson_plane_fb_check(struct drm_plane *plane,
        #ifdef CONFIG_DRM_MESON_USE_ION
        meson_fb = container_of(fb, struct am_meson_fb, base);
        if (!meson_fb) {
-               DRM_INFO("meson_fb is NULL!\n");
+               DRM_DEBUG("meson_fb is NULL!\n");
                return -EINVAL;
        }
        phyaddr = am_meson_gem_object_get_phyaddr(drv, meson_fb->bufp);