]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
[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 c1087cff31a088b98b24a998bdf2d426ee883001..e820fe0b4f0006314ffdcaad0c9e556989117fae 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 4b89095e7b5fdd8a78722cd3a72e4c8d026ce919..fc9011b12993e283b5a6de1a180512b6f4e33d85 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 15fc562a52dad18bc937849135ee4482cc9c5cae..810c6b376e14516ec96dbdccb4d8b7973d307970 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 bba67770cf9567d6be4a0d0d9bb4377918c38026..c608b06ed677fba462654920d93e6439423df887 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);
 }
 
 /* -----------------------------------------------------------------------------