OSDN Git Service

drm/vc4: Add missing formats to vc4_format_mod_supported().
authorEric Anholt <eric@anholt.net>
Fri, 16 Mar 2018 22:04:34 +0000 (15:04 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 31 May 2018 18:42:44 +0000 (11:42 -0700)
commit1e871d65e375280757833d9fce91dda71980bdf5
treef00c5790531d79d7416e3d3c32ac8f90eaf30d3a
parent8fb756dfa273bcb42bdaff65baae83548b6c326d
drm/vc4: Add missing formats to vc4_format_mod_supported().

Daniel's format_mod_supported() patch predated Dave's for NV21/61, and
I didn't catch that when rebasing.  This is a problem since the
formats are now getting validated before being passed to the driver's
atomic hooks.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Daniel Stone <daniels@collabora.com>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.org>
Fixes: 423ad7b3cbd1 ("drm/vc4: Advertise supported modifiers for planes")
Link: https://patchwork.freedesktop.org/patch/msgid/20180316220435.31416-2-eric@anholt.net
drivers/gpu/drm/vc4/vc4_plane.c