1. 16 8月, 2015 1 次提交
  2. 06 8月, 2015 1 次提交
  3. 19 6月, 2015 1 次提交
  4. 12 3月, 2015 1 次提交
  5. 07 2月, 2015 1 次提交
  6. 19 9月, 2014 2 次提交
  7. 08 7月, 2014 2 次提交
  8. 05 6月, 2014 1 次提交
  9. 02 6月, 2014 3 次提交
  10. 04 4月, 2014 1 次提交
  11. 28 3月, 2014 1 次提交
  12. 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
  13. 05 9月, 2013 3 次提交
  14. 28 6月, 2013 1 次提交
  15. 22 5月, 2013 1 次提交
  16. 14 2月, 2013 3 次提交
  17. 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
  18. 04 1月, 2013 2 次提交
  19. 13 12月, 2012 2 次提交
  20. 05 12月, 2012 2 次提交
  21. 29 11月, 2012 1 次提交
  22. 22 11月, 2012 1 次提交
  23. 04 10月, 2012 1 次提交
  24. 03 10月, 2012 1 次提交
  25. 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
  26. 20 3月, 2012 2 次提交
  27. 15 3月, 2012 1 次提交
  28. 16 2月, 2012 1 次提交