1. 20 6月, 2017 1 次提交
  2. 18 4月, 2017 1 次提交
  3. 15 4月, 2017 1 次提交
  4. 23 3月, 2017 1 次提交
  5. 02 3月, 2017 1 次提交
  6. 28 2月, 2017 1 次提交
  7. 08 2月, 2017 1 次提交
  8. 03 2月, 2017 1 次提交
    • G
      drm: Rely on mode_config data for fb_helper initialization · e4563f6b
      Gabriel Krisman Bertazi 提交于
      Instead of receiving the num_crts as a parameter, we can read it
      directly from the mode_config structure.  I audited the drivers that
      invoke this helper and I believe all of them initialize the mode_config
      struct accordingly, prior to calling the fb_helper.
      
      I used the following coccinelle hack to make this transformation, except
      for the function headers and comment updates.  The first and second
      rules are split because I couldn't find a way to remove the unused
      temporary variables at the same time I removed the parameter.
      
      // <smpl>
      @r@
      expression A,B,D,E;
      identifier C;
      @@
      (
      - drm_fb_helper_init(A,B,C,D)
      + drm_fb_helper_init(A,B,D)
      |
      - drm_fbdev_cma_init_with_funcs(A,B,C,D,E)
      + drm_fbdev_cma_init_with_funcs(A,B,D,E)
      |
      - drm_fbdev_cma_init(A,B,C,D)
      + drm_fbdev_cma_init(A,B,D)
      )
      
      @@
      expression A,B,C,D,E;
      @@
      (
      - drm_fb_helper_init(A,B,C,D)
      + drm_fb_helper_init(A,B,D)
      |
      - drm_fbdev_cma_init_with_funcs(A,B,C,D,E)
      + drm_fbdev_cma_init_with_funcs(A,B,D,E)
      |
      - drm_fbdev_cma_init(A,B,C,D)
      + drm_fbdev_cma_init(A,B,D)
      )
      
      @@
      identifier r.C;
      type T;
      expression V;
      @@
      - T C;
      <...
      when != C
      - C = V;
      ...>
      // </smpl>
      
      Changes since v1:
       - Rebased on top of the tip of drm-misc-next.
       - Remove mention to sti since a proper fix got merged.
      Suggested-by: NDaniel Vetter <daniel.vetter@intel.com>
      Signed-off-by: NGabriel Krisman Bertazi <krisman@collabora.co.uk>
      Reviewed-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170202162640.27261-1-krisman@collabora.co.uk
      e4563f6b
  9. 24 1月, 2017 1 次提交
  10. 12 1月, 2017 1 次提交
  11. 31 12月, 2016 2 次提交
  12. 30 12月, 2016 1 次提交
  13. 15 12月, 2016 5 次提交
  14. 14 11月, 2016 2 次提交
  15. 20 10月, 2016 1 次提交
  16. 18 10月, 2016 1 次提交
  17. 19 6月, 2016 1 次提交
  18. 13 6月, 2016 1 次提交
  19. 08 6月, 2016 1 次提交
  20. 04 6月, 2016 2 次提交
  21. 01 6月, 2016 1 次提交
  22. 17 5月, 2016 3 次提交
  23. 12 5月, 2016 1 次提交
  24. 02 5月, 2016 1 次提交
  25. 20 1月, 2016 1 次提交
  26. 15 1月, 2016 1 次提交
  27. 15 12月, 2015 1 次提交
  28. 24 11月, 2015 1 次提交
  29. 06 8月, 2015 1 次提交
  30. 22 7月, 2015 2 次提交