]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: backend: Use explicit fourcc helpers for packed YUV422 check
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 18 Jan 2019 14:51:13 +0000 (15:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 18:00:29 +0000 (19:00 +0100)
commita81fe7035f5db7015df0d733b9e8232d86c07118
tree9b4df291e2f62c84e3882ab570e7354e2df7e97b
parent4ff151ec1bd05d8d2f03c8d62fd856dde00d1e4f
drm/sun4i: backend: Use explicit fourcc helpers for packed YUV422 check

Checking for the number of planes is not sufficient to en ensure that
the format is a packed YUV422.

Use explicit fourcc helpers for the check instead.

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-4-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_backend.c