1. 02 11月, 2020 2 次提交
  2. 25 9月, 2020 1 次提交
  3. 23 9月, 2020 1 次提交
  4. 21 9月, 2020 1 次提交
  5. 08 9月, 2020 4 次提交
  6. 20 5月, 2020 1 次提交
  7. 17 7月, 2019 1 次提交
  8. 19 6月, 2019 1 次提交
  9. 04 4月, 2019 1 次提交
  10. 06 3月, 2019 3 次提交
  11. 24 1月, 2019 1 次提交
  12. 11 12月, 2018 1 次提交
  13. 16 11月, 2018 1 次提交
  14. 25 9月, 2018 1 次提交
    • N
      drm/vc4: Use drm_fbdev_generic_setup() · 233386d8
      Noralf Trønnes 提交于
      The CMA helper is already using the drm_fb_helper_generic_probe part of
      the generic fbdev emulation. This patch makes full use of the generic
      fbdev emulation by using its drm_client callbacks. This means that
      drm_mode_config_funcs->output_poll_changed and drm_driver->lastclose are
      now handled by the emulation code. Additionally fbdev unregister happens
      automatically on drm_dev_unregister().
      
      The drm_fbdev_generic_setup() call is put after drm_dev_register() in the
      driver. This is done to highlight the fact that fbdev emulation is an
      internal client that makes use of the driver, it is not part of the
      driver as such. If fbdev setup fails, an error is printed, but the driver
      succeeds probing.
      
      drm_fbdev_generic_setup() handles mode_config.num_connector being zero.
      In that case it retries fbdev setup on the next .output_poll_changed.
      
      Cc: Eric Anholt <eric@anholt.net>
      Signed-off-by: NNoralf Trønnes <noralf@tronnes.org>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NEric Anholt <eric@anholt.net>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180908134648.2582-19-noralf@tronnes.org
      233386d8
  15. 07 7月, 2018 2 次提交
  16. 24 4月, 2018 1 次提交
  17. 18 4月, 2018 1 次提交
  18. 06 3月, 2018 1 次提交
  19. 08 12月, 2017 1 次提交
  20. 17 8月, 2017 1 次提交
  21. 09 8月, 2017 2 次提交
  22. 26 7月, 2017 1 次提交
  23. 23 6月, 2017 3 次提交
  24. 16 6月, 2017 2 次提交
  25. 22 5月, 2017 1 次提交
  26. 09 5月, 2017 1 次提交
  27. 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
  28. 30 11月, 2016 1 次提交
  29. 17 10月, 2016 1 次提交