1. 08 Jan, 2013 4 commits
    • Daniel Vetter's avatar
      drm/ttm: fix fence locking in ttm_buffer_object_transfer · e8e89622
      Daniel Vetter authored
      Noticed while reviewing the fence locking in the radeon pageflip
      handler.
      
      v2: Instead of grabbing the bdev->fence_lock in object_transfer just
      move the single callsite of that function a few lines, so that it is
      protected by the fence_lock. Suggested by Jerome Glisse.
      
      v3: Fix typo in commit message.
      Reviewed-by: default avatarJerome Glisse <jglisse@redhat.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      e8e89622
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-3.8' of git://people.freedesktop.org/~agd5f/linux into drm-next · c75be259
      Dave Airlie authored
      Alex writes:
       A few more fixes for DMA and a mac quirk.
      
      * 'drm-fixes-3.8' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: add quirk for d3 delay during switcheroo poweron for apple macbooks
        drm/radeon: fix DMA CS parser for r6xx linear copy packet
        drm/radeon: split r6xx and r7xx copy_dma functions
      c75be259
    • Seung-Woo Kim's avatar
      drm/prime: drop reference on imported dma-buf come from gem · be8a42ae
      Seung-Woo Kim authored
      Increasing ref counts of both dma-buf and gem for imported dma-buf come from gem
      makes memory leak. release function of dma-buf cannot be called because f_count
      of dma-buf increased by importing gem and gem ref count cannot be decrease
      because of exported dma-buf.
      
      So I add dma_buf_put() for imported gem come from its own gem into each drivers
      having prime_import and prime_export capabilities. With this, only gem ref
      count is increased if importing gem exported from gem of same driver.
      Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
      Signed-off-by: default avatarKyungmin.park <kyungmin.park@samsung.com>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Rob Clark <rob.clark@linaro.org>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      be8a42ae
    • Dave Airlie's avatar
      Merge branch 'exynos-drm-fixes' of... · f3215be9
      Dave Airlie authored
      Merge branch 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      Summary:
      - change exynos file license
        . Most of exynos files had been copied from some randome
          file and not updated correctly(wrong company name used).
          This was our mistakes so chagnes it correctly. For this,
          I'm not sure that this patch should go to -fix or -next.
          So please give me any comment if there is any problem.
      - consider buffer allocation without iommu
        . Without iommu, dma_alloc_attrs function allocates some
          memory region and returns cpu address so this patch makes
          the cpu address to be set to buf->kvaddr correctly
      - cleanups to ipp relevant codes.
      - use common finish page flip function
        . to avoid the duplication of same code, use
          exynos_drm_crtc_finish_pageflip function commonly instead
          of each one.
      - fix fimd resume issue.
        . when fimd was turned off by suspend, there was one issue that
          the fimd wasn't turned on by resume so fix it chaing resume
          condition.
      
      * 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: (25 commits)
        drm/exynos: move finish page flip to a common place
        drm/exynos: fimd: modify condition in fimd resume
        drm/exynos: Use devm_clk_get in exynos_drm_gsc.c
        drm/exynos: Remove redundant NULL check in exynos_drm_gsc.c
        drm/exynos: Remove explicit freeing using devm_* APIs in exynos_drm_gsc.c
        drm/exynos: Use devm_clk_get in exynos_drm_rotator.c
        drm/exynos: Remove redundant NULL check in exynos_drm_rotator.c
        drm/exynos: Remove unnecessary devm_* freeing APIs in exynos_drm_rotator.c
        drm/exynos: Use devm_clk_get in exynos_drm_fimc.c
        drm/exynos: Remove redundant NULL check
        drm/exynos: Remove explicit freeing using devm_* APIs in exynos_drm_fimc.c
        drm/exynos: Use devm_kzalloc in exynos_drm_ipp.c
        drm/exynos: fix gem buffer allocation type checking
        drm/exynos: remove needless parenthesis.
        drm/exynos: fix incorrect interrupt induced by m2m operation.
        drm/exynos: remove color bar pattern operation.
        drm/exynos: correct some comments to abbreviation.
        drm/exynos: fix build warning.
        drm/exynos: consider both case of vflip and hflip.
        drm/exynos: remove needless error handling to property.
        ...
      f3215be9
  2. 07 Jan, 2013 3 commits
  3. 04 Jan, 2013 33 commits