1. 28 1月, 2017 6 次提交
    • S
      drm: zte: add interlace mode support · 6848af2d
      Shawn Guo 提交于
      It adds interlace mode support in VOU TIMING_CTRL and channel control
      block, so that VOU driver gets ready to support output device in
      interlace mode like TV Encoder.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NSean Paul <seanpaul@chromium.org>
      6848af2d
    • S
      drm: zte: add overlay plane support · 4e986d37
      Shawn Guo 提交于
      It enables VOU VL (Video Layer) to support overlay plane with scaling
      function.  VL0 has some quirks on scaling support.  We choose to skip it
      and only adds VL1 and VL2 into DRM core for now.
      
      Function zx_plane_atomic_disable() gets moved around with no changes to
      save a forward declaration.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NSean Paul <seanpaul@chromium.org>
      4e986d37
    • S
      drm: zte: add .atomic_disable hook to disable graphic layer · 7254b1f9
      Shawn Guo 提交于
      There are a few hardware bits for each graphic layer to control main/aux
      channel and clock selection, as well as the layer enabling.  These bits
      sit outside the layer block itself, but in VOU control glue block.  We
      currently set these bits up at CRTC initialization for once, and do not
      support disabling the layer.
      
      This patch creates a pair of functions zx_vou_layer_enable[disable] to
      be invoked from plane hooks .atomic_update and .atomic_disable to set up
      and tear down the layer.  This is generic for both graphic and video
      layers, so it will make the overlay plane support to be added later much
      easier.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NSean Paul <seanpaul@chromium.org>
      7254b1f9
    • S
      drm: zte: make zx_plane accessible from zx_vou driver · 98ae9869
      Shawn Guo 提交于
      Move struct zx_plane from zx_plane.c to zx_plane.h, so that it can be
      accessed from zx_vou driver, and we can save the use of struct
      zx_layer_data completely.  More importantly, those additional data used
      by VOU controller to enable/disable graphic and video layers can later
      be added and accessed much more easily from zx_vou driver.
      
      While at it, we make two changes to zx_plane_init() interface:
      
       - Encode struct device pointer in zx_plane, so that we do not need to
         pass it as a parameter.
       - Change return of zx_plane_init() from struct drm_plane pointer to
         error code, since we can get the pointer from zx_plane in zx_vou
         driver now.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NSean Paul <seanpaul@chromium.org>
      98ae9869
    • S
      drm: zte: support hdmi audio through spdif · 83d71152
      Shawn Guo 提交于
      It enables HDMI audio support through SPDIF interface based on generic
      hdmi-audio-codec driver.  The HDMI hardware supports more audio
      interfaces than SPDIF, like I2S, which may be added later.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      83d71152
    • S
      drm: zte: select VIDEOMODE_HELPERS in Kconfig · 1aaaac1f
      Shawn Guo 提交于
      ZTE DRM driver uses drm_display_mode_to_videomode() in function
      zx_crtc_enable().  Select VIDEOMODE_HELPERS in Kconfig to fix the
      following link error.
      
        LD      vmlinux.o
        MODPOST vmlinux.o
      drivers/built-in.o: In function `zx_crtc_enable':
      :(.text+0xbdeb8): undefined reference to `drm_display_mode_to_videomode'
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      1aaaac1f
  2. 07 1月, 2017 1 次提交
  3. 03 1月, 2017 8 次提交
  4. 30 12月, 2016 3 次提交
  5. 26 12月, 2016 9 次提交
  6. 21 12月, 2016 12 次提交
  7. 20 12月, 2016 1 次提交