1. 21 Dec, 2011 7 commits
    • Dave Airlie's avatar
      Merge remote-tracking branch 'pfdo/drm-fixes' into drm-core-next · 4cf73129
      Dave Airlie authored
      -next reported a messy merge, so I've merged my upstream pull into
      my -next tree.
      
      Conflicts:
      	drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
      4cf73129
    • Dave Airlie's avatar
      Merge branch 'exynos-drm-next' of... · 3e54f5b7
      Dave Airlie authored
      Merge branch 'exynos-drm-next' of git://git.infradead.org/users/kmpark/linux-samsung into drm-core-next
      
      * 'exynos-drm-next' of git://git.infradead.org/users/kmpark/linux-samsung:
        drm/exynos: Add plane support with fimd
        drm/exynos: add runtime pm feature for fimd
        drm/exynos: updated crtc and encoder dpms framework.
        drm/exynos: Use struct drm_mode_fb_cmd2
        drm/exynos: Fix compile errors
      3e54f5b7
    • Joonyoung Shim's avatar
      drm/exynos: Add plane support with fimd · 864ee9e6
      Joonyoung Shim authored
      The exynos fimd supports 5 window overlays. Only one window overlay of
      fimd is used by the crtc, so we need plane feature to use the rest
      window overlays.
      
      This creates one ioctl exynos specific - DRM_EXYNOS_PLANE_SET_ZPOS, it
      is the ioctl to decide for user to assign which window overlay.
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      864ee9e6
    • Joonyoung Shim's avatar
      drm/exynos: add runtime pm feature for fimd · cb91f6a0
      Joonyoung Shim authored
      This adds runtime PM feature for fimd. The runtime PM functions control
      clocks for fimd and prevent to access the register of fimd for vblank
      when clock is turned off by suspend of runtime PM.
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      cb91f6a0
    • Inki Dae's avatar
      drm/exynos: updated crtc and encoder dpms framework. · ec05da95
      Inki Dae authored
      With DPMS ON and OFF requests, crtc dpms would be in charge of
      just only device power such as fimd or hdmi and encoder dpms
      in charge of device setting(mode setting and register updating)
      and also lcd panel and digital TV power.
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      ec05da95
    • Joonyoung Shim's avatar
      drm/exynos: Use struct drm_mode_fb_cmd2 · a794d57d
      Joonyoung Shim authored
      The exynos drm also should use struct drm_mode_fb_cmd2 by changes of
      308e5bcb commit(drm: add an fb creation
      ioctl that takes a pixel format v5).
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      a794d57d
    • Joonyoung Shim's avatar
      drm/exynos: Fix compile errors · ac2bdf73
      Joonyoung Shim authored
      This compile errors occur by changes of
      e08e96de commit, so exynos drm should
      apply this changes.
      
        CC      drivers/gpu/drm/exynos/exynos_drm_drv.o
      drivers/gpu/drm/exynos/exynos_drm_drv.c:185: warning: braces around scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:185: warning: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:186: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:186: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:186: warning: initialization from incompatible pointer type
      drivers/gpu/drm/exynos/exynos_drm_drv.c:187: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:187: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:187: warning: excess elements in scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:187: warning: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:188: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:188: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:188: warning: excess elements in scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:188: warning: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:189: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:189: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:189: warning: excess elements in scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:189: warning: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:190: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:190: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:190: warning: excess elements in scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:190: warning: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:191: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:191: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:191: warning: excess elements in scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:191: warning: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:192: error: field name not in record or union initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:192: error: (near initialization for 'exynos_drm_driver.fops')
      drivers/gpu/drm/exynos/exynos_drm_drv.c:192: warning: excess elements in scalar initializer
      drivers/gpu/drm/exynos/exynos_drm_drv.c:192: warning: (near initialization for 'exynos_drm_driver.fops')
      make[4]: *** [drivers/gpu/drm/exynos/exynos_drm_drv.o] Error 1
      make[3]: *** [drivers/gpu/drm/exynos] Error 2
      make[2]: *** [drivers/gpu/drm] Error 2
      make[1]: *** [drivers/gpu] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      ac2bdf73
  2. 20 Dec, 2011 33 commits