1. 11 12月, 2015 1 次提交
    • V
      drm: Pass 'name' to drm_crtc_init_with_planes() · f9882876
      Ville Syrjälä 提交于
      Done with coccinelle for the most part. However, it thinks '...' is
      part of the semantic patch, so I put an 'int DOTDOTDOT' placeholder
      in its place and got rid of it with sed afterwards.
      
      I didn't convert drm_crtc_init() since passing the varargs through
      would mean either cpp macros or va_list, and I figured we don't
      care about these legacy functions enough to warrant the extra pain.
      
      @@
      identifier dev, crtc, primary, cursor, funcs;
      @@
       int drm_crtc_init_with_planes(struct drm_device *dev,
                                     struct drm_crtc *crtc,
                                     struct drm_plane *primary, struct drm_plane *cursor,
                                     const struct drm_crtc_funcs *funcs
      +                              ,const char *name, int DOTDOTDOT
                                     )
      { ... }
      
      @@
      identifier dev, crtc, primary, cursor, funcs;
      @@
       int drm_crtc_init_with_planes(struct drm_device *dev,
                                     struct drm_crtc *crtc,
                                     struct drm_plane *primary, struct drm_plane *cursor,
                                     const struct drm_crtc_funcs *funcs
      +                              ,const char *name, int DOTDOTDOT
                                     );
      
      @@
      expression E1, E2, E3, E4, E5;
      @@
       drm_crtc_init_with_planes(E1, E2, E3, E4, E5
      +                          ,NULL
                                 )
      
      v2: Split crtc and plane changes apart
          Pass NULL for no-name instead of ""
          Leave drm_crtc_init() alone
      v3: Add ', or NULL...' to @name kernel doc (Jani)
          Annotate the function with __printf() attribute (Jani)
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1449670771-2751-1-git-send-email-ville.syrjala@linux.intel.com
      f9882876
  2. 31 10月, 2015 1 次提交
    • T
      drm/tegra: dc: Request/free syncpoint at init/exit · 2bcdcbfa
      Thierry Reding 提交于
      syncpoints are resources provided by host1x and their lifetime is tied
      to the host1x device. They are not properly reference counted either, so
      removing the host1x device before any of its clients causes a use-after-
      free error. Adding proper reference counting would be a major enterprise
      so work around it for now by requesting and freeing the syncpoint at
      init and exit time, respectively. The host1x device is guaranteed to be
      around at this point.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      2bcdcbfa
  3. 08 9月, 2015 1 次提交
  4. 13 8月, 2015 9 次提交
  5. 27 7月, 2015 1 次提交
  6. 03 4月, 2015 6 次提交
  7. 05 3月, 2015 1 次提交
  8. 19 2月, 2015 3 次提交
  9. 27 1月, 2015 17 次提交