OSDN Git Service

media: vsp1: Fix LIF buffer thresholds
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 22 Nov 2018 03:38:07 +0000 (22:38 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 3 Dec 2018 19:57:30 +0000 (14:57 -0500)
commit230bce5511cc001cc5b27ffc83b2da188ea43606
treef3f121eb04127225954dd41799b7b1317afc71a8
parenta7c3a0d5f8d8cd5cdb32c06d4d68f5b4e4d2104b
media: vsp1: Fix LIF buffer thresholds

Commit de2bc45c84f7 ("media: vsp1: Update LIF buffer thresholds")
updated the LIF buffer thresholds based on the VSP version, but used the
wrong model mask. This resulted in all VSP instances to be treated as a
Gen3 VSPD, breaking operation on all Gen2 platforms as well as on
H3 ES2.0, M3-N, V3M and V3H. Fix it.

Fixes: de2bc45c84f7 ("media: vsp1: Update LIF buffer thresholds")

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_lif.c