drm/vc4: Fix the name of the VSYNCD_EVEN register.
authorEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 01:06:02 +0000 (17:06 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 26 Feb 2016 23:51:29 +0000 (15:51 -0800)
It's used for delaying vsync in interlaced mode.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_regs.h

index 989ee728e2b0761c30448873b22c7acea373a031..5e84be2e97d01f116065fe4efc56e18702fdc122 100644 (file)
@@ -83,7 +83,7 @@ static const struct {
 } crtc_regs[] = {
        CRTC_REG(PV_CONTROL),
        CRTC_REG(PV_V_CONTROL),
-       CRTC_REG(PV_VSYNCD),
+       CRTC_REG(PV_VSYNCD_EVEN),
        CRTC_REG(PV_HORZA),
        CRTC_REG(PV_HORZB),
        CRTC_REG(PV_VERTA),
index 85c36d238669b5c1325e3db5d39e0fd91fbbbc9c..d529665d43cd57c326481a64bb84993ea3c453f3 100644 (file)
 # define PV_VCONTROL_CONTINUOUS                        BIT(1)
 # define PV_VCONTROL_VIDEN                     BIT(0)
 
-#define PV_VSYNCD                              0x08
+#define PV_VSYNCD_EVEN                         0x08
 
 #define PV_HORZA                               0x0c
 # define PV_HORZA_HBP_MASK                     VC4_MASK(31, 16)