]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: frontend: Add and use helper for checking tiling support
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 18 Jan 2019 14:51:24 +0000 (15:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 18:17:47 +0000 (19:17 +0100)
commit75e47622b09bb7c8793142159ae80e5590f89dc7
treeb469182e134d0625fedbdc9a05166494b4190364
parentaf95516c1fc77ab9107179903dc499dac01bdd63
drm/sun4i: frontend: Add and use helper for checking tiling support

This introduces a helper to check whether a frontend input format
supports tiling mode. This helper is used when tiling is requested in
the frontend format support helper.

Only semiplanar and planar YUV formats are supported by the hardware.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-15-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c