[media] v4l: vsp1: Use display lists with the userspace API
[deliverable/linux.git] / drivers / media / platform / vsp1 / vsp1_dl.c
index 81ea1b2ce00dfc3b61dcb31baf2a39c3f5bcc094..54f8f47192761582895ffcb6120c75b7cf319bf7 100644 (file)
@@ -311,14 +311,15 @@ done:
 /* Hardware Setup */
 void vsp1_dlm_setup(struct vsp1_device *vsp1)
 {
-       u32 ctrl = (256 << VI6_DL_CTRL_AR_WAIT_SHIFT);
+       u32 ctrl = (256 << VI6_DL_CTRL_AR_WAIT_SHIFT)
+                | VI6_DL_CTRL_DC2 | VI6_DL_CTRL_DC1 | VI6_DL_CTRL_DC0
+                | VI6_DL_CTRL_DLE;
 
-       /* The DRM pipeline operates with header-less display lists in
-        * Continuous Frame Mode.
+       /* The DRM pipeline operates with display lists in Continuous Frame
+        * Mode, all other pipelines use manual start.
         */
        if (vsp1->drm)
-               ctrl |= VI6_DL_CTRL_DC2 | VI6_DL_CTRL_DC1 | VI6_DL_CTRL_DC0
-                    |  VI6_DL_CTRL_DLE | VI6_DL_CTRL_CFM0 | VI6_DL_CTRL_NH0;
+               ctrl |= VI6_DL_CTRL_CFM0 | VI6_DL_CTRL_NH0;
 
        vsp1_write(vsp1, VI6_DL_CTRL, ctrl);
        vsp1_write(vsp1, VI6_DL_SWAP, VI6_DL_SWAP_LWS);
This page took 0.027327 seconds and 5 git commands to generate.