1. 29 8月, 2016 2 次提交
  2. 13 7月, 2016 6 次提交
  3. 30 5月, 2016 3 次提交
  4. 31 3月, 2016 5 次提交
  5. 01 3月, 2016 1 次提交
  6. 10 2月, 2016 1 次提交
  7. 11 12月, 2015 1 次提交
    • V
      drm: Pass 'name' to drm_universal_plane_init() · b0b3b795
      Ville Syrjälä 提交于
      Done with coccinelle for the most part. It choked on
      msm/mdp/mdp5/mdp5_plane.c like so:
      "BAD:!!!!!  enum drm_plane_type type;"
      No idea how to deal with that, so I just fixed that up
      by hand.
      
      Also 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_plane_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.
      
      @@
      typedef uint32_t;
      identifier dev, plane, possible_crtcs, funcs, formats, format_count, type;
      @@
       int drm_universal_plane_init(struct drm_device *dev,
                                    struct drm_plane *plane,
                                    unsigned long possible_crtcs,
                                    const struct drm_plane_funcs *funcs,
                                    const uint32_t *formats,
                                    unsigned int format_count,
                                    enum drm_plane_type type
      +                             ,const char *name, int DOTDOTDOT
                                    )
      { ... }
      
      @@
      identifier dev, plane, possible_crtcs, funcs, formats, format_count, type;
      @@
       int drm_universal_plane_init(struct drm_device *dev,
                                    struct drm_plane *plane,
                                    unsigned long possible_crtcs,
                                    const struct drm_plane_funcs *funcs,
                                    const uint32_t *formats,
                                    unsigned int format_count,
                                    enum drm_plane_type type
      +                             ,const char *name, int DOTDOTDOT
                                    );
      
      @@
      expression E1, E2, E3, E4, E5, E6, E7;
      @@
       drm_universal_plane_init(E1, E2, E3, E4, E5, E6, E7
      +                         ,NULL
                                )
      
      v2: Split crtc and plane changes apart
          Pass NUL for no-name instead of ""
          Leave drm_plane_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/1449670795-2853-1-git-send-email-ville.syrjala@linux.intel.com
      b0b3b795
  8. 19 11月, 2015 1 次提交
  9. 31 10月, 2015 3 次提交
  10. 31 3月, 2015 1 次提交
  11. 26 11月, 2014 1 次提交
    • P
      drm: imx: Move imx-drm driver out of staging · 6556f7f8
      Philipp Zabel 提交于
      The imx-drm driver was put into staging mostly for the following reasons,
      all of which have been addressed or superseded:
       - convert the irq driver to use linear irq domains
       - work out the device tree bindings, this lead to the common of_graph
         bindings being used
       - factor out common helper functions, this mostly resulted in the
         component framework and drm of_graph helpers.
      
      Before adding new fixes, and certainly before adding new features,
      move it into its proper place below drivers/gpu/drm.
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      6556f7f8
  12. 04 11月, 2014 4 次提交
  13. 24 9月, 2014 1 次提交
  14. 09 9月, 2014 1 次提交
    • R
      imx-drm: ipuv3-plane: fix ipu_plane_dpms() · 3a44a205
      Russell King 提交于
      When unbinding imx-drm, the following oops was observed:
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000004
      pgd = e995c000
      [00000004] *pgd=4fea5831
      Internal error: Oops: 817 [#1] SMP ARM
      Modules linked in: bnep rfcomm bluetooth nfsd exportfs hid_cypress brcmfmac brcmutil snd_soc_fsl_ssi snd_soc_fsl_spdif imx_pcm_fiq imx_pcm_dma snd_soc_sgtl5000 imx_sdma imx2_wdt imx_ldb(C) imx_thermal snd_soc_imx_sgtl5000 snd_soc_imx_spdif snd_soc_imx_audmux
      CPU: 1 PID: 779 Comm: bash Tainted: G         C    3.16.0-rc2+ #1230
      task: ea9eb180 ti: ea378000 task.ti: ea378000
      PC is at ipu_dp_put+0x10/0x18
      LR is at ipu_plane_dpms+0x60/0x8c
      pc : [<c0350d20>]    lr : [<c04bd9e8>]    psr: 200f0013
      sp : ea379d80  ip : ea379d90  fp : ea379d8c
      r10: 00100100  r9 : 00000000  r8 : 00200200
      r7 : e9ba0264  r6 : e9ba01f8  r5 : 00000000  r4 : ea34b800
      r3 : 00000000  r2 : 00000000  r1 : 0000009b  r0 : 00000000
      Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
      Control: 10c53c7d  Table: 3995c04a  DAC: 00000015
      Process bash (pid: 779, stack limit = 0xea378240)
      Stack: (0xea379d80 to 0xea37a000)
      ...
      Backtrace:
      [<c0350d10>] (ipu_dp_put) from [<c04bd9e8>] (ipu_plane_dpms+0x60/0x8c)
      [<c04bd988>] (ipu_plane_dpms) from [<c04bda40>] (ipu_disable_plane+0x2c/0x60)
      [<c04bda14>] (ipu_disable_plane) from [<c04bda9c>] (ipu_plane_destroy+0x28/0x60)
      [<c04bda74>] (ipu_plane_destroy) from [<c033ff84>] (drm_mode_config_cleanup+0x1b8/0x250)
      [<c033fdcc>] (drm_mode_config_cleanup) from [<c04bc234>] (imx_drm_driver_unload+0x44/0x4c)
      [<c04bc1f0>] (imx_drm_driver_unload) from [<c03394a4>] (drm_dev_unregister+0x2c/0xa0)
      [<c0339478>] (drm_dev_unregister) from [<c0339f8c>] (drm_put_dev+0x30/0x6c)
      [<c0339f5c>] (drm_put_dev) from [<c04bc1cc>] (imx_drm_unbind+0x14/0x18)
      [<c04bc1b8>] (imx_drm_unbind) from [<c03530b4>] (component_master_del+0xbc/0xd8)
      ...
      Code: e1a0c00d e92dd800 e24cb004 e3a03000 (e5c03004)
      
      This is caused by a missing check in ipu_plane_dpms for a NULL pointer.
      
      Fixes: b8d181e4 ("staging: drm/imx: add drm plane support")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3a44a205
  15. 18 8月, 2014 1 次提交
  16. 04 6月, 2014 1 次提交
  17. 26 4月, 2014 1 次提交
  18. 28 3月, 2014 1 次提交
  19. 28 2月, 2014 1 次提交
  20. 14 1月, 2014 3 次提交
  21. 12 10月, 2013 1 次提交