drm/rockchip: vop: fix vop vsync/hsync polarity
authorMark Yao <mark.yao@rock-chips.com>
Thu, 22 Jan 2015 03:15:02 +0000 (11:15 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 16 Mar 2015 05:48:15 +0000 (13:48 +0800)
commit44ddb7ef38ae720849cf81e71c370e55071b05a7
treeb7b9d675a44eacfe8487deec7ead06e6e856f958
parentf76c83b580043d55b2899719da61fe000839812d
drm/rockchip: vop: fix vop vsync/hsync polarity

Vop set wrong vsync/hsync polarity, it may cause some
display problem. known problem is that caused HDMI hdcp
authenticate failed, caused pixel offset with hdmi display.
the polarity description at RK3288 TRM doc:
  dsp_vsync_pol
    VSYNC polarity
      1'b0 : negative
      1'b1 : positive
      dsp_hsync_pol
    HSYNC polarity
      1'b0 : negative
      1'b1 : positive

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Caesar Wang <wxt@rock-chips.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c