drm: vc4: 0 is a valid value for pixel_order_hvs5, so fix conditionals
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 3 Jun 2022 15:49:09 +0000 (16:49 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 6 Jun 2022 19:33:59 +0000 (20:33 +0100)
commitc28ba4651a297ada4cbf8a31e64662d04db95705
tree9748a36f79d6797af5bf05fa0ac0685ed6981830
parentec3f4d441cb32a365f9f189c7aa0d9fbec5fe97f
drm: vc4: 0 is a valid value for pixel_order_hvs5, so fix conditionals

vc4_plane_mode_set for HVS5 was using pixel_order unless pixel_order_hvs5
was non-zero, except 0 is a valid value for the pixel_order.

Specify pixel_order_hvs5 for all formats and remove the conditional.

Reported-by: vrazzer <teamvraz@pipmail.net>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_plane.c