1. 28 1月, 2017 2 次提交
    • 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: 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
  2. 07 11月, 2016 1 次提交