drm/tegra: fb: Add diagnostics for framebuffer modifiers

Add a debug message to let the user know when a framebuffer modifier is
not supported.

Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding 2021-03-26 15:51:35 +01:00
parent d5ec699db5
commit 4def888d41
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer,
break;
default:
DRM_DEBUG_KMS("unknown format modifier: %llx\n", modifier);
return -EINVAL;
}