1. 29 1月, 2019 1 次提交
  2. 01 11月, 2018 1 次提交
  3. 27 9月, 2018 1 次提交
  4. 26 5月, 2018 1 次提交
  5. 08 12月, 2017 1 次提交
  6. 28 8月, 2017 1 次提交
  7. 29 7月, 2017 1 次提交
  8. 26 7月, 2017 1 次提交
  9. 23 6月, 2017 1 次提交
  10. 21 6月, 2017 1 次提交
  11. 02 6月, 2017 1 次提交
  12. 31 5月, 2017 1 次提交
  13. 16 3月, 2017 1 次提交
  14. 14 3月, 2017 1 次提交
  15. 28 2月, 2017 1 次提交
    • B
      drm/atmel-hlcdc: Simplify the HLCDC layer logic · 9a45d33c
      Boris Brezillon 提交于
      An HLCDC layers in Atmel's nomenclature is either a DRM plane or a 'Post
      Processing Layer' which can be used to output the results of the HLCDC
      composition in a memory buffer.
      
      atmel_hlcdc_layer.c was designed to be generic enough to be re-usable in
      both cases, but we're not exposing the post-processing layer yet, and
      even if we were, I'm not sure the code would provide the necessary tools
      to manipulate this kind of layer.
      
      Moreover, the code in atmel_hlcdc_{plane,layer}.c was designed before the
      atomic modesetting API, and was trying solve the
      check-setting/commit-if-ok/rollback-otherwise problem, which is now
      entirely solved by the existing core infrastructure.
      
      And finally, the code in atmel_hlcdc_layer.c is over-complicated compared
      to what we really need. This rework is a good excuse to simplify it. Note
      that this rework solves an existing resource leak (leading to a -EBUSY
      error) which I failed to clearly identify.
      Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: NEric Anholt <eric@anholt.net>
      Tested-by: NNicolas Ferre <nicolas.ferre@microchip.com>
      9a45d33c
  16. 08 2月, 2017 2 次提交
  17. 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
  18. 30 1月, 2017 1 次提交
  19. 02 11月, 2016 1 次提交
  20. 17 10月, 2016 1 次提交
  21. 22 9月, 2016 1 次提交
  22. 29 8月, 2016 1 次提交
  23. 22 6月, 2016 1 次提交
  24. 21 6月, 2016 1 次提交
  25. 10 6月, 2016 1 次提交
  26. 01 6月, 2016 1 次提交
  27. 20 4月, 2016 1 次提交
  28. 14 4月, 2016 4 次提交
  29. 29 3月, 2016 1 次提交
  30. 08 2月, 2016 1 次提交
  31. 15 12月, 2015 3 次提交
  32. 24 11月, 2015 1 次提交
  33. 07 10月, 2015 1 次提交
  34. 06 10月, 2015 1 次提交
    • T
      drm/irq: Use unsigned int pipe in public API · 88e72717
      Thierry Reding 提交于
      This continues the pattern started in commit cc1ef118 ("drm/irq:
      Make pipe unsigned and name consistent"). This is applied to the public
      APIs and driver callbacks, so pretty much all drivers need to be updated
      to match the new prototypes.
      
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Jianwei Wang <jianwei.wang.chn@gmail.com>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
      Cc: Vincent Abriou <vincent.abriou@st.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      88e72717