diff options
author | Thierry Reding <treding@nvidia.com> | 2021-03-26 17:51:35 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-03-31 18:42:14 +0300 |
commit | 4def888d4158ee8977995664bb55fa50894645d2 (patch) | |
tree | b28b26f4494719424002ef4d822b9b5169ed9122 /drivers/gpu/drm/tegra | |
parent | d5ec699db5bb15f981f1632d058ffe857d649765 (diff) | |
download | linux-4def888d4158ee8977995664bb55fa50894645d2.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/fb.c b/drivers/gpu/drm/tegra/fb.c index 01939c57fc74..350f33206076 100644 --- a/drivers/gpu/drm/tegra/fb.c +++ b/drivers/gpu/drm/tegra/fb.c @@ -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; } |