1. 19 9月, 2014 2 次提交
  2. 08 7月, 2014 2 次提交
  3. 05 6月, 2014 1 次提交
  4. 02 6月, 2014 3 次提交
  5. 04 4月, 2014 1 次提交
  6. 28 3月, 2014 1 次提交
  7. 16 9月, 2013 1 次提交
    • S
      drm/exynos: Fix address space warnings in exynos_drm_fbdev.c · fafb3837
      Sachin Kamat 提交于
      Silences the following warnings:
      drivers/gpu/drm/exynos/exynos_drm_fbdev.c:102:40: warning:
      incorrect type in assignment (different address spaces)
      drivers/gpu/drm/exynos/exynos_drm_fbdev.c:102:40:
      expected void [noderef] <asn:2>*kvaddr
      drivers/gpu/drm/exynos/exynos_drm_fbdev.c:102:40:    got void *
      drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48: warning:
      incorrect type in assignment (different address spaces)
      drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48:
      expected void [noderef] <asn:2>*kvaddr
      drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48:    got void *
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      fafb3837
  8. 05 9月, 2013 3 次提交
  9. 28 6月, 2013 1 次提交
  10. 22 5月, 2013 1 次提交
  11. 14 2月, 2013 3 次提交
  12. 21 1月, 2013 1 次提交
    • D
      drm: revamp framebuffer cleanup interfaces · 36206361
      Daniel Vetter 提交于
      We have two classes of framebuffer
      - Created by the driver (atm only for fbdev), and the driver holds
        onto the last reference count until destruction.
      - Created by userspace and associated with a given fd. These
        framebuffers will be reaped when their assoiciated fb is closed.
      
      Now these two cases are set up differently, the framebuffers are on
      different lists and hence destruction needs to clean up different
      things. Also, for userspace framebuffers we remove them from any
      current usage, whereas for internal framebuffers it is assumed that
      the driver has done this already.
      
      Long story short, we need two different ways to cleanup such drivers.
      Three functions are involved in total:
      - drm_framebuffer_remove: Convenience function which removes the fb
        from all active usage and then drops the passed-in reference.
      - drm_framebuffer_unregister_private: Will remove driver-private
        framebuffers from relevant lists and drop the corresponding
        references. Should be called for driver-private framebuffers before
        dropping the last reference (or like for a lot of the drivers where
        the fbdev is embedded someplace else, before doing the cleanup
        manually).
      - drm_framebuffer_cleanup: Final cleanup for both classes of fbs,
        should be called by the driver's ->destroy callback once the last
        reference is gone.
      
      This patch just rolls out the new interfaces and updates all drivers
      (by adding calls to drm_framebuffer_unregister_private at all the
      right places)- no functional changes yet. Follow-on patches will move
      drm core code around and update the lifetime management for
      framebuffers, so that we are no longer required to keep framebuffers
      alive by locking mode_config.mutex.
      
      I've also updated the kerneldoc already.
      
      vmwgfx seems to again be a bit special, at least I haven't figured out
      how the fbdev support in that driver works. It smells like it's
      external though.
      
      v2: The i915 driver creates another private framebuffer in the
      load-detect code. Adjust its cleanup code, too.
      Reviewed-by: NRob Clark <rob@ti.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      36206361
  13. 04 1月, 2013 2 次提交
  14. 13 12月, 2012 2 次提交
  15. 05 12月, 2012 2 次提交
  16. 29 11月, 2012 1 次提交
  17. 22 11月, 2012 1 次提交
  18. 04 10月, 2012 1 次提交
  19. 03 10月, 2012 1 次提交
  20. 02 10月, 2012 1 次提交
    • R
      drm: refcnt drm_framebuffer (v4.1) · f7eff60e
      Rob Clark 提交于
      This simplifies drm fb lifetime, and if the crtc/plane needs to hold
      a ref to the fb when disabling a pipe until the next vblank, this
      avoids the need to make disabling an overlay synchronous.  This is a
      problem that shows up when userspace is using a drm plane to
      implement a hw cursor.. making overlay disable synchronous causes
      a performance problem when x11 is rapidly enabling/disabling the
      hw cursor.  But not making it synchronous opens up a race condition
      for crashing if userspace turns around and immediately deletes the
      fb.  Refcnt'ing the fb makes it possible to solve this problem.
      
      v1: original
      v2: add drm_framebuffer_remove() which is called in all paths where
          fb->funcs->destroy() was directly called before.  This cleans
          up the CRTCs/planes that the fb was attached to.  You should
          only directly use drm_framebuffer_unreference() if you are also
          using drm_framebuffer_reference() to keep a ref to the fb.
      v3: add comment explaining the fb refcount
      v4: remove duplicate 'list_del(&fb->filp_head)'
      
      [airlied: v4.1: fix local rejection]
      Signed-off-by: NRob Clark <rob@ti.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f7eff60e
  21. 20 3月, 2012 2 次提交
  22. 15 3月, 2012 1 次提交
  23. 16 2月, 2012 1 次提交
  24. 15 2月, 2012 1 次提交
  25. 03 2月, 2012 1 次提交
  26. 29 12月, 2011 2 次提交
  27. 21 12月, 2011 1 次提交