1. 23 3月, 2014 2 次提交
  2. 28 6月, 2013 1 次提交
    • R
      drm/exynos: hdmi: use drm_display_mode to check the supported modes · 16844fb1
      Rahul Sharma 提交于
      This patch renames check_timing to check_mode and removes the
      unnecessary conversion of drm_display_mode to/from fb_videomode in
      the hdmi driver.
      
      v4:
      1) Changed the commit message to add information related to renaming
      the callbacks to check_mode.
      2) Changed debug message to print 1/0 for interlace mode.
      
      v3:
      1) Replaced check_timing callbacks with check_mode.
      2) Change the type of second parameter of check_mode callback from void
      pointer paramenter to struct drm_display_mode pointer.
      
      v2:
      1) Removed convert_to_video_timing().
      2) Corrected DRM_DEBUG_KMS to print the resolution properly.
      Signed-off-by: NRahul Sharma <rahul.sharma@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      16844fb1
  3. 16 4月, 2013 1 次提交
  4. 21 2月, 2013 1 次提交
  5. 25 1月, 2013 1 次提交
  6. 04 1月, 2013 1 次提交
  7. 13 12月, 2012 1 次提交
  8. 04 12月, 2012 1 次提交
    • I
      drm/exynos: add iommu support for hdmi driver · 1055b39f
      Inki Dae 提交于
      Changelog v2:
      move iommu support feature to mixer side.
      And below is Prathyush's comment.
      
      According to the new IOMMU framework for exynos sysmmus,
      the owner of the sysmmu-tv is mixer (which is the actual
      device that does DMA) and not hdmi.
      The mmu-master in sysmmu-tv node is set as below in exynos5250.dtsi
      	sysmmu-tv {
      		-
      		mmu-master = <&mixer>;
      	};
      
      Changelog v1:
      The iommu will be enabled when hdmi sub driver is probed and
      will be disabled when removed.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      1055b39f
  9. 05 10月, 2012 1 次提交
  10. 04 10月, 2012 1 次提交
  11. 20 7月, 2012 1 次提交
  12. 08 5月, 2012 1 次提交
    • J
      drm/exynos: add dpms for hdmi · cf8fc4f1
      Joonyoung Shim 提交于
      The power and clocks turns on always in exynos hdmi and mixer driver,
      but we should turn off the power and clocks of exynos hdmi and mixer
      when the hdmi cable unplugged or when hdmi unused.
      
      There are two interrupt to detect hotplug of hdmi cable - internal
      interrupt and external interrupt. The internal interrupt can use only
      when hdmi is dpms on so if hdmi is dpms off, we should use external
      interrupt to detect hotplug of hdmi cable. If hdmi is dpms on, we cannot
      external interrupt because the gpio pin for external interrupt is used
      to hdmi HPD pin for internal interrupt.
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      cf8fc4f1
  13. 12 4月, 2012 1 次提交
  14. 20 3月, 2012 1 次提交
  15. 29 12月, 2011 1 次提交
    • S
      drm/exynos: added hdmi display support · d8408326
      Seung-Woo Kim 提交于
      This patch is hdmi display support for exynos drm driver.
      
      There is already v4l2 based exynos hdmi driver in drivers/media/video/s5p-tv
      and some low level code is already in s5p-tv and even headers for register
      define are almost same. but in this patch, we decide not to consider separated
      common code with s5p-tv.
      
      Exynos HDMI is composed of 5 blocks, mixer, vp, hdmi, hdmiphy and ddc.
      
      1. mixer. The piece of hardware responsible for mixing and blending multiple
      data inputs before passing it to an output device.  The mixer is capable of
      handling up to three image layers. One is the output of VP.  Other two are
      images in RGB format.  The blending factor, and layers' priority are controlled
      by mixer's registers. The output is passed to HDMI.
      
      2. vp (video processor). It is used for processing of NV12/NV21 data.  An image
      stored in RAM is accessed by DMA. The output in YCbCr444 format is send to
      mixer.
      
      3. hdmi. The piece of HW responsible for generation of HDMI packets. It takes
      pixel data from mixer and transforms it into data frames. The output is send
      to HDMIPHY interface.
      
      4. hdmiphy. Physical interface for HDMI. Its duties are sending HDMI packets to
      HDMI connector. Basically, it contains a PLL that produces source clock for
      mixer, vp and hdmi.
      
      5. ddc (display data channel). It is dedicated i2c channel to exchange display
      information as edid with display monitor.
      
      With plane support, exynos hdmi driver fully supports two mixer layes and vp
      layer. Also vp layer supports multi buffer plane pixel formats having non
      contigus memory spaces.
      
      In exynos drm driver, common drm_hdmi driver to interface with drm framework
      has opertion pointers for mixer and hdmi. this drm_hdmi driver is registered as
      sub driver of exynos_drm. hdmi has hdmiphy and ddc i2c clients and controls
      them. mixer controls all overlay layers in both mixer and vp.
      
      Vblank interrupts for hdmi are handled by mixer internally because drm
      framework cannot support multiple irq id. And pipe number is used to check
      which display device irq happens.
      
      History
      v2: this version
       - drm plane feature support to handle overlay layers.
       - multi buffer plane pixel format support for vp layer.
       - vp layer support
      
      RFCv1: original
       - at https://lkml.org/lkml/2011/11/4/164Signed-off-by: NSeung-Woo Kim <sw0312.kim@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      d8408326