1. 08 1月, 2013 4 次提交
    • D
      drm/ttm: fix fence locking in ttm_buffer_object_transfer · e8e89622
      Daniel Vetter 提交于
      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: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e8e89622
    • D
      Merge branch 'drm-fixes-3.8' of git://people.freedesktop.org/~agd5f/linux into drm-next · c75be259
      Dave Airlie 提交于
      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
    • S
      drm/prime: drop reference on imported dma-buf come from gem · be8a42ae
      Seung-Woo Kim 提交于
      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: NSeung-Woo Kim <sw0312.kim@samsung.com>
      Signed-off-by: NKyungmin.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: NDave Airlie <airlied@redhat.com>
      be8a42ae
    • D
      Merge branch 'exynos-drm-fixes' of... · f3215be9
      Dave Airlie 提交于
      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 1月, 2013 3 次提交
  3. 05 1月, 2013 1 次提交
  4. 04 1月, 2013 32 次提交