[media] v4l: vsp1: Enable display list support for the HS[IT], LUT, SRU and UDS
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 1 Nov 2015 14:26:14 +0000 (12:26 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 20:42:45 +0000 (17:42 -0300)
Those modules were left out of display list integration as they're not
used by the DRM pipeline. To prepare for display list support in non-DRM
pipelines use the module write API to set registers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_hsit.c
drivers/media/platform/vsp1/vsp1_lut.c
drivers/media/platform/vsp1/vsp1_sru.c
drivers/media/platform/vsp1/vsp1_uds.c

index c1087cf..e820fe0 100644 (file)
@@ -28,7 +28,7 @@
 
 static inline void vsp1_hsit_write(struct vsp1_hsit *hsit, u32 reg, u32 data)
 {
-       vsp1_write(hsit->entity.vsp1, reg, data);
+       vsp1_mod_write(&hsit->entity, reg, data);
 }
 
 /* -----------------------------------------------------------------------------
index 4b89095..fc9011b 100644 (file)
@@ -29,7 +29,7 @@
 
 static inline void vsp1_lut_write(struct vsp1_lut *lut, u32 reg, u32 data)
 {
-       vsp1_write(lut->entity.vsp1, reg, data);
+       vsp1_mod_write(&lut->entity, reg, data);
 }
 
 /* -----------------------------------------------------------------------------
index 15fc562..810c6b3 100644 (file)
@@ -28,7 +28,7 @@
 
 static inline void vsp1_sru_write(struct vsp1_sru *sru, u32 reg, u32 data)
 {
-       vsp1_write(sru->entity.vsp1, reg, data);
+       vsp1_mod_write(&sru->entity, reg, data);
 }
 
 /* -----------------------------------------------------------------------------
index bba6777..c608b06 100644 (file)
@@ -31,8 +31,8 @@
 
 static inline void vsp1_uds_write(struct vsp1_uds *uds, u32 reg, u32 data)
 {
-       vsp1_write(uds->entity.vsp1,
-                  reg + uds->entity.index * VI6_UDS_OFFSET, data);
+       vsp1_mod_write(&uds->entity, reg + uds->entity.index * VI6_UDS_OFFSET,
+                      data);
 }
 
 /* -----------------------------------------------------------------------------